The basic call function sequence using VISA library functions is as follows:
viOpen() // For the serial port
viSetAttribute() // For each attribute you need such as baud rate, etc.
The viSetAttribute function is used to configure the COM port. For details on all Attributes able to be controlled programmatically, check out Chapter 3 of the NI-VISA Programmer Reference Manual .
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.