Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Serial Communication - Advanced Serial Write and Read

15 ratings | 3.07 out of 5
Print

Downloads

Filename: 202309.vi
Requirements: View

This example demonstrates basic and advanced serial features. It opens one VISA resource and configures one COM port. Advanced serial features such as buffer size, termination characters, and XON/XOFF flow control are set. It then performs a serial port read, a serial port write, or both based on the options (read or write) that the user selects on the front panel. If both are selected, the VI will first write data, then read data, and finally close the VISA session that is opened to the port. If a read is performed, this VI will wait until the specified number of bytes is received at the port. Only the number of bytes specified will be read.

To use this example in LabVIEW 6.1, please search for "Serial Communication for LabVIEW 6.1".

Requirements


Filename: 202309.vi

Software Requirements


Application Software: LabVIEW Full Development System 7.0
Language(s): LabVIEW

 
15 ratings | 3.07 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).