The programmer for my team left last yeear so i’ve been trying to learn labview
My question is that the current robot calls for multiple push button solenoid’s
I was wondering if someone could post how to do that and show some pictures that would be nice
What im looking for to sum up is
multiple push button digital output / solenoid
push button turns 1 motor
the magnetic digital input for the pneumatic
I’m really new to programming, so don’t really know much… I’m trying to figure out how to use the Solenoid example code in the basic cRIO code. Is that the pictures that you posted, or is that something else?
Yes, just add more of the same solenoid code for each new solenoid you want to add.
Repeat the Relay code for more Relays (Spikes). The Relay is treated a little differently than the solenoid, because Relays have 4 possible inputs - Forward/Reverse/On/Off and you need to use a case statement block to set those properly.
The magnetic reed switch gets connected to one of the Digital Sidecar inputs labeled Digital I/O. The same place that the pressure switch got connected and to the same signal/ground(1) pins, no power.
The pictures I posted are just my example of how to setup the compressor and use solenoids with the 2010 LabVIEW framework.
If you try to run a broken vi, LabVIEW will give you a list of the places that are broken. Selecting from the list will take you directly to the broken spot in the block diagram.
I see that the error is in teleop.vi, but I can’t see where it is.
You can tell by the broken arrow button in the top left of the window header. (The Begin.vi has a nice error-free solid arrow.)
Double-click on the error in the popup window as Alan recommended and it will take you to the problem and highlight it.