Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

motor synchronise daq

Hello Everyone ,

          i am looking a solution for my problem :

 - A use AKD driver with Brushless motor

- NI motion 7344 : https://www.ni.com/en-us/support/model.pci-7344.html

- Ni DAQ - PCEI -6363 : https://www.ni.com/en-us/shop/model/pcie-6363.html

 

 

I use AKD with the NI motion to drive the motor and , i want measure at same time 4 analog input with PCEI

 I Use this  Capture.PNG

 

 

 

0 Kudos
Message 1 of 7
(4,788 Views)

Hi k-usa,

 

I would check out the periodic breakpoint example that ships with NI-Motion. You can find it under Hardware Input and Output » Motion Control » NI 73xx » Capture and Compare » Periodic Breakpoint Output.

 

This will output a digital signal on the 73xx that will match the encoder. You can then put a wire between this output and an input on your device. Finally, configure your DAQmx task to use the input on your 6363 as the sample clock. This will synchronize your measurements with your motor.

 

Regards,

Michael Bilyk

Applications Engineer

National Instruments

Michael Bilyk
Former NI Software Engineer (IT)
0 Kudos
Message 2 of 7
(4,692 Views)

Hi thank you for uou reply

         Now it  works , I also did some mistake whem I tried to manage the DAQ. 

 

 

I have anaother problem : who can I get the index of the encoder ?

 

I use this : but sometime i have error 70123 ?

 

Capture.PNG

How can I fixe it ?

0 Kudos
Message 3 of 7
(4,676 Views)

Where is the error occuring?

Michael Bilyk
Former NI Software Engineer (IT)
0 Kudos
Message 4 of 7
(4,649 Views)

At the end of execution of programm....

0 Kudos
Message 5 of 7
(4,603 Views)

Hi k-usa,

 

Could you probe the error wires on your VI to determine which function is causing the error?

 

Regards,

Michael Bilyk

Applications Engineer

National Instruments 

Michael Bilyk
Former NI Software Engineer (IT)
0 Kudos
Message 6 of 7
(4,600 Views)

It is Wait Reference.flx

0 Kudos
Message 7 of 7
(4,598 Views)