Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use a serial port in CRIO-9004 for FPGA?

CRIO-9004 and FPGA module, downloading program RIO I/O module and control loading FPGA for remote systems by (host)program.
I just want to know How can I loading RS232 port in RIO-9004 like FPGA. so control in itself with RS232 interface.
What is a purpose a serial port in 9004?
0 Kudos
Message 1 of 2
(3,602 Views)

The VI running on the FPGA can't directly talk to the serial port like it can with cRIO I/O modules.  Rather, the serial port is intended to communicate with the Real-Time VI running on the 9002/9004.  It's also useful for debugging using serial redirect if the controller ever has problems booting up.  But for your purposes, it sounds like you will need to pass data back and forth between the RT VI and the FPGA VI using the Read/Write Control found on the block diagram under All Functions>>FPGA Interface>>"Read/Write Control". 

For examples of how this communication between RT VI and FPGA VI using the Read/Write Control is set-up, take a look at the shipping examples in LabVIEW under Help>>Find Examples, then browse to the folder Toolkits and Modules>>FPGA>>Fundamentals>>Synchronizing.  This should be a good starting point.

Hope this helps!
 
Regards,
 
Jeff M.
 
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,588 Views)