Versions Compared

Key

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

...

The Measuring VI code uses the reading of the valve position from the Response VI (which will be described later in this link), and uses that position to change the level in the "tank". 

Image AddedImage AddedImage AddedImage AddedImage AddedImage AddedImage AddedImage AddedImage Added 

Incoming File IO

...

Lastly, in the bottom left hand corner of the VI is the option to enable advanced controls for the PID loop. If this icon is selected, the PID gains table will appear to its right. The pid loop uses a PID controller and equation constants to run and maintain the level. Unless you have a deep understanding of these coeffecients and need to make edits to them to increase the VI's efficiency, do not try to change these values. If advanced controls are enabled, ..............   At the bottom there is the developer table which contains the stop bool and ................

 

 

Code

The entirety of the Response VI code is contained within a while loop, in which each iteration lasts 1 second and which can only be stopped by either an error in either VI (while they are running simultaneously) or if the VI is stopped with the use of the stop bool in the developer box.

 Image AddedImage AddedImage AddedImage AddedImage AddedImage Added

Incoming File IO

...