archy
Member
Hi,
I have many thermocouple inputs linked to a min-max-avg block. If I allow a user to disable an input via a digital variable, the value goes to the default zero. In other words, a valid number. Same for the failsafe. Is there a way to get a sensor input's value taken out of a calculation when it goes disabled, warn or fail? In other control systems I'd generally find a way to pass an NaN or +inf or some invalid value that the calculation objects would ignore. As it is, these default sensor values get calculated into the min, max and avg of that block.
Any help is greatly appreciated!
archy
I have many thermocouple inputs linked to a min-max-avg block. If I allow a user to disable an input via a digital variable, the value goes to the default zero. In other words, a valid number. Same for the failsafe. Is there a way to get a sensor input's value taken out of a calculation when it goes disabled, warn or fail? In other control systems I'd generally find a way to pass an NaN or +inf or some invalid value that the calculation objects would ignore. As it is, these default sensor values get calculated into the min, max and avg of that block.
Any help is greatly appreciated!
archy