04-04-2011 04:33 AM
Howdy Everyone,
I am currently working on a project that requires me to get the displacement of an incremental encoder with 2 channels A and B. I already have the counts for A but I still did not find any VI that calculates displacement. I am currently using a Wireless Data Aquistion System "WLS-9163" with NI-9215 module.
Any help would be really appreciated.
Thanks.
04-05-2011 02:25 PM
Hello UnkownStudent,
We do have VIs which measure the linear position, however they are only set up for counter measurements (See Measure Angular Position with DAQmx as an example) and will not work with the NI-9215 module because it is an Analog Input module. How are you currently measuring the counts for A?
Lynn
04-09-2011 11:21 AM
Thanks for replying. I am currently using the following code to measure A channel counts. I already tried and it is working properly for counting up and down.