here what what I need to do. I have 4 thermocouples they are channels 2,3,5,6. I need to be able to have the datataker decide when the temperature has leveled off on all of them. The way I would do this in a high level language would be to have 4 lists each 5 variables long.
Then each sample would be pushed on to the list and the oldest one dropped off. Then just do a comparison each time to see how far apart the highest and the lowest values are. When they are within half a degree I would set a variable to true. When all 4 variables are set true I would set an output to true.
Is there a way to do this with the "Command language" that we have access to in the datataker?
here what what I need to do. I have 4 thermocouples they are channels 2,3,5,6. I need to be able to have the datataker decide when the temperature has leveled off on all of them. The way I would do this in a high level language would be to have 4 lists each 5 variables long.
Then each sample would be pushed on to the list and the oldest one dropped off. Then just do a comparison each time to see how far apart the highest and the lowest values are. When they are within half a degree I would set a variable to true. When all 4 variables are set true I would set an output to true.
Is there a way to do this with the "Command language" that we have access to in the datataker?