I have a third-party USB serial device that I'm using in Linux. How do I control this interface using NI-VISA?
To use your third-party USB serial interface with NI-VISA in Linux, you will have to add it as a static resource using the NI-VISA configuration utility (visaconf). Visaconf installs with NI-VISA so you need to have NI-VISA installed. See the related link below for the most recent version of VISA for Linux.
Follow the steps below to set up your device:
Please note that Linux treats serial ports like files and you must have the appropriate permissions to read/write to the port.
Another work around would be to try adding a token to the visaconf file: WriteTimeoutGranularity = 0 under section [ASRL-RSRC-ALIAS].
Review the National Instruments Driver and Software Support for Linux Distributions, and note not all Linux distributions and versions are supported by National Instruments drivers. Consult the Readme file of each distribution to know more about the compatibility details.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful