11-13-2007 12:59 PM
11-14-2007 11:52 AM
11-14-2007 12:12 PM
Yi Y,
The USB device is one of the instruments we manufacture. The USB driver is written so writing to the USB port is just like writing to a file. I use the binary read/write VI's to send and receive commands to this USB device. The filename I use is \\?\COM#. I am told by the USB driver creator that this is common for low level C. I have been using this VI for that last year and recently upgraged from 8.0 to 8.2 and it does not work. I run the same vi under 8.0 and it works fine. This is not a common way to communicate, so will probably not get an answer.
My next question is, is there any way to run an 8.0 dll or vi from an 8.2 executable?
Thanks
Hi dgtest1,
Which USB device you are using, and which driver are you using? I'm trying to figure out specifically how you are communicating with the USB device by writing a binary file and how was the binary file written. Could you please post more information to describe in more details about what your set up is doing?
Thanks!
Yi Y.
Applications Engineer
National Instruments
http://www.ni.com/support
11-15-2007 12:29 PM
11-15-2007 02:29 PM
I don't recall whether the change was made with LabView 8.0 or 8.2, but the file APIs have changed significantly with recent versions. Things to check:
To tell what is going on, write the same data to a file (not your usb device) with both LV 8.0 and 8.2. Use a compare tool like diff to find how the two files differ. Debug from there. (If files are the same, the problem is elsewhere.)
-Rob Calhoun
11-16-2007 04:14 PM
11-16-2007 04:48 PM
11-16-2007 08:41 PM
11-16-2007 08:56 PM
11-19-2007 09:36 AM
Rob,
The guy that wrote the USB driver was one of the original Microsoft USB programmers, so he knows all those hidden details. I have also been talking with another NI person that was going to ask the design group about this, so I'll post if I hear anything.
Thanks,
Don