LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make displacement measurements using a linear encoder and NI-9401?

How do I make displacement measurements using a linear encoder and NI-9401?  I couldn't find any examples for a linear encoder.

 

Thanks in advance.

0 Kudos
Message 1 of 2
(2,863 Views)

Hi VI Joe,

 

I would recommend opening a LabVIEW shipping example that is extremely close to your desired application and then changing it.

 

For example, you can use the shipping example titled "Measure Angular Position.vi".

(Example Finder » Hardware Input and Output » DAQmx » Counter Measurements » Position » Measure Angular Position.vi) 

 

You can then change the measurement from Angular Encoder to Linear Encoder.  (See the attached image.)

 

I hope this helps,

Kevin S.

Applications Engineer

National Instruments

0 Kudos
Message 2 of 2
(2,842 Views)