Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

VISA viWrite works but no viRead on USB

$
0
0

Hello all,

I have a custom USB device I normally use on Linux. For training I wanted to use it on XP with VISA. I conncet it, run the VISA driver wizard, create the driver, install it and launch my test program.

Writing to the card works fine, I can light up some LEDs on it.

Trying to read anything from the card fails (General protection error), it also fails from the the Visa test panel.

And taking a look at the attributes returns -1 for the IN_PIPE. What could be the cause of that ? Hardware problem ? Misconfiguration ? It works on Linux (but it's not a VISA driver, it uses libusb or libhid, I don't remember), so... ?


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>