03-15-2007 03:27 AM
03-21-2007 08:30 AM
Hi Klaus,
What you will need is to build a pulsetrain generation on the counter card (6602) and use the generated pulse train as start trigger on your dataacquistion board (6132)!
For the pulse train generation you take the quadrature encoder signal as timebase and configure the low time of the pulse train with the number of samples, so the value of pulses from the quadrature encoder which should perform the start of the acquisition. E.g. after 5000 pulses you will receive a rising edge. This rising edge you can use as start trigger for your acquisition. You can hardwire the counter output from the pulse train generation to a PFI of the 6132 (e.g. 6602\ctr1_out to 6132\PFI0) , or via RTSI cable (better) if you are using PCI-Cards, or via the integreted RTSI if you are using PXI-Cards.
For more information about pulse train generation or analog input with external trigger please investigate the DAQmx example libraries or the DAQmx help!
BR, Christian