01-27-2012 04:13 PM
sometimes i get a VI_ERROR_IO error on a viRead command, this doesnt happen on all the viReads.
If i disconnect/reconnect power to the device and resend the command, it usually work fine.
The device is connected via USB and the USB driver was created by the driver wizard.
Any ideas on what to check?
Tommy
01-30-2012 03:24 PM
The use of the driver wizard sounds like this might be a third party USB device. Some 3rd party devices handle their VISA configurations differently and as a result, may cause an error when configuring VISA settings using the VISA configure command. This article describes resolving this issue for third party usb devices. Let me know if this information is applicable
There is a second workaround that you may also want to try listed in the bottom of the article that involves removing the line "WriteTimeoutGranularity = 0" from the visaconf.ini file
Hope this helps,
Luke W