From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-31-2014 10:58 AM
01-31-2014 11:05 AM
Darn, was hoping to not have to build anouther array of 32 channels min/max
01-31-2014 12:06 PM
One more question.
With the code i provided before. on the first iteration, i get the following error:
Error -200088 occurred at Property Node DAQmx Timing (arg 1) in DAQmx Timing (Sample Clock).vi:4730001->main.vi
Possible reason(s):
Task specified is invalid or does not exist.
01-31-2014 12:11 PM
01-31-2014 12:25 PM - edited 01-31-2014 12:31 PM
Opps, sorry
01-31-2014 12:49 PM
02-04-2014 04:13 PM
Hi Tesla,
In the Measurement and Automation Studio, you can click in the task you created and in the configuration tab. Then you can set the custom scale for each channel.
Regards,
William Fernandez
Applications Engineer
National Instruments
02-04-2014 04:19 PM
02-05-2014 05:46 AM
There are some clear errors in your code.
If you look at the probes, then probe 45 to 48 has not been executed.
All these probes are in the for loop. That means that you for loop has not run a single time.
As the Task tunnel coming in and the Task tunnel going out of the for loop is a normal tunnel, if the for loop does not run, the value on the Task out of the for loop will be a default value, namely an empty undefined task.
So what can make your for loop not to run?
You have 3 auto-indexed input to the for loop, if at least one of them is an empty array, the for loop will not run.
To prevent the loose of your Task if the for loop is not running, change the Task tunnels to use Shift Register. That will maintain the task value, even if the loop doesn't run.