LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple, simultanouos, asynchron acquisition

Hi
I'm using LV6.1 and want to do a programm for multiple, simultanouos acquisition. that means I have five similar processes with acquisition, saving and digital IO. and I want to let to run all five processes asynchronouos. one process can be in the saving loop while another can be in the acquisition loop while a third one is waiting for restart occurence.
how can I do this? of course I could do 5 similar indepent loops but isn't there any other way which doesn't need so much processor capacity.
thanks for your help.
any explample would be welcome.
0 Kudos
Message 1 of 2
(2,345 Views)
The big strategic choice is to decide which "event driving / processing"
level should care for which task. Levels available may be (lower to
higher / faster to heavier): acq card integrated (sync with onboard
clock/watchdog) / acq bus integrated (trigger lines...) / low level
driver / user process (diagram coded).
From what you say, it is hard to give an advice on how you should
structure the upper level (diagram processes) because it mostly has to
be optimized to manage the immediate lower processing level (which
again, may rely on quite different acquisition strategies).
Anyhow, if your are going to drive five tasks that are not, idealy,
synchronous, then having them coded in five parallel loops is a better
solution in terms of code clarity be
cause it makes the code closer to
the idea from which it is designed. What you get will just be closer to
what you want to see. Be sure that all sub-tasks are designed for
asynchronous operation.


oz
Yves a écrit:

>Hi
>I'm using LV6.1 and want to do a programm for multiple, simultanouos
>acquisition. that means I have five similar processes with
>acquisition, saving and digital IO. and I want to let to run all five
>processes asynchronouos. one process can be in the saving loop while
>another can be in the acquisition loop while a third one is waiting
>for restart occurence.
>how can I do this? of course I could do 5 similar indepent loops but
>isn't there any other way which doesn't need so much processor
>capacity.
>thanks for your help.
>any explample would be welcome.
>
>
0 Kudos
Message 2 of 2
(2,345 Views)