08-23-2012 03:49 AM
I hae a USB-6259 DAQ card. I want to record analog signals which stard with triggers. For each measurement, a train of 10 triggers start 10 recording.
I can use a codes like the one the Labview example Cont Acq&Graph Voltage-Ext Clk-Dig Start.vi
to read the recordings one by one using a loop. However, when the train speed is higher than 1 kHz, this method could skip triggers bacause of the low loop speed (1 ms?). So, I want to using the DAQms read.vi for once only when all the triggers have been done, ie, without a loop.
Is there such a method? If so, how much limitation of the buffer size?
08-30-2012 06:30 AM
Hello Ling Wang,
I would first like to go back to one of your requirements:
You described that you want to trigger 1 recording per 1 trigger.
Can you explain what you mean with "one recording"?
Is it one sample or multiple samples that you want to measure when the trigger occurs.
How familiar are you with DAQmx and data acquisition termininology?
Could it be that you want to use an external clock signal to measure one sample for each rising edge of the external clock?
08-30-2012 07:43 AM
Dear Therri,
Thanks
I have less experience in DAQmx, but lot in Gage cards ...
Actually, I already found somthing here. My M series DAQ card. Ideally, I should have chosen the X series cards, however, there are already M cards in the lab.
I also found a solution to do that with "retriggerable" counter to generate "programed" external clock for the AI. But it can directly be avoided using a proper card.
09-03-2012 02:21 AM
Hello Ling,
This could indeed be a good approach.
If any issues or questions pop up, then please let us know.