Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

wait until done

my application needs to generate and acquire data simultaneously using external trigger and external clock. For generation sesion 'wait until done' command  is used for sensing the external trigger. But it prevents to configure acquisition session as the command holds the control of the program. Please suggest a solution.

0 Kudos
Message 1 of 2
(4,430 Views)

It would really help us help you if you could supply some code.

 

But it sounds like you have everything in a single loop.  What you should probably do is have two loops, one for signal generation and a second for data acquisition.  That way, the acquisition loop can just keep acquiring the data independently of the generation loop.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(4,416 Views)