Go to Post Did our Jaguar swallow a chipmunk, or is something else going on? - Tom Line [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 05-02-2010, 13:02
rokenboker rokenboker is offline
Registered User
FRC #1236
 
Join Date: Sep 2008
Location: Danville
Posts: 29
rokenboker is an unknown quantity at this point
Exclamation HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIEW

hi, i cannot get any code to work in any type of form, one way or another. i've tried to make my own VI, use their formatting for code, nothing works!!! also i would like to state that in neither code i have vision feedback anymore.

here are some examples:
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2010, 14:19
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: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE

You don't seem to have followed the Default coding conventions and that prevents your code from working.
You Open your drive motors in two different places (Begin and Teleop) and that just confuses the cRIO.
I especially like how you have the Enable Vision control sitting all by itself, unconnected to anything at all.

In your own standalone vi you are missing all the Driver Station communication, so it can never be Enabled from the Driver Station.

I think you're trying to follow last year's Basic-style in this year's Advanced-style and that won't work well.

Learn to:
  • Open all your devices in Begin.vi,
  • Close everything only in Finish.vi, and
  • Set your solenoids in Teleop.vi and Autonomous Independent.vi
We can help if you want to walk through it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 05-02-2010 at 14:28.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2010, 14:38
rokenboker rokenboker is offline
Registered User
FRC #1236
 
Join Date: Sep 2008
Location: Danville
Posts: 29
rokenboker is an unknown quantity at this point
Re: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE

yes, a helpful walkthrough would be GREAT thanks. what would be the easiest way to do that? i have

skype: rokenboker

gmail: rokenboker

or, anything thagt you would prefer, please tell me.

thanks alot!
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2010, 14:58
helenajoy helenajoy is offline
Registered User
FRC #2437
 
Join Date: Nov 2008
Location: Hawaii
Posts: 31
helenajoy is an unknown quantity at this point
Re: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE

Hope it's okay if I ask this here...it's related to pneumatics in LabView and how I could go about programming it.

I am sure that I do not have the same problem as the person above - we've developed original code and have seen it work. The only thing is, we've never written code for pneumatics.

I'm wondering about writing pneumatics in autonomous mode. What structure and VIs would I use to in order to include pneumatics in our autonomous?

Also - another question.
In our autonomous mode - we are planning to have our robot move and kick with pneumatics.

How can we combine these two elements? Currently, we have one sequence that controls purely the movement of the robot (going forward, back, etc.).
Is it better to program the pneumatics into that sequence? Or to create an entirely different sequence that is somehow time-linked with the first movement sequence?

Hope this makes sense! (:
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2010, 15:03
rokenboker rokenboker is offline
Registered User
FRC #1236
 
Join Date: Sep 2008
Location: Danville
Posts: 29
rokenboker is an unknown quantity at this point
Re: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE

actually, that's kind of what i'm trying to do as well, are you using LABVIEW? if so check out some of my code, maybe we can use each other's code tohelp the both of us.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-02-2010, 15:18
helenajoy helenajoy is offline
Registered User
FRC #2437
 
Join Date: Nov 2008
Location: Hawaii
Posts: 31
helenajoy is an unknown quantity at this point
Re: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE

Yup, we are using LabView as well. I'd offer to share our code with you, but I do not know how to upload a LabView project and all that. =/ I'll take a look at your code right now, thanks!
Reply With Quote
  #7   Spotlight this post!  
Unread 05-02-2010, 15:20
rokenboker rokenboker is offline
Registered User
FRC #1236
 
Join Date: Sep 2008
Location: Danville
Posts: 29
rokenboker is an unknown quantity at this point
Re: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE

do u have skype or gmail? that way we should be able to help each other alot faster.
Reply With Quote
  #8   Spotlight this post!  
Unread 05-02-2010, 15:23
helenajoy helenajoy is offline
Registered User
FRC #2437
 
Join Date: Nov 2008
Location: Hawaii
Posts: 31
helenajoy is an unknown quantity at this point
Re: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE

No, unfortunately I do not.
I only have Yahoo! messenger.
Reply With Quote
  #9   Spotlight this post!  
Unread 05-02-2010, 15:24
rokenboker rokenboker is offline
Registered User
FRC #1236
 
Join Date: Sep 2008
Location: Danville
Posts: 29
rokenboker is an unknown quantity at this point
Re: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE

rokenboker@yahoo.com
Reply With Quote
  #10   Spotlight this post!  
Unread 05-02-2010, 17:10
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE

There is a pre-made pneumatics example included with labview. You can find it in the examples section (when you go to load up your project, you can go the lower right and click examples).

This gives you the basic code to make everything work in a nice little package. You merely need to slide it over into your actualy robot program to make it work.

You CAN load the example by itself just to prove you have all the hardware set up correctly as well.
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 Autonomous AND Teleop Two-Face Programming 1 14-02-2009 18:33
NEED HELP WITH uncontrollable pneumatics Tds123 Pneumatics 6 11-02-2008 04:34
NEED HELP WITH WHOLE PNEUMATICS Reaper40 Pneumatics 2 17-02-2007 21:23
Need Help With General Pneumatics Ryan O Programming 7 24-01-2007 21:31
help: cannot get the picture in the labVIEW program .. (was: need help!! quickly!) liad LabView and Data Acquisition 8 18-01-2006 12:20


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

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