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
- last edited on
01-09-2025
08:31 PM
by
Content Cleaner
Hi viteo_sen,
If you want to create custom event, you can create user event.
https://www.ni.com/docs/en-US/bundle/labview/page/creating-custom-events.html
Regards.
01-13-2016
10:19 AM
- last edited on
01-09-2025
08:32 PM
by
Content Cleaner
You can use DAQmx Events, https://www.ni.com/en/support/documentation/supplemental/21/getting-started-with-daqmx-daqmx-events....
Look at Every N Samples Transferred From Buffer Event
This forum post will be helpful too: