Serial Communication - Basic Serial Write and Read

Publish Date: Sep 06, 2006 | 34 Ratings | 3.65 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
2 Reviews | Submit your review

 - Feb 20, 2014

I have a problem in VISA serial is that when I am writing the strings in to the serial port I am not getting these strings in read buffer of VISA serial read.

 - Oct 25, 2007

good job

Bookmark & Share


Downloads

Attachments:

Basic_Serial_Write_and_Read.vi

Requirements


Ratings

Rate this document

Answered Your Question?
Yes No

Submit