Jump to content

in tolerance


---
 Share

Recommended Posts

Having trouble using PCM getActual(mychar).inTolerance. It is returning false when both in tolerance and out of tolerance. Just try to find if a characteristic is out of tolerance and the set a variable base on it i.e.
if getActual(mychar).inTolerance == true then
myvar=1
else
myvar=2
end if
Link to comment
Share on other sites

found a way, but does not work if characteristic is masked and i need it to be masked. if i use getActual(mychar).toleranceState.asArray == "outOfTolerance" it works but not if it is masked. so back to drawing board
Link to comment
Share on other sites

Do you need it to be masked or do you just not want it on your PiWeb Report? You could "Mark" it so it is hidden from the PiWeb report if this is your only reason for masking
Link to comment
Share on other sites

 Share

×
×
  • Create New...