11-24-2005 03:03 PM - edited 11-24-2005 03:03 PM
Message Edited by Braco on 11-24-2005 03:06 PM
11-28-2005 01:53 PM
Hello Branimir,
The way I would recommend going about this is to continuously acquire using the internal clock from all four channels and monitor the trigger signal channel for the rising edge. When you detect that signal going above a certain level, then save or analyze the data from the other three channels. Discard the data that you do not need after it is collected.
Using the same method, you can also determine the time between edges of your trigger signal. Perhaps the best way to do it would be to utilize the fact that you are acquiring data with a defined time between samples and to count the number of samples that occur between edges. There are examples that install with the driver for VB6 that you may want to take a look at if you can at C:\Program Files\National Instruments\NI-DAQ\Examples\Visual Basic 6.0\Analog In. Pay particular attention to "Acq-Int Clk".
Hope this helps,
Laura
11-29-2005 12:58 PM
Hello Laura,
I think I will solve my problem with yours tips.
Thanks,
Branimir