01-30-2012 01:11 AM
Hi,
I understand that this topic has been brought up a couple of times already but i read through the thread and found that it isnt identical to what i am facing. Please bear with me.
I need to run my DAQ card using my real time PXI module. To be exact, i am using the DAQ card to read some data from a third party device. From my control panel, i am able to see the data that is being send to the DAQ. However, i need to store these data too. I tried using the "open/create/replace file function" but found out that since the file will be saved into the PXI module (since the PC is now not running the VI), i am not able to retrieve the data back.
As such, may i know if i am able to save the data into my PC (the one that is showing the front panel waveform)? Please advise. Thank you.
01-30-2012 01:59 AM
Simple solution would be to use a shared variable in the RT and read the same variable in the host and store the data (But data transmission is not gaurentied) . Otherwise you can create a TCP/IP module through which you can transfer the data from the RT to the Host in regular intervals. For this you need to create a queue in the RT and the host seperately, then you will not loose any data. Read about the RT to host data transmission that will be available in the NI website itself.
01-30-2012 02:45 AM - edited 01-30-2012 02:47 AM
Hi Anand,
Thank you for your reply. I have created the shared variable but how do i actually store the data?
Also, if i take on the 2nd approach, i would need another PC (with labview) to store the data right? Or can i use the same IP address to loop back?