Go to Post If you aren't sure, Q&A. Now. - EricH [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 02-02-2009, 22:39
program1's Avatar
program1 program1 is offline
Registered User
AKA: RJ
FRC #2441
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryknoll
Posts: 43
program1 will become famous soon enough
Run works but build&deploy doesn't

we got drive code to work and everything, then we added in the compressor and a single solenoid.

when we use the "temporary" run function, the compressor turns on and we can make the actuator go.

when we use the build & deploy, then reboot, then enable, only our motors work, but our compressor and solenoid doesnt work!


are we missing a step somewhere?
__________________
ok, who ate my hot pocket?
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2009, 22:41
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Run works but build&deploy doesn't

Be sure to mark as Run at startup, otherwise your code is deployed waiting for something to call it. Personally I wish we'd been able to make it fewer steps or simpler for FRC, but you are almost there.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2009, 20:21
program1's Avatar
program1 program1 is offline
Registered User
AKA: RJ
FRC #2441
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryknoll
Posts: 43
program1 will become famous soon enough
Re: Run works but build&deploy doesn't

Yes, we are building, then running as startup. then, only our motors work...the compressor and solenoid do not turn on....
but when we try again with the temporary run, everything works!

-note: we get this message right after we press run as startup:



we then press ok anyways and then proceed with loading on the code. but then, all the buttons get swithced up !
__________________
ok, who ate my hot pocket?

Last edited by program1 : 03-02-2009 at 22:09.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2009, 22:32
program1's Avatar
program1 program1 is offline
Registered User
AKA: RJ
FRC #2441
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryknoll
Posts: 43
program1 will become famous soon enough
Re: Run works but build&deploy doesn't

update: we proceed with building and running as start up...

our motors work, our compressor works, and one solenoid works (but the joystick button gets changed to something else!), and our other solenoid doesnt respond at all.

---when we just use the temporary run deploy, our motors, compressor, and both solenoids works perfectly, though!!!

(note, our second solenoid is a smc double solenoid.....we treated this just as two separate single solenoids, putting one on solenoid channel2 and the other on 3........again, everything works using run, but we get problems when we use build and run as startup)...
__________________
ok, who ate my hot pocket?

Last edited by program1 : 03-02-2009 at 23:47.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
LabVIEW Woes: Build/Deploy time too long?! leftylink NI LabVIEW 7 27-01-2009 21:52
Cam works but RC won't LightWaves1636 Programming 9 03-02-2006 13:15
OI PWM Lights blink red but still works? SpeakerSilenced Programming 4 21-02-2005 10:44
Q&A Discuss: But it's boring stuff... CD47-Bot Extra Discussion 2 15-12-2002 22:44


All times are GMT -5. The time now is 08:16.

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