Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Buffered Data acquisition with trigger

hi,
 
i am trying to write code for buffered dataacquisition in Labview FPGA . i am having some problems.....
 
i need to check for a trigger and if there is a trigger, then do buffered analog acquisition for certain amount of time and then go back and check the status of the trigger line, and if there is no trigger for long-time, then set a time-out indicator.
 
for example: if i have a 20 ms period trigger signal with 1 ms on time, once i detect a trigger, i have to do the acquisition for 19 ms and then go back and check the trigger status.
 
i tried to use the code from ni.com for buffered acquisition and modify it, but when i try to include the code for triggering, it is not working properly.
 
also can you suggest a way to store the data in Realtime controller and then retreive the data. i am attaching the code which i have with this message
 
 
0 Kudos
Message 1 of 1
(3,546 Views)