Example Code

Programmatically Changing Serial COM Properties Using LabWindows/CVI and NI-VISA

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabWindows/CVI

Code and Documents

Attachment

Description

This example program uses NI-VISA function calls to perform serial communication. Using NI-VISA, you can programmatically change the configuration settings of the serial port without having to close and reopen the serial port.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors