Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

DAQmxSetCIEncoderAInputTerm arguments

$
0
0

I am trying to translate this .NET command to it's c equivalent:

 

myCounterTask->CIChannels[0]->EncoderAInputTerminal = "/Dev1/PFI0";

 

The c function would be:

 

DAQmxSetCIEncoderAInputTerm(myCounterTaskHandle, "/Dev1/PFI0", const char *data);

 

Except I have no idea what "data" refers to.  The .NET equivalent has no such argument and there is no obvious data associated with this operation beyond the channel name.  I tried looking it up in the NI documentation, but it is totally useless (just a copy and paste from the header file with no actual information):

http://zone.ni.com/reference/en-XX/help/370471AA-01/mxcprop/func219d/

 

Anyone used this function before and know what the last argument should be? 


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>