Hello All,
We’ve been having some problems with the compressor vi’s. We’ve followed the solenoid with compressor example and
are trying to do pretty much the same thing.
We are putting the Compressor Open.vi in BEGIN and assigning a refnum to it. Then in Teleop.vi we do refnum get
and inside the execute loop we have the refnum get wired to compressor start and compressor enable. We’ve changed
around where we put the start and enable vi’s- whether to go inside the loop or if they only need to be called
once.
When we look into the block diagrams of the open vi, it seems that this is where all the inputs get read, logic is
processed, and outputs set. The other compressor vi’s seem only to do monitoring and fifo stuff which we don’t
mess with. In the example, the compressor Open.vi is not in the loop and the only vi’s in the loop seem to change
the monitoring feedbacks.
Where should I put the compressor Open.vi? Where are the other vi’s supposed to go? DO WE NEED the other vi’s?
The programming manual says ‘After you open a reference to a compressor, you can use the start and stop vi’s…’
but the block diagrams for the start and enable vi’s don’t have anything to do with reading DIO get or relay SET.
In the Dashboard I can see the IO channel change state when I short together wires (for a long time) simulating
the contact closure/opening of the pressure switch. Just outputs never get set - the relay LEDs on the sidecar
don’t light, spike relay doesn’t change colors, and in hilight execution it doesn’t show the action taking place
within the compressor open.vi
We ran the simple relay example successfully and our solenoids are working elsewhere in the program.
any help is greatly appreciated!!
Team 1268 WHS Purgolders