LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What function is used to read Angular Position form a Task?

Solved!
Go to solution

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!

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 1 of 4
(3,393 Views)

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 

0 Kudos
Message 2 of 4
(3,377 Views)
Solution
Accepted by topic author johnoc

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

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 3 of 4
(3,365 Views)
Solution
Accepted by topic author johnoc

Yes. 

 

Regards,

 

Izundu C. Obi-onuoha

Applications Engineer

National Instruments

ni.com/support

 

Message 4 of 4
(3,349 Views)