Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronize NI 9514 with NI 9401 for digital output

Solved!
Go to solution

Hi,

 

I need to write a code to trigger a laser for a PIV system. I'm using the NI 9514 with an AKD Drive to control a servo. I need to send a +5V signal to trigger the laser at a specific angle of rotation of the motor (This is repeated for every turn of the rotor). I also have the NI 9401 DIO. Any idea/example of how to do this will be much appreciate. I'm using the scan mode for the NI 9514, my system is a CRio 9022 with 9114 Chassis.

 

 

Thanks a lot!

0 Kudos
Message 1 of 3
(6,125 Views)
Solution
Accepted by topic author italo.franchini

I believe the Periodic Position Compare Example is what you are looking for. The description states that it "shows how to use the position compare output to generate an output signal at a regular period".

 

You can find it by going to Help >> Find Examples >> Hardware Input and Output >> Motion Control >> NI SoftMotion >> Properties and Methods >> Advanced.

Cameron T
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(6,109 Views)

Thanks!  I'll take a look at the example

 

 

0 Kudos
Message 3 of 3
(6,101 Views)