|
Re: Trouble with spike and camera
Ok, sorry, but i dont know camera code very well, but i am an expert with solenoid code (it is very simple)
Your problem is that you need to control the solenoid through a relay (spike) or the pneumatics slot on your crio. there is an entire slot (9472) devoted to pneumatics, with a blue connector on top that on the side is labeled relay. Ill find a picture after i post this to help you out.
If you control it through a spike, then you are going to have to use relay in your code.
If you control it through solenoid (which is the 9472 slot) then it is your code, except you choose pneumatics board 1 in the other blue slot in the beginning. and your double solenoid needs to have a case structure. Ill make a code for you and post in here once i am done. It is a simple code, probably will take you 10 minutes since you already know where the solenoids are located.
|