12-15-2012 02:35 PM
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!
Solved! Go to Solution.
12-17-2012 09:33 AM
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.
12-17-2012 06:00 PM
Thanks! I'll take a look at the example