Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

Using Labview with the EV2300 and BQ80XRW.dll

$
0
0
Greetings all, I'm trying to replace VB6 test programs with Labview based test programs, but I'm having difficulty getting the software to communicate with the packs. I'm using Labview 8.5 for the time being, and I thought I had the right idea going for using the BQ80xRW.dll file that's already installed on my machines for the VB6 application. The only problem is I don't have the source code for the DLL, only the dll and ocx files in my win32 directory. Here's what I did: 1) Import activeX control to palette (bq80xRW.dll) 2) Place the bq80xRW activex control onto my VI 3) Place invoke nodes for the functions I want to test (GetFreeBoards --> OpenDevice --> ReadSMBWord) 4) Wire up the nodes with appropriate controls (integers, strings, etc) 5) Run the VI When I run the program while the USB module is connected, the GetFreeBoards node returns the following string: \\?\usb#vid_0451&pid_0035#5&1c93b2c6&0&2#{8eb0fa22-a67c-4a27-9913-df9ab307d886}, If I run the program without the USB module attached, the string is empty. No spaces, or characters at all. So the activeX control is doing something. It's just not doing what I want it to. And since I don't have the source code for the dll, I don't know why, and since I don't have the dll source code I can't check to see what's going wrong. Is there any available Labview code for the EV2300?

Viewing all articles
Browse latest Browse all 35901


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>