LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing FPGA target VI with a nomral VI for Remote controling

I am working on a CRIO 9012, and have developed/implemented a basic version of motor control on it. However, I want to now control the input variables of this execution via TCP.

 

Having looked around, I see that FPGA target vi does not allow for TCP communication within itself. How should I interface the FPGA target VI with a normal execution control/TCP based VI.

 

Being a beginer in LabView any help would be appreciated! 

0 Kudos
Message 1 of 2
(2,189 Views)
You are right that the FPGA Target itself does not support TCP/IP however, the cRIO controller does. What you can do is place your TCP code in a host VI on the controller and talk to your FPGA using an Open FPGA VI reference and read/write to the FPGA front panel controls/indicators using a Read/Write Control. Take a look in the Example Finder under CompactRIO, FPGA Fundamentals. There are plenty of examples on how set up your project. Let us know if you have questions.
National Instruments
Message 2 of 2
(2,164 Views)