LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the best method to pass configurations to a real-time PXI system and to pass data to the host from the PXI?

My existing application is written in VB.NET with Measurement Studio.  I intend to give users the option of running the core functions of the software on a real-time PXI target using the existing project only as a means of interface between the user and the PXI.  This means rewriting the bulk of the work that the program does in CVI.  In order to do this, I'll need to load test configurations through the existing Windows based program, send them to the PXI, have the PXI build and start the test and then pump data back to the Windows PC.

 

What is the best method to do this?  Obviously, TCP/IP will work and I have already established that means for initial communication, but I want to move forward with the best option. 

 

Example:

 

Windows -> Load test cycle, DAQ configuration, etc.

Windows -> Send test cycle information to RT target (PXI)

PXI -> Receive test cell information

Windows -> Send DAQ configuration to PXI

PXI -> Receive DAQ configuration, build tasks, and start IO

Windows -> User presses Start button to start test, Start command sent to PXI

PXI -> Start command received - start the test and send data back to Windows at 1Hz

 

Thanks.

 

 

Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 1 of 3
(3,014 Views)

While thinking about this I thought of another idea for passing information.  The host program can FTP configurations to the RT system and then send a command to read the configuration from the RT disk.  This might be an easier method that parsing 100 channels and all of their parameters over TCP.  I'd still need to know the best way to send data back, however.  TCP would be fine for that.  I'm open for ideas.

Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 2 of 3
(3,003 Views)

Hi

 

TCP/IP is the best option to use since it is the fastest.

Sunaina K.
Product Marketing Manager for CompactRIO & TSN

Making the intangible, tangible
0 Kudos
Message 3 of 3
(2,983 Views)