LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How fast can shared variable update?

Hi,

 

     According to online documents shared variable engine update at 10ms or forced by flushing command. But  I tested the following two program and can not get the shared variable updated:

 

 

      Thanks fo rhelp!

 

      Tom

Download All
0 Kudos
Message 1 of 10
(3,892 Views)

Hi Tom,

 

What is the reason you're using shared variables?

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 2 of 10
(3,856 Views)

Hi,

 

     I used shared variable to transfer data between RT to host.

 

     Tom

0 Kudos
Message 3 of 10
(3,832 Views)

What is your application?  Why would you need to transfer NSV data from the RT to the PC so quickly?  If you need to capture a exact transcript of your RT waveforms (guaranteed not to drop any data points) then NSV's are not the best solution.  Use Network Streams or roll your own TCPIP transfer vi's.

0 Kudos
Message 4 of 10
(3,805 Views)

Hi,

 

     I don' use NSV to transfer large amount of data between RT and host. The actual application is as follows:

 

    

     nvs_test.png

 

      I also would like to test how fast the NSV update rate and how the flush vi works. I test two programs and did not match the number in the documents.

 

     

 

 

    Tom

0 Kudos
Message 5 of 10
(3,801 Views)

Hey Tom,

 

I just wanted to know what kind of system you were working on.  I.E. What version of LabVIEW you were using, what Operating System, etc....

 

Jake

Regards,
Jake G.
National Instruments
Applications Engineer
0 Kudos
Message 6 of 10
(3,770 Views)

Hi Jake,

 

    I used LabVIEW 2010 and Windows 7.

 

   Tom

0 Kudos
Message 7 of 10
(3,749 Views)

Can you post a link to the documents that you are using to get these numbers?

Applications Engineer
National Instruments
0 Kudos
Message 8 of 10
(3,717 Views)
0 Kudos
Message 9 of 10
(3,696 Views)

Hi,

 

    I forgot it has to be both directions. So delay longer than 20ms works.

 

   Tom

0 Kudos
Message 10 of 10
(3,695 Views)