LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linear encoder

Solved!
Go to solution

Hi Ivy-

 

You can, but if you only have the signal connected to one line then you will need to override the DAQmx default settings for those channels.

 

According to the Device Pinouts help (right-click option in MAX), these are the default terminals for the 9411:

 

terms

 

So, if you want to use CTR 0 for edge counting the counter source must be selected as the appropriate terminal.  If you want to use ctr1 for encoder measurements the same must be true.

 

So, as an example, if you are using ctr1 for encoder measurements then you should connect A, B, and Z/R to 6, 8, and 7, respectively.  Then, if you want to use ctr0 to count edges on the A input then you need to use a DAQmx Channel Property Node for Edge Counting to select the input terminal as PFI3 on your 9411, also known as pin 6.

 

Hopefully this makes sense.  Please check out the DAQmx Channel Property Node in LabVIEW and then let me know if you still have questions.

Tom W
National Instruments
Message 31 of 33
(953 Views)

Thank you so much, Wang.

 

Have a nice day!

0 Kudos
Message 32 of 33
(951 Views)

Sorry

 

Thank you so much, Tom.

 

have a nice day!

0 Kudos
Message 33 of 33
(950 Views)