04-18-2017
08:27 AM
- last edited on
01-03-2025
04:34 PM
by
Content Cleaner
Has anyone been successful in getting any PXI-8431 variant working in Linux or would like to try?
Disregarding that nobody ever responded to https://forums.ni.com/t5/Linux-Users/PXI-8431-4-installation-on-Linux/gpm-p/3407591 from two and a half years ago, I would like to get the PXI-8431/2 working.
According to this document, RS-485 support is not ruled out:
USING PCI SERIAL WITH LINUX
https://www.ni.com/docs/en-US/bundle/322539a/resource/322539a.pdf
However, as in the post referenced, the PXI-8431/2 lists no I/O port addresses, only one memory range in region 0 via lspci. Has anyone uncovered any I/O port addresses?
I am using Ubuntu 14.04 with kernel 4.4.0-64-generic, as this is all that I am allowed to use in my work environment currently.
04-18-2017
05:48 PM
- last edited on
01-03-2025
04:34 PM
by
Content Cleaner
Hi JStern,
Have you seen this tutorial?
Instrument Control in Linux Tutorial
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YFvZCAW&l=en-US
It seems like the main limitation will be driver support, and as far as I know Ubuntu is unsupported. Have you been able to install NI Serial or NI VISA?
Regards,
Austin E.
04-19-2017
07:15 AM
- last edited on
01-03-2025
04:35 PM
by
Content Cleaner
So, NI-VISA 16.0 and DAQmx 15.0 are both installed, giving a VISA address to our DAQ card. The NI-Serial package for Linux (1.0, circa 1999) is identical to the package referenced in Using PCI Serial with Linux (also circa 1999), as I referenced in my original post: the included code only works if the serial device has an I/O port address already available in the operating system.
You are correct that the main limitation is driver support; this is why I ended up on the forum after several NI service requests.
You can see the Linux NI Serial code for yourself:
from Using PCI Serial with Linux
ftp://ftp.ni.com/support/serial/linux/
NI-Serial 1.0 - Linux
https://www.ni.com/en/support/downloads/drivers/download.ni-serial.html