LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

VI_ERROR_IO sometimes on viRead

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

0 Kudos
Message 1 of 2
(3,133 Views)

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

 

Error -1073807298 When Using a Third Party USB-Serial Adapter

 

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

0 Kudos
Message 2 of 2
(3,118 Views)