LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read multiple DAQ data packet in one WHILE iteration

Hello,

 

I am looking for a solution to the following problem :

 

I am using a PXI-6132 to acquire an anlogue waveform, the DAQ is trigerred by the falling edge of an other analog waveform with the same theoritical frequency. What I would like to do is to acquire for example 30 samples after the trigger, then store this data in the on-board memory; then wait for the next falling edge (my trigger) to acquire another 30 samples batch and, after let say 5 acquisition events, transfer this data form the on-board memory to my host computer memory to be read by a classical "Read fonction" in one itération of my while loop. I tried a lot of solutions (for ex. by setting the on-board memory buffer size to 150 before entering the while loop) but the read function still reads only 30 samples in one iteration. Is it possible to find a solution with the classical : create channel, timing function, trigerring function then a read function in a while loop or do I need to use a more complicated structure ....

 

Thanks in advance for your help

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

Please post questions only once. This is a double post - see here

Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 Kudos
Message 2 of 2
(2,000 Views)