04-16-2013 09:35 PM
Hello,
I am using a linear counter to count the edges from a vertical glass scale which I converted counts to distance. When I reach a given distance, trigger an AI channel to measure the voltage from a load cell which I converted voltage to Newton and then write the distance and Newton value to file. The problem I am having is I am manually moving a lever attached to the linear scale and because the steps are 10 micros apart, I get more than one trigger which gives me multiple AI voltage readings. I have tried the In range for the trigger. Is there a better way to do this?
Thanks
Joe N
04-18-2013 09:59 AM - last edited on 10-09-2024 09:28 PM by Content Cleaner
Hi joe_n1,
How many triggers are occurring for each step? How many unnecessary voltage samples are being made?
Is there a problem with receiving the extra AI voltage readings? Or are you simply curious as to if reading only one sample after the trigger is possible?
See if the links below offer any assistance:
"How to use digital input to trigger analog input acquisition?"
"Re: how to trigger from analog input channel"
"If you just want one sample each time you receive a trigger, you can monitor the trigger lines and start an analog input task for the specific channel that you receive a trigger for."