![]() |
PSI Value for a Case Structure
I am used to C and C++ "if" statements, and I am wondering how I can plug the value of a digital input (connected to a pressure sensor) into a case statement so that our pneumatics compressor stops at 120psi.
Thank you, Will |
Re: PSI Value for a Case Structure
The WPI Robotics Library includes a compressor class which handles everything automatically.
To answer your question generally, the digital input vi gives you a boolean (true/false) value. You can wire that directly into a case structure. |
Re: PSI Value for a Case Structure
The case structure will also alloy you to connect an integer and you can type expressions in the case string such as ...
1 2,3 4..10 Default You can also wire a string and put in string based expressions. You can wire error wires, and of course, enumerations. Greg McKaskle |
Re: PSI Value for a Case Structure
Thank you very much!
This is the first time programming pneumatics, and I'm having a hard time with it since I'm pretty much just using LabView without ever really exploring it. Your help is immensely appreciated. :) |
| All times are GMT -5. The time now is 09:11. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi