LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared data collection process with multiple clients

I want to create a data collection program that runs in the background without a user interaction. This program will read data from a DAQ device periodically and retain the latest measurements in memory. I will then create and run multiple instances of a user interface program (client). These clients will read the data collected by the background program either by direct communication with the background program or by accessing memory where the background program stores the latest values. This will in effect enable multiple programs to access the same set of measurements from one DAQ device. If there's another way to accomplish this please recommend. Thanks!

0 Kudos
Message 1 of 2
(1,911 Views)

Does the user interface have to be a separate program?

You can program it as a part of the original program. Some parts run in the "background" without user interaction and at some point you can make it display some user interface.

Having separate programs brings data sharing issues. Otherwise they are all in the same program space and data can be available to all parts of the program.

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 2
(1,869 Views)