Hello:
I am using an AT MIO 16 DE 10 card. I need to initialize a counter wiht this
instruction:
daqError = DelayedPulseGenConfig (device, strCounter, pulseDelay1,
pulseWidth1,
USE_INTERNAL_TIMEBASE,
START_COUNTING_ON_FALLING_EDGE,
NEGATIVE_POLARITY, &actualDelay1,
&actualpulseWidth1, &taskID);
Apparently the default for the counter is START_COUNTING_ON_RISING_EDGE, so
the very first time I run the program, upon reconfiguration od the card, a
small pulse is sent by the counter. This is causing me problems since I use
the counter to generate a single pulse to trigger o
ther stuff. IS there a
way to program the card so that the default upon power up is
START_COUNTING_ON_FALLING_EDGE?
Are the digital outputs also programmable so that upon power up they are
off? if not what state are theo on on power up?
Thanks
Lvilla