LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Slow performance to read/write shared variables programatically

We are using datasocket read and write functions to read and write shared variables programatically (in the same machine) but we only achieve a performance of aprox. 200 reads/writes per second. We are using Labview 8.6 with DSC.

 

Is possible to get better results? That performance is normal?

 

Any help would be appreciated. Thank you in advance.

Message 1 of 2
(2,759 Views)

Hi MMCDAT,

 

I think this value can be normal as you can see in this link:

 

http://zone.ni.com/devzone/cda/tut/p/id/5037

 

As you can see, the limit for datasocket depends on your Ethernet limitations, even if you as using it just in one PC:

 

http://digital.ni.com/public.nsf/websearch/6AC9E65734E53F9A8625672400637ECC?OpenDocument

 

You can improve the performance changing the update mode or Vis configurations:

 

http://digital.ni.com/public.nsf/allkb/F8F7DE98856B50588625672400648045?OpenDocument

 

http://digital.ni.com/public.nsf/allkb/2D9C6D73A160537986256B290076456E?OpenDocument

0 Kudos
Message 2 of 2
(2,700 Views)