Data taking. What should I do to make this work?

Attached are two simple examples of what I want to do.  I need to have two separate programs running on a computer that shares a ds connection and passing data back and forth.  The examples do not work because the programs more write data before the other ds have a chance to read.  I tried a couple of different mutations of the programs without result. I need to know what I should do to get the desired result.

Mike,

I'm not sure what you mean by, "programs will be compiled for global variables do not work." If you are referring to an executable application, you can create LabVIEW applications that host variables of network shared as VI in the development environment. As the development environment, the Distributed System Manager must be deployed to the target computer. Thus, the LabVIEW runtime engine.

Using the LabVIEW shared Variable
http://zone.NI.com/DevZone/CDA/tut/p/ID/4679

How can I deploy network static Variables from a compiled executable?
http://digital.NI.com/public.nsf/WebSearch/04D9A85B6967EE87862571140065EEC6?OpenDocument

Insofar as your second pair of example screws, the code looks OK; However, you open a taken reference Data inside a While loop in VI "Scan." I can recommend the initialization of reference outside of the loop, as you did with the Boolean value.

Thank you

PCorcs

Tags: NI Software

Similar Questions

Maybe you are looking for