12-15-2015 12:53 PM
I have a test set application written using LabWindows 2013 SP1 that sends data over a USB connection to a radar system. The application sends data using viWrite to a serial port connection on a radar system. This application worked fine on three of our old test set systems.
We recently bought new computers to develop more test sets. When I try running our program on the new systems, I'm finding that the data transmitted in the USB message send is being garbled. Random sections of the message are being overwritten with garbage.
The new systems have a different BIOS, but all the computers are running Windows 7 Ultimate or Enterprise service pack 1 (64-bit), all are Intel I7s, and all have the same LabWindows version.
Attached are lists of the software installed on one of the original systems (PLATE 3) and one of the new ones (PLATE 5). Is there anything installed that might be interfering with the USB message send? Or anything else that might cause this problem?
12-16-2015 03:55 PM
Hi richferrara,
The viWrite function simply calls the Windows SDK for serial communications. Could you try calling the Windows SDK through a different application (e.g. Visual Studio, Python, etc.) to see if the same behavior still occurs?
Otherwise what Operating System did you have on your old computers? Also, what kind of a message are you sending to the radar?
12-17-2015 12:24 AM
12-18-2015 07:22 AM
I appear to have found a fix for the problem. I changed the code to move the problematic USB message send to its own thread. Our test crew hasn't seen the errors appear since then.
We still don't know why this issue was only happening when running with the newer PCs.