[Jo...] Posted January 31 Share Posted January 31 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 More sharing options...
[Jo...] Posted January 31 Author Share Posted January 31 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 More sharing options...
[Je...] Posted January 31 Share Posted January 31 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 More sharing options...
[Jo...] Posted February 1 Author Share Posted February 1 do not use piWeb. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in