RS-232 Interface Reference Example for LabVIEW FPGA
Overview
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.
Downloads
Filename: fpgaserialreadwrite_8.6.zip
Requirements: View
Filename: fpgaserialreadwrite_7.0.zip
Requirements: View
Filename: fpgaserialreadwrite_8.2.zip
Requirements: View
-
Requirements
Filename: fpgaserialreadwrite_8.6.zip
Software Requirements
Application Software: LabVIEW Professional Development System 8.6
Toolkits and Add-Ons: LabVIEW FPGA Module 8.6, LabVIEW Real-Time Module 8.6
Hardware Requirements
Hardware Group: CompactRIO, Reconfigurable I/O (RIO)
Hardware Model: PXI-7831R, PCI-7831R
Driver: NI-RIO 3.1
Software Requirements
Application Software: LabVIEW Professional Development System 7.0
Toolkits and Add-Ons: LabVIEW FPGA Module 1.0
Hardware Requirements
Hardware Group: Reconfigurable I/O (RIO)
Driver: NI-VISA 3.0, NI-RIO 1.0
Software Requirements
Application Software: LabVIEW Professional Development System 8.2
Toolkits and Add-Ons: LabVIEW FPGA Module 8.2
Hardware Requirements
Hardware Group: CompactRIO, Reconfigurable I/O (RIO)
Driver: NI-RIO 3.1, NI-VISA 4.5
Reader Comments | Submit a comment »
Is it possible to add more independents
serial ports in the FPGA?
- Aug 21, 2009
cRIO has RS-232 port
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.
- Brian Mann, BAE Systems. brian.mann@selex-sas.com - Oct 18, 2006
Data Written Indicator
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
- Mar 14, 2006
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/).
