Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIEW (http://www.chiefdelphi.com/forums/showthread.php?t=81956)

rokenboker 05-02-2010 13:02

HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIEW
 
2 Attachment(s)
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:

Mark McLeod 05-02-2010 14:19

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.

rokenboker 05-02-2010 14:38

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!

helenajoy 05-02-2010 14:58

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! (:

rokenboker 05-02-2010 15:03

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.

helenajoy 05-02-2010 15:18

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!

rokenboker 05-02-2010 15:20

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.

helenajoy 05-02-2010 15:23

Re: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE
 
No, unfortunately I do not.
I only have Yahoo! messenger.

rokenboker 05-02-2010 15:24

Re: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE
 
rokenboker@yahoo.com

Tom Line 05-02-2010 17:10

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.


All times are GMT -5. The time now is 11:48.

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