03-08-2022 12:12 PM
Are there any examples for serial port communications under Linux using NI-VISA and C/C++?
I am trying to interface with a NI-8431/8 card (RS485/RS422)
Solved! Go to Solution.
03-11-2022 06:45 AM
NI VISA is platform independent. Provided you get NI VISA installed on your Linux box and can use the interactive control program to test that it works, there is really nothing special about creating a C program on Linux instead of Windows to access the VISA API. The source code as far as the VISA API is concerned is EXACTLY the same. So pretty much any command line C example that accesses VISA will be fine to refer to for your own work.
https://documentation.help/NI-VISA/SerialPortSupport.html
03-16-2022 10:30 AM
Thanks!
Any insights on this issue: https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/PCIe-8431-16-in-Linux/td-p/4160872