LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use of one Multichannel Device with multiply programs

Solved!
Go to solution

Hi,

I have two Labview DAQmx measurememt programs:

1. one channel with microphon

2. three or more channels with vibration sensors

 

Every program use the Labview vi's:

DAQmx Create Channel, DAQmx Start Task

    Loop with  DAQmx Read

DAQmx Clear

 

 

All is good working parallel in one system, if I use two measurement cards.

 

Now I have only one 8 channel card 4472.

I could use one channel for microphone, the other for the vibration sensors.

Of course with the same samplerate.

 

Is there an solution to capture the data from the one DAQ card from both programs?

 

 

If not, what is a good solution to solve this problem, without complete rewrite both programs to one program?

Possible a new DAQ measurement program to share the data to other programs at the same computer:

- with TCP Servers for every channel or

- with network shared variables or ?

 

 

Peter

 

 

 

 

 

0 Kudos
Message 1 of 2
(2,032 Views)
Solution
Accepted by topic author Peter_S

I think I have to modify the programs:

The multichannel with an option to send some channel data to a VI Server Network Queue, see good example    http://forums.ni.com/t5/LabVIEW/TCP-Listen-VI/m-p/1017592#M453829

 

The other to receive the data from this queue instead of the use of DAQmx.

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