11-09-2018 06:34 AM - edited 11-09-2018 06:40 AM
I used the .rpm file from http://www.ni.com/download/ni-linux-device-drivers-2018/7664/en/ , which link is updated on Oct.2018. I think this is the latest driver for centos. And I have a NI9191 which has a ethernet port.
When I use TCPIP:: SOCKET to connect to my NI9191, I can get attributes from it, But when I use viRead() function, it failed that says "operation failed due to I/o error". And there is no other than socket resource I can use, and I used SCPI commands such as "*IDN?\n", I can viWrite() but cannot viRead(). Two reasons maybe:
* NI9191 doesn't support SCPI? How can I assure this?
* The driver doesn't work, I need to install VISA 15.0 on centos?
11-14-2018 02:21 PM
The NI-9191 is meant to be used with the NI-DAQmx drivers and not by sending VISA commands.
Unfortunately, CompactDAQ devices aren't compatible with the DAQmx drivers for Linux.
Currently, I believe it will be impossible to use the NI-9191 from a Linux system.