Chapter 2 Function Reference — GPCTR_Change_Parameter
NI-DAQ FRM for PC Compatibles 2-208
©
National Instruments Corporation
paramID = ND_OUTPUT_MODE
This value changes the output mode from default toggle (the output of the counter toggles on
each terminal count) to pulsed (the output of the counter makes a pulse on each terminal
count). The corresponding settings of paramValue are
ND_PULSE and ND_TOGGLE. Also,
you might need to enable your output pin with
Select_Signal.
paramID =
ND_OUTPUT_POLARITY
This paramID allows you to change the output polarity from default positive (the normal
state of the output is TTL low) to negative (the normal state of the output is TTL-high). The
corresponding settings of paramValue are
ND_POSITIVE and ND_NEGATIVE. Also, you
might need to enable your output pin with
Select_Signal.
Using This Function
This function lets you customize the counter for your application. You can use this function
after the
GPCTR_Set_Application function, and before GPCTR_Control function with
action =
ND_PREPARE or action = ND_PROGRAM. You can call this function as many times as
you need to.