From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-24-2020 08:44 AM
Hello,
Was anyone able to get the Serial ports enumeration on VISA resource name running on UBUNTU?
I know that NI-Serial is not supported but I hope someone was able to get it working on Ubuntu maybe from other rpm porting.
11-24-2020 02:25 PM
What serial port enumeration are you talking about? VISA doesn't have that, Linux has no trivial way of finding all the device entries that are serial devices.
VISA does an attempt at that when starting up but only can do so much about it. Whatever VISA can find you can then "enumerate' with VISA Find Resources.
If that is not enough you will have to enumerate the /dev/... devices yourself, simply possible with the File IO functions, then query attributes of each to try to find some that give a hint if it is a real serial port, or just a virtual console, or a myriad of other devices.
12-01-2020 07:22 AM
Thank you for your response,
The issue is in the ni-visa driver on UBUNTU. I can get the enumerated com ports on Windows using VISA resource name combo box. So yes, it is a trivial task on Windows. I am looking for the available com ports, not serial devices so my apology if my question confused you.
The problem is I am unable to install ni-visa as it is not supported in UBUNTU. I was looking for someone who was able to install it using any workaround.
12-01-2020 08:06 AM - edited 12-01-2020 08:11 AM
Have you seen this? https://www.ni.com/nl-nl/support/documentation/supplemental/18/downloading-and-installing-ni-driver-...
The 2020 download on this page contains the mentioned .deb package.
12-03-2020 06:54 AM
Hi @rolfk,
I already installed that:
The problem is the ni-visa is not included in the UBUNTU Debian package. I was looking for someone who may found a workaround to install ni-visa on Ubuntu.