03-31-2011 03:00 AM
Hi
I do have a scanner which is connected via USB Port (no converter used). For the communication with the PC a USB-Com port driver is installed. In LV I am using the visa serial lib to send commands to the scanner at the specified RS232 Com-port settings which works so far.
The problem I have is to decode the jpeg data stream coming from the scanner. With the same settings of the visa read.vi I get a data stream which is not correctly formated and I assume there is a mismatch or problem with the protocol or read visa.vi I am using. When I check the data coming from the scanner with an USB sniffer I see the correct data!
Question:
How do I read such data transfered via an USB-Com port driver with LabView? Can I use the visa read.vi therefore (visa write.vi is working)? Do I need to install a different driver first?
Thanks in advance
05-16-2011 11:04 AM
Did you try to use NI SPY to check the flow of information? Programs -> National Instruments -> NI SPY