Quote:
Originally Posted by robot.lords
What is this block? I can't find it in the palletes. (from your code, dana)
|
That block VI called In Range and Coerce and can be found in the Comparison palette. It takes in 2 values that set a range (in this case 1 and -1) and a third value to compare. The VI tests whether the value is i the range, then outputs a True/False of whether it was in the range or not (In Range) and a value forced into the range (Coerce).
What this means is that if you put something in larger than 1 you will get out 1, if you put something in between 1 and -1 it will pass through unchanged and if you put in something smaller than -1 you will get out -1.