Default Settings for Serial Ports Primary Software: Driver Software>>NI-VISAPrimary Software Version: 3.1 Primary Software Fixed Version: N/A Secondary Software: Utility Software>>NI Example Finder
Problem: If I call a VISA Open or viOpen on a serial port, what are the default settings? Are they loaded from Measurement & Automation Explorer (MAX) or the Operating System (OS)? Solution: You can load the port settings from either MAX or the OS. One of the parameters of VISA Open (in LabVIEW) and viOpen (in text-based languages) is a parameter called access mode. If you set access mode to 4, then the port settings will load from in MAX in Windows or from visaconf in Linux. If you set access mode to 0, then the port settings will load from the Device Manager in Windows or load the default serial settings for Linux. The default serial port settings are:
Note: The default setting in LabVIEW for the access mode is 0. Related Links: Manual: NI-VISA Programmer Reference Manual KnowledgeBase 2LC8I2IT: Troubleshooting Serial Communication in Linux Attachments:
Report Date: 09/10/2002 Last Updated: 12/06/2007 Document ID: 2P9818WH |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
