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

Driving a NI-USB device through VISA instead of NI-DAQmx

$
0
0

I am programming a rather complex instrument that will use different hardware devices (cameras, galvanometers, line cameras, light sources, motors, etc.), so there are different interface types involved.
I am skilled in ANSI C, and my design choice was to use the VISA library to access all of them, in order to abstract as much as possible the interface from the differences among the various hardware devices.

Of course (that's what you get when you enter a project already running), various interfaces are already established, and the one driving the galvanometers is just one of those. It is a NI USB-6001.

How nice: NI hardware and NI software! BUT it doesn't come with VISA compatibility out of the box: you have to create the driver yourself (OK, now I know how to do that...), and that's finally a done deal.

BUT (yes, again) it is NOT a USBTMC device (...), it is a RAW device!
And NI expressely tells that (roughly translating from Spanish from http://www.ni.com/tutorial/4478/es/) "Establishing communication with a RAW-class USB device is more complicated, as any device can use its own communication protocol. Contact with the provider of your device for details on your device communication protocol."

So, my question is: how do I contact with NI for this thing? Don't take me for a lazy guy: it is a few days that I am spinning round and round in the NI website just to make the USB-thing visible from VISA, and I should be programming, not surfing the web.

Is there some special support line or web-page where I can request this information?

Thank you all!


Viewing all articles
Browse latest Browse all 5625

Trending Articles



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