Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Coding Relay with Compressor (http://www.chiefdelphi.com/forums/showthread.php?t=82774)

billbo911 17-02-2010 01:26

Re: Coding Relay with Compressor
 
Quote:

Originally Posted by Alan Anderson (Post 921804)
Why are you defining an explicit relay for the compressor instead of using the Open Compressor vi? It's a lot less of a hassle to let the library code deal with reading the pressure switch and running the compressor as needed.

Why??
Because there is always more than one way to skin a cat.

Besides, my students now know the logic and coding a bit better than if they let a library do the work for them. I agree it is simpler to have the library do the work, but thinking your way through this process makes the learning that much richer. Additionally, troubleshooting the problems we ran into also made them dig a lot deeper into the code than if it just worked and they didn't know why.

Poke2201 17-02-2010 19:22

Re: Coding Relay with Compressor
 
Alright, Looking around on here, there seems to be one thing I didn't notice. We cant get a RSL on. Both of our Sidecars do not have RSL leds on or doing anythign at all. Also 2 out of 3 power lights are on, the 6v and Bat are on, but 5v isnt.

Joe Ross 17-02-2010 19:53

Re: Coding Relay with Compressor
 
Quote:

Originally Posted by Poke2201 (Post 922409)
Alright, Looking around on here, there seems to be one thing I didn't notice. We cant get a RSL on. Both of our Sidecars do not have RSL leds on or doing anythign at all. Also 2 out of 3 power lights are on, the 6v and Bat are on, but 5v isnt.

Disconnect everything from the digital sidecar (including the 37) pin cable, so that just the power cable is plugged in. If you still only have some of the power leds, there is a problem with the digital sidecar. If all power LEDs are on, add each cable one at a time and see which one causes the 5v power LED to go out.

Poke2201 17-02-2010 20:10

Re: Coding Relay with Compressor
 
I changed the wiring to the PD board, now everything is on, EXCEPT FOR THE RSL LED!!!!


Update: Got RSL led on, Now I gotta get the Relay to actually turn on. Should I upload pictures of my begin vi? And I deleted the Compressor being enabled by a joystick button. Do I need to use enable compressor for anything?

Greg McKaskle 18-02-2010 06:28

Re: Coding Relay with Compressor
 
By the way, if you are going to develop on the classmate and your hands aren't the right size, try connecting a USB keyboard. I like connecting a mouse as well.

Greg McKaskle

Mark McLeod 18-02-2010 10:06

Re: Coding Relay with Compressor
 
Quote:

Originally Posted by Poke2201 (Post 922443)
I changed the wiring to the PD board, now everything is on, EXCEPT FOR THE RSL LED!!!!


Update: Got RSL led on, Now I gotta get the Relay to actually turn on. Should I upload pictures of my begin vi? And I deleted the Compressor being enabled by a joystick button. Do I need to use enable compressor for anything?

What did you do to get the RSL back?

Just post the Begin.vi itself instead of a picture. It's easier to check that way. Ther's always something off the edge of the photo that can't be seen and should be.

You only need to use Compressor Start.

Compressor Enabled is only there to let you check if the compressor is on or not. It doesn't take any action. It's like getting the value of a button off a joystick Get.

umangv620 18-02-2010 18:11

Re: Coding Relay with Compressor
 
(kinda off topic)According to my knowledge, FIRST does not support windows 7 with LabView. But if it works for you, great!

Poke2201 18-02-2010 18:35

Re: Coding Relay with Compressor
 
Alright Ill post our code on it, I followed your examples in the begin.vi though

Poke2201 18-02-2010 19:25

Re: Coding Relay with Compressor
 
1 Attachment(s)
Begin vi.

Poke2201 19-02-2010 18:31

Re: Coding Relay with Compressor
 
Solenoid and compressor vi. doesn't work, watch dog times out too fast


All times are GMT -5. The time now is 22:02.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi