The NI-DAQ function reference help file says that calling ND_NONE is a valid value for the ND_GATE parameter in GPCTR_Change_Parameter, but if I do:
GPCTR_Change_Parameter(1, 0, ND_GATE, ND_DEFAULT_PFI_LINE);
GPCTR_Change_Parameter(1, 0, ND_GATE, ND_NONE);
the first function returns 0 and the second returns -10123 (invalid paramID used).
What is the proper way of disabling gating on a counter for which gating is currently enabled?