From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a program with daq and data analyzation

hello,

i hope to find some new ideas to solve my problems.
in my latest projects there are a few bad solutions. there are between 20 and 50 global variables and many parallel while loops.
the problem is to combine the daq, data analyzation and programm usage.
my idea is to use the programm when the daq runs and analyze the data. that are three parallel operations.
has anyone an idea how build this in structured code?

a schematic diagramm with the used synchronization tools would be enough.

thanks

markus
0 Kudos
Message 1 of 4
(2,128 Views)

i ask for one small clarification, are you having a single daq card to acquire from?

or are you talking about multiple DAQ cards in as many while loops?

0 Kudos
Message 2 of 4
(2,121 Views)
I've got an m-series card with 16 AI, 4AO and 48DIO.

markus
0 Kudos
Message 3 of 4
(2,118 Views)
In general, Notifiers should solve your problem.
 
take a look at this example VI (from labview examples)
 
It demonstrates the use of notifiers to synchronize data shared between parallel loops.
 
regards
 
0 Kudos
Message 4 of 4
(2,115 Views)