From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-06-2011 05:31 AM
Hello everyone.
How can i send data from the realtime module to the pc?. I usually opened the FPGA interface, but there is some noice in the pc. I tried with a global var. There is any fast and secure way to do it?
12-06-2011 06:50 AM
Why do you need to open the FPGA interface?And what do you mean by "noice"?
You may choose to send data from RIO to PC using the following methods:
1. Shared Variables. Which was widely used for communication between PC and RIO and which, I don't think, is not the best practise.
2. Network streaming. "New" function from 2010. There're still may bugs in 2010 sp1. (I've never used it in 2011 version)
3. STM. The most essential way to transport data. But too complicated, especially if you just want to send a small data package.
12-06-2011 09:00 AM
Thank's for the quick reply.
In anserw to your question. When a use the FPGA palett from the PC, i can open a FPGA reference, and then read a FIFO memory which have data from the FPGA module. But It seems that i express me in the wrong way. What i need is a way to comunicate the the Realtiem module and the pc host.
1. Shared Variable. It doesn't work for me. If I had a fast application in the RT and a save something in a shared variable , when i read it from the pc, the value is too old and the signal is lost. I attached the vi for you to see ir. Open please the analog tap.
2. Network streaming. I don't have it. I use 2009 Professional Labview, and it can not be changed because the company which i work for has a full licence.
3. STM. Please send me an example or something. I have a big data package witch i have to send form the RT module to the pc, that include FFT and THD data from a signal, and also the signal values. I think that is a lot of data.
Hope someone help me..ja.
Gustavo
12-06-2011 09:16 AM
That is what I mean "not the best practise"!
Just try disable the FIFO or buffer or what ever may block the update of the shared variable.
You can find the Property of the shared variable by right clicking on it in the project window.
12-06-2011 11:11 AM
Wilburwu:
I tried that already. I used a method called "stop FIFO". You can see it inside the for loop in the program. But the problem remains.
I put in the zip file a VI called RT prueba. I there you can see the diferencia between the RT fasteness and the PC slowness witch i'm trying to solve.
Do you have an example of that other metod that you told me. Can it be made by sending data throw a TCP comunication,?. I wan't to delete all this shared variable. I don't like it, and the soft is big enough.
the password of the vi is Tenaris
12-06-2011 01:06 PM
12-07-2011 07:20 AM
Good info. I'll give it a shot