LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get trigger out of a file?

Hi, i'm building a data reader programm, now i have a raw data file with
several triggers stored in one channel and i want to extract the triggers (i
want to know how many are there and on what time they are high).

Anyone?

Best regards,
Thijs Boeree
0 Kudos
Message 1 of 2
(2,551 Views)
Thijs Boeree wrote in message
news:1001592016.837017@sphere.amc.uva.nl...
> Hi, i'm building a data reader programm, now i have a raw data file with
> several triggers stored in one channel and i want to extract the triggers
(i
> want to know how many are there and on what time they are high).
>
> Anyone?

Read your file line by line rather than the whole file at a time (there is
an optional Boolean input to one of the "read" functions for this). For each
line, parse it to find the trigger. If the trigger is true, add the line to
a buffer, if false do nothing. Trivial.

If you say more, I can say more. 🙂
0 Kudos
Message 2 of 2
(2,551 Views)