Go to Post ... boundless mentory goodness ... - pfreivald [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-01-2013, 21:12
choas5000 choas5000 is offline
Programming
AKA: Nick Little
FRC #4640 (Era4640)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: new york
Posts: 6
choas5000 will become famous soon enoughchoas5000 will become famous soon enough
Exclamation HELP!!!!!!!!

Im apart of the rookie team Era4640 and im a programmer, I dont know what to start with or how to set things up i need help. Im using Labview.
  #2   Spotlight this post!  
Unread 11-01-2013, 21:15
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: HELP!!!!!!!!

Quote:
Originally Posted by choas5000 View Post
Im apart of the rookie team Era4640 and im a programmer, I dont know what to start with or how to set things up i need help. Im using Labview.
Two suggestions:

1) Post this in the LabVIEW forum.

2) Use a meaningful title. I almost dialed 911.


  #3   Spotlight this post!  
Unread 11-01-2013, 21:16
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 183
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: HELP!!!!!!!!

Off to the left of your LabView Getting Started window, there's a Tutorials link on the left. Give those a try, they should help you get started with LabView!
  #4   Spotlight this post!  
Unread 11-01-2013, 21:25
ctccromer's Avatar
ctccromer ctccromer is offline
Animus
AKA: Tucker Campbell
FRC #3753 (Bulah Bots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Baton Rouge, Louisiana
Posts: 190
ctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to allctccromer is a name known to all
Re: HELP!!!!!!!!

Im new to LabVIEW this year too, so don't feel alone! Do you have previous experience in other languages?

As far as learning labview, there's several things you can do that'll really help. Lots of tutorials for one. After getting the basic idea behind it, I opened up a new cRIO Robot Project (this is what you'll start with when coding for the robot) and looked over the code it starts you off with. The FRC Updates for labview make it so that instead of starting with a blank new program, we start with a template and edit/build up from THAT, not from scratch. Use the ? box at the top right and try and understand what does what

Also, here's how the computer/cRIO interaction works (as best as i understand it):
-write the robot's code in LabVIEW on your computer
-image the cRIO (wipe it clean) once, or when a new update comes out
-once you're ready to test the code, power the cRIO and connect it to your computer, then open up the PROJECT file (not a .vi) for your code, open the Robot Main.vi from the project window, and Click "Run" (->) at the top left to deploy the code from your laptop to the robot. Doing this will always wipe the old code from it so you dont have to worry about that
-Once that's done, keep it plugged into your laptop, open up the driver station, click enable, and it should control for you

Another thing that's really helping me is to understand each .vi file in the project's purpose. For example, Begin.vi initializes everything. In order to call anything from a joystick in Teleop.vi (the file that runs code for the main game -- when you control the robot), you first have to OPEN it in the Begin.vi and give it a RefNumRegistry (via the RefNumRegistry Set vi). Then in other vi files, such as Teleop and Autonomous, you use RefNumRegistry Get vi to call the already opened joystick and use it in that file.
And just like you have to open things in the Begin.vi file, you have to close them in the Finish.vi file

Hope this helped at least a little. Good luck!
__________________
Team 3753 BulahBots
  #5   Spotlight this post!  
Unread 11-01-2013, 21:30
choas5000 choas5000 is offline
Programming
AKA: Nick Little
FRC #4640 (Era4640)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: new york
Posts: 6
choas5000 will become famous soon enoughchoas5000 will become famous soon enough
Smile Re: HELP!!!!!!!!

Thank you everyone i will look into everything right now
  #6   Spotlight this post!  
Unread 11-01-2013, 21:33
Nathan Powell's Avatar
Nathan Powell Nathan Powell is offline
The Prime Function
FRC #2582 (PantherBots)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Lufkin, TX
Posts: 37
Nathan Powell is an unknown quantity at this point
Re: HELP!!!!!!!!

I'm not a Labview programmer--I program in C++--but here are some useful links that may help you:

This guide is from 2009, but should be valid for the basics:
http://www.ni.com/pdf/manuals/372668d.pdf

This is a series of video tutorials, but is from this year:
https://decibel.ni.com/content/docs/DOC-8923

I apologize if any of the links are outdated or not useful. I don't know too much about Labview
  #7   Spotlight this post!  
Unread 13-01-2013, 15:45
tophkissane tophkissane is offline
Registered User
FRC #1493
 
Join Date: Nov 2011
Location: Albany Ny
Posts: 12
tophkissane is an unknown quantity at this point
Re: HELP!!!!!!!!

I would suggest trying to find teams that are close to you, chances are theres at least one team that knows how and has the people to help you learn some basics
  #8   Spotlight this post!  
Unread 14-01-2013, 17:56
katsauga's Avatar
katsauga katsauga is offline
Lead Programmer
AKA: Marshall Baskin
no team
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Mora, MN
Posts: 86
katsauga has a little shameless behaviour in the past
Re: HELP!!!!!!!!

Labview has many examples under help->find examples
__________________
If life gives you lemons,Make grape juice and sit back and watch the world wonder how you did it
Closed Thread


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 02:27.

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