LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading multiple pulse in LabWindows

I am using LabWindows/CVI in my example. What I initially want my program to do is to take samples of each 100 points for 2048 times and then stop.
What I am doing right now is to set up 2 kind of pulses. One is the homeflag pulse, to indicate the start and the end of an acquisition. The second one is the A-pulse, which is the indicator for the board to take samples. So in one round, there will be two HomeFlag Pulses and 2048 A-Pulses. I am using multithreading so that the board continuously looks for the pulses in the background and when it finds the correct pulses, it will do the acquisition using interrupt service routine.
Here I attach my codes. I really need help with this...
If you need further information, feel f
ree to contact me at Agustina.Daniel@med.ge.com

Thanks everyone!!
Download All
0 Kudos
Message 1 of 2
(2,930 Views)
Hello;

You can use the HomeFlag as a digital start/stop trigger and the A-Pulse as the clock.

Use one counter on the board to generate a pulse train of 2048 pulses and use that as the clock for your acquisition. You can have your HomeFlag be a trigger to the counter.
Hope this helps.
Filipe
0 Kudos
Message 2 of 2
(2,930 Views)