01-13-2016 08:01 AM - edited 01-13-2016 08:02 AM
Hi.
Im using counter channel output with finite samples to control step motor driver. For example, I generate 2500 samples per channel and step motor rotates for 2500 steps.
Now i want it to generate events (that will start analog measurments) while step motor is rotating. For example, every 200 samples i want event structure to start data aquisition subVI in parallel thread without stopping the motor.
how can i reach my aim? please help. thank you.
p.s. im using NI-6251 and NI USB-6366
01-13-2016 09:01 AM
Hi viteo_sen,
If you want to create custom event, you can create user event.
http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/creating_user_events/
Regards.
01-13-2016 10:19 AM
You can use DAQmx Events, http://www.ni.com/tutorial/5384/en/#toc3
Look at Every N Samples Transferred From Buffer Event
This forum post will be helpful too: