I am sorry for posting a software programming question in a hardware forum but either there isn't an appropriate forum for my question or it takes more than a 35-year software engineering experience, with two Master of Science degrees qualification to find it.
My question is about the DAQmx "C" programming language reference for accessing a counter/timer property, and more specifically, any information about the function DAQmxGetCIEncoderZIndexEnable. The only information in the help files and online is the function declaration:
int32 __CFUNC DAQmxGetCIEncoderZIndexEnable(TaskHandle taskHandle, const char channel[], bool32 *data);
and it states its purpose as "getting the value of the property". Nothing more. While for anyone who has used the DAQmx C library it would be obvious what "taskHandle" means and that "data" is the value of the property, it is by no means clear what the "channel" string designates. There is no hardware channel name that would be assigned to the Z index, and I don't think it would make sense to call for the name of an input terminal (PFI).
I don't use LabVIEW anymore and I can't drill through the respective VI, and I don't feel like spending hours trying to reverse-engineer the functionality, so I hope someone who has dealt with encoder indices might have an insight as to what that parameter might be. Thank you in advance.
Kamen