time trigger

Post your C and C++ discussions here
Post Reply
Posts: 0
Joined: Wed Dec 15, 2010 6:13 pm

time trigger

Post by fernandoluiz »

i have a gui program in language C, and i have a problem
sometimes the user select a trigger higher that the value of signal and my program does'nt responds.i would like to know if its possible verify the trigger and if its higher that the signal the program does'nt collect data or collect 0 values

Site Admin
Site Admin
Posts: 169
Joined: Tue Aug 17, 2010 9:00 am
Location: St. Neots

Re: time trigger

Post by Chris »

If using block mode, your application won't collect data until the device has triggered (If the trigger has been set)

You will know what value you have set the trigger at, but won't know what voltage levels are being sampled.

The application will be waiting for the callback to set the g_ready flag to show that data is available.

You can decide what to do if the trigger doesn't occur.

If using streaming mode, you will know what value you have set the trigger at, and will be able to collect data. The callback will set the triggered parameter to show if the trigger occurs.

You can monitor the received signal, and decide what to do.

Post Reply