RS-232 Interface Reference Example for LabVIEW FPGA

Publish Date: Mar 08, 2010 | 21 Ratings | 3.57 out of 5 | Print | 10 Customer Reviews | Submit your review


This RS-232 example page contains three attachments of code (attachments not described in order of attachment but in order of creation). The original attachment is fpgaserialreadwrite_7.0. It is a simple implementation of a RS-232 interface using LabVIEW FPGA 1.0 (LabVIEW 7.0). It has separate examples for serial reads and for serial writes. This code was updated to the attachment fpgaserialreadwrite_8.2 to incorporate the LabVIEW Project. The latest attachment is fpgaserialreadwrite_8.6. This is an update to the previous two attachments. It adds in features like DMA and IO constants that weren't available in LabVIEW FPGA 1.0. It also combines the previously separate serial read and serial write examples into a single example program.


Back to Top

Customer Reviews
10 Reviews | Submit your review

Compile Error -61496 Missing 'NumberofSyncRegistersForRead property  - Apr 13, 2015

Would love to use this on my sbRIO-9651 SOM, but get this error, even after porting the code to the SOM from a clean project. I could be this example is old. Any help is appreciated.

cRIO 9401 rs232 communication  - Aug 18, 2014

Can any one help me to implement this code with Compact RIO 9068 and NI 9401 DIO module

use with cRIO-9022 and NI-9870  - Jul 15, 2013

I am trying to transfer this code over to be used with the cRIO-9022 along with 9118 chassis and NI9870 module. Was anyone able to figure it out since the earlier comment says that it does not work for this setup. Any help will be greatly appreciated.

  - Feb 2, 2012

does not work with 9024 and 9870 useless

  - May 11, 2011

how can I implement this to Compact RIO with module 9401? any suggestion will be very appreciated: ]

Helped getting started  - Feb 24, 2011

First, who the heck chose to make the have a pink icon...? Doesn't seem to be an NI standard;) Good documentation and it works well, perhaps not the best coding style (messy, expansive). Still this got me up and running as a reference. Thanks!

Specifications  - Jan 7, 2011

What is the maximum baud rate that this serial port implementation can handle?

  - Aug 21, 2009

Is it possible to add more independents serial ports in the FPGA?

cRIO has RS-232 port  - Oct 18, 2006

CompactRIO has a RS-232 port, I would imagine you can use the VISA drivers running on the RT processor to communicate using RS-232, this would solve the voltage level problem.

Data Written Indicator  - Mar 14, 2006

hi, the data written indicator is by default flase, so how will the data characters be written into the FPGA memory as the case will always be flase?... Any answers

View more reviews

Bookmark & Share



FPGA Serial Read Write_8.6 Upd


FPGA Serial Read Write_8.2


FPGA Serial Read Write_7.0



Rate this document

Answered Your Question?
Yes No