protocol Posted April 6, 2010 Report Share Posted April 6, 2010 Hi, all! Here's the story... I've made a network share variable (NI-PSP) that has update rate higher than 300Hz. I've enabled server side buffering and implemented buffered read using DataSocket (since NV does not support buffered reads) in VI, added some additional code to verify if there are any packet losses. None... very nice (especially since I need only 10Hz update rate) However, I need to write a client that is not LabView VI. Is there a way to implement/use DataSocket API (and set BufferMaxPacket property) outside VI and monitor NI-PSP variables, i.e. an external C++ (not only C#) application using NI libraries. Does Measurement Studio support this? I use LV2009. Thanks. Quote Link to comment
MikaelH Posted April 6, 2010 Report Share Posted April 6, 2010 Hi I haven't tried it in a C# application but it should work just fine. It should be included in Measurement Studio. I did use the DataSocket Active-X component straight in a web-page a while ago and that worked great. Of cause I had to allow to run an Active-X items in the browser. I also added a NI-Graph component on the web page and the Data Socket updated the graph every time a value was received. At that time (2000), it was impressive to see a web page updating in real time. Cheers, Mikael Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.