Go to Post (i would watch out for those jag's if i were you) - Scott Bahl [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2012, 19:42
bradywilmer bradywilmer is offline
Registered User
FRC #2883
 
Join Date: Nov 2011
Location: Warroad
Posts: 3
bradywilmer is an unknown quantity at this point
Compressor Programming

We are having an issue getting our compressor to work with the pressure switch to our digital side car. We have an 8 slot cRIO with the 9403 in slot 2 connected to our digital side car by the DB37 cable. Our robot drives and relays operate so we are relatively sure the digital side car is functional. Our pressure switch is wired to SIG and negative on digital IO 1 on the digital side car. We've placed the compressor control loop in the Periodic Tasks.vi and in the begin .vi. We really could use an example of a successful compressor program. Thanks.

Team 2883
Reply With Quote
  #2   Spotlight this post!  
Unread 28-01-2012, 23:31
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: Compressor Programming

There should be an example showing both correct code and correct wiring. Look in the FRC examples.
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2012, 01:49
bradywilmer bradywilmer is offline
Registered User
FRC #2883
 
Join Date: Nov 2011
Location: Warroad
Posts: 3
bradywilmer is an unknown quantity at this point
Re: Compressor Programming

There has to be an easier way to do that. I made a successful compressor program with the last version of labview, but I haven't been able to do that with labview 2011.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2012, 04:24
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: Compressor Programming

Compressor's a little bit different to program this year. Well actually, the only noticeable difference is that you must include the Control Loop in periodic tasks. This VI must be outside of a loop, it has loops inside it.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2012, 10:54
bradywilmer bradywilmer is offline
Registered User
FRC #2883
 
Join Date: Nov 2011
Location: Warroad
Posts: 3
bradywilmer is an unknown quantity at this point
Re: Compressor Programming

Im pretty sure I have the programming right. Can someone explain how I should have it wired? Right now I have Digital Module 1(slot 2 of our 8 slot cRIO) connected to the digital side car. Relay 1 on the side car is connected to the spike relay. The spike relay is connected to the compressor and the power distribution board. DIO 1 on the side car is connected to the pressure switch which is connected to the compressor. Please let me know if any of this is wrong
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2012, 12:11
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Compressor Programming

Your wiring sounds correct.

Do the Relay LEDs on the Digital Sidecar (right in front of the Relay pins) come on at all?

You can test the DIO 1 input by substituting a regular switch on the sig/gnd pins. or just jumping the sig to gnd.
The Relay LEDs will be off or green depending on how the switch is thrown if the code is operating properly.
You can debug from there.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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