Serial Communication - Basic Serial Write and Read

Publish Date: Sep 06, 2006 | 30 Ratings | 3.87 out of 5 | 2 Customer Reviews | Submit your review
This example demonstrates basic serial features. This example opens one VISA resource and configures one COM port. 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"

Back to Top

Customer Reviews

Bookmark & Share

Downloads

Attachments:

Basic_Serial_Write_and_Read.vi

Requirements

Ratings

Rate this document

Answered Your Question?
Yes No

Submit