06-25-2012 11:04 AM
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.
06-26-2012 09:05 AM
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.
06-26-2012 05:59 PM
Hi
TCP/IP is the best option to use since it is the fastest.