06-02-2008 05:14 PM
06-03-2008 12:40 PM
Hi Grmn,
Welcome to the NI forums. I believe a pause trigger is what you are looking for. This is a trigger that, when high/low (depending on what you set), will pause acquisition until the level is changed. There are two functions which need to be set to do this with a 6533 – DAQmxSetDigLvlPauseTrigSrc and DAQmxSetDigLvlPauseTrigWhen. You can find these, and other C functions, in the DAQmx C Reference Help (Start >> Programs >> National Instruments >> NI-DAQ). Typically the trigger type needs to be set, but since the 6533 is purely digital, this is not needed. An appropriate place to set these functions would be just after configuring the clock.
One note about using the pause trigger: This will require
a PFI line as an input, not a digital line. You can see from the 6533 pintout
(attached) that these are different lines. Hope this helps you out!