Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Read simultaneously NI-9516 both Encoders

Solved!
Go to solution

 

Hi,

 

I'd like to use a NI-9516 module to read both encoders ("Encoder 0" and "Encoder 1") simultaneously.

 

- In SCAN mode, there is the "Read encoder" Axis method, but this method only read one encoder position, and not both, am I right (see "NI-9516_SCAN_ReadEncoder_Method.jpg")?

  Is there a method in "SCAN mode" to read simultaneously both encoders connected to NI-9516 modules ?

 

Otherwise, I can use NI-9516 module in FPGA mode:

- I don't want to use NI-9516 in FPGA mode, but I saw "Read" FPGA method which seems to allow simultaneous reading of both encoders, Is it right (see "NI-9516_FPGA_Read_Method.jpg")?

 

 
Thanks for your answer.

 

Christophe B.
0 Kudos
Message 1 of 3
(4,170 Views)
Solution
Accepted by topic author Microtec
08-27-2015 04:09 PM

hello,

The methode to use both encoders is :

1. ) Use property node to set the Index

2. ) Read that encoder with method

3. ) Use property node to reset index

4. ) Read second encoder with method

bothencoders.png

Regards

 

Samuel G. | System Architect / Business Developer

Certified LabVIEW Architect

Certified TestStand Developer
DAM


Été de LabVIEW 2014

12 présentations en ligne, du 30 juin au 18 juillet


Message 2 of 3
(4,136 Views)

Hi Samuel,

 

 

Thank you for your help.

 

 

Best Regards,

Christophe B.

0 Kudos
Message 3 of 3
(4,123 Views)