Quote:
Originally Posted by yogiyogi
There are no LED's in the DSC at any time(in the relay area.)
BTW, Our compressor is not connected to any tube or pressure switch or nothing, It should still work right?(It works when we plug it directly to a batterty)
|
If you don't have your pressure sensor connected (electrically), it will not run.
The pressure switch is a normally closed switch, meaning, in a normal state, it will close (make a connection) to both sides of the switch, causing current to flow from one side of the pressure switch to the other. Because of this, you must have it plugged into the DSC in order to work.
If you do not have any LEDs on your turning on in the relay area, that means you most likely have a software issue.
Can you post your code? Include the begin code, and wherever you're switching the compressor on.
If you want to debug your code, make sure you're using the same reference name throughout your code. Compressor and Compresor are not the same, also Compressor and compressor are not the same. The reference name is case and spelling sensitive. If they are not
EXACTLY the same, it won't work.
If you're using the compressor start block, you have to use the compressor start VI to enable the compressor. You cannot use the Open Compressor and then use the Relay Set function.
So yea... if you're still stuck, post some code up and let us have a look. As a hint, you can use Snipping Tool in Windows Vista, 7, and I think 8. You can also just 'copy' your code (Ctrl + C) and paste it into Paint to copy just the code you want to share. You can select multiple items in LabVIEW by holding down the Shift Key and Left Clicking your mouse button, or Click-n-dragging a selector to the code you want to select. Be sure to select the wires as well... it's hard to debug if you don't have wires in your screen shots.