10-22-2012 11:45 AM
I have created a DAQmx task in MAX. This task configures a counter on a PCI-6259 to take the A and B counts from an encoder and give the Angular Position. What function do I use to read the value since I am no longer reading counts I am reading the position?
Thank you in advance for any advice!
Solved! Go to Solution.
10-23-2012 05:03 PM
Hello John OC,
Are you looking for a function in LabWindows/CVI which takes the place of the task in Measurement and Automation Explorer? If you are the function is the DAQmxCreateCIAngEncoderChan with more information on this page, http://zone.ni.com/reference/en-XX/help/370471W-01/daqmxcfunc/daqmxcreateciangencoderchan/.
Regards,
Izzy O.
Applications Engineer
National Instruments
10-24-2012 08:21 AM
Hi Izzy,
I have Created the task in MAX. The task takes input into the counter from an encoder and converts it to angular position. Do I still use the DAQmxReadCounterF64 function to read the counter? I am guessing that I do and that the function returns the angular position rather than the raw counts. Not sure though.
Thanks for taking the time to respond.
Regards-
John O'C
10-25-2012 05:22 PM
Yes.
Regards,
Izundu C. Obi-onuoha
Applications Engineer
National Instruments
ni.com/support