Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  •  this VI is nearly identical to the other sanitizing VI, except this one ensures that a position is never written that defies the limits of operation of the valve as a mechanical device (for the valve in our lab, the min and max positions are, respectively, 0 and 3 turns, which in the VI are immediately converted into steps).
  • The input is still collected in steps and the sanitized input is still returned in steps, but in a value that is able to be read into the motor controlling the valve without breaking it.

 

Manual Mode

 

In manual mode, the user has the option to change the valve position manually.

 

 

 

 

 

Automatic Mode

 

In automatic mode, the VI reads the level and, from it, produces a new valve position to bring the level closer to the target level.

 

Creating the Proportional-Integral-Derivative (PID) Response

...