06-16-2011 05:25 PM
If my system does not receive any data within a ~10 second span, it begins spitting out values of 0 into the histograms. I have already removed the error messages so that the system does not stop entirely. I want to system to wait indefinitely for a data point ... is there a variable that sets this time limit for triggers? I'm using ni-scope VIs for the DAQ process.
Solved! Go to Solution.
06-16-2011 06:27 PM
Is it possible to post your code so we can look at it? Its hard to tell what is wrong when you give so little to go on.
06-16-2011 06:30 PM
Ya, I'll post it tomorrow when I'm back in the lab.
06-20-2011 04:24 PM
Here is the VI.
06-21-2011 08:17 PM
Hello bbentelin,
Could you tell us what daq device you are using? As well as more information about your application? You mentioned in your first post you are using NI-Scope for DAQ device, do you have a Multifunction DAQ device or NI Scope device?
Regards,
Jignesh
06-23-2011 11:37 AM
Look at the context help for the function niScope Multi Read Cluster.vi, then look at the description for the Timeout terminal. It says to use a value of -1 to wait for an infinite amount of time for data input. If you create a constant on the terminal, you will see that the default is 5 seconds. That is why you are getting values of 0 even though there is no input. But setting the timeout to -1, your problem should be solved.
Bon Chance!
06-23-2011 02:37 PM
Merveilleux! Merci Beaucoup!