Go to Post Only think of Gracious Professionalism as a standard to work toward personally. Never use it as a gauge to point out someone else’s shortcomings. - Rich Kressly [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 20-01-2011, 16:37
CeeCee McShane's Avatar
CeeCee McShane CeeCee McShane is offline
Registered User
FRC #3585 (Rogue Robots of 4-H)
Team Role: Coach
 
Join Date: Nov 2010
Rookie Year: 2011
Location: New Hampshire
Posts: 10
CeeCee McShane is an unknown quantity at this point
Super Rookies

We are Team 3585 in Claremont NH, and we are struggling with getting our programmers up and running in Labview. We've used the NI documentation and online tutorials, but are looking for some quick start instruction. Any suggestions? Our programmers are getting pretty discouraged! Thanks!
__________________
Carol
FIRST Team 3585 - The Rogue Robots of 4-H
“Faith is taking the first step even when you can't see the whole staircase.” ― Martin Luther King Jr.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2011, 16:42
celenacrews's Avatar
celenacrews celenacrews is offline
Registered User
FRC #3556 (GET SMART)
Team Role: Coach
 
Join Date: Jan 2011
Rookie Year: 2011
Location: US
Posts: 5
celenacrews is an unknown quantity at this point
Re: Super Rookies

http://www.frcmastery.com/labview-fo...robot-success/
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2011, 17:18
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: Super Rookies

I am a team member of 3585 too, and as a programmer am wondering what the 2 different parts of the programming(Front panel, and Block diagram) mean, what they do, and how you program them using the pallete. I did FLL last year so if you can give me an idea of how(if at all) NI Labview compares to NXT, that would be helpful.


Please help, I am completly lost.

Last edited by Ian McShane : 20-01-2011 at 17:21.
Reply With Quote
  #4   Spotlight this post!  
Unread 20-01-2011, 21:39
tagayoff's Avatar
tagayoff tagayoff is offline
Registered User
FRC #3512
 
Join Date: Jan 2011
Location: Santa Maria,CA
Posts: 40
tagayoff is a jewel in the roughtagayoff is a jewel in the roughtagayoff is a jewel in the roughtagayoff is a jewel in the rough
Smile Re: Super Rookies

Go to theFRCMastery site
http://www.frcmastery.com/
and go through the 7 steps to robot sucess.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-01-2011, 00:00
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Super Rookies

The front panel shows dials and switches and buttons. It's the inputs and outputs of your function, generally. However, for FRC you don't ever really use the front panel for most things, because the inputs and outputs are done with just the "run motor" and "get joystick" commands.

The block diagram is where the programming is done. All the thin lines are called "wires" and they connect "functions." The wires should be a familiar concept to what NXT has (I think, I just use LabVIEW for programming NXT). They are variables: numbers that you modify with functions. Functions are basically things to modify the variables, but for FRC you'll use many that take the wires in and run motors using them.

For example, when you go to robot main, find teleop.vi. In there, you'll see some sort of "get joystick" with a wire coming out of it, which goes into an "arcade drive" function. The get joystick function returns wires that give the x and y positions of the joystick, and the arcade drive function takes x and y positions and runs the motors. These are a perfect match, so all their wires go together.

I suppose you're probably wondering what the purple wires going into the functions are also. These are "devise references", and basically tell the arcade drive function which motors to run (is it the ones connected to port 2 or port 3?)
Reply With Quote
  #6   Spotlight this post!  
Unread 21-01-2011, 08:50
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,751
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: Super Rookies

You already have some good advice. In NXT, the only thing you build are diagrams. The diagrams look a bit different, but work basically the same. In reality, the framework of FRC allows you to build your program without ever editing a panel. You may find it very useful to place some control or indicators on the panel so that you can see and change values as your robot is running.

Please look at the FRCMastery training, work through some examples, and ask plenty of questions.

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 21-01-2011, 09:38
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: Super Rookies

Quote:
Originally Posted by tagayoff View Post
Go to theFRCMastery site
http://www.frcmastery.com/
and go through the 7 steps to robot sucess.
Don't forget the 2010 videos. They offer a lot of help on LabVIEW basics.
__________________
Mike B
Reply With Quote
  #8   Spotlight this post!  
Unread 21-01-2011, 09:51
MaxMax161's Avatar
MaxMax161 MaxMax161 is offline
Allegedly Useful
AKA: Max Llewellyn
FRC #2791 (Shaker Robotics), FRC #1676 (Pascack π-oneers)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Montvale NJ\Troy NY
Posts: 174
MaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond repute
Re: Super Rookies

This is an analogy that I was taught that I think will help you with understanding what the front panel and block diagram are if you don't already.

In a car the dashboard/driver's seat is like the front panel, it contains all your inputs in to the engine (wheel, gas peddle, knobs, ect) and all your outputs from the engine (speedometer, RPM, check engine, ect). That's what the front panel is, it (in addition to joysticks and stuff like that) is your interface with your program.

The block diagram is like a view under the hood. When you look under the hood you see various units and different types of wires and tubes connecting them. Each component (engine, radiator, oil pump, ect) is like a .vi and each wire or tube is like a wire.

Another important thing to know is that the type of things you can do and create on the front panel and block diagram are different. For example you can only create a light or switch on the front panel (a corresponding block will automatically appear on the block diagram), and can only create wires, or references to other .vis (like joystick get) on the block diagram.

After that if you want to learn more about labview dissect the examples of code that FIRST gives you and just click around a lot. Hopefully this was helpful and not overly long winded, good luck!
__________________
2791 Shaker Robotics (2013-present)
--Control Systems Mentor 2013-present
--Drive coach 2015-present

1676 The Pascack π-oneers (2010-2013)
--Drive coach 2011-2013
--Lead Programmer 2011-2013
Reply With Quote
  #9   Spotlight this post!  
Unread 21-01-2011, 10:08
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: Super Rookies

Thank you everyone. This is great.
Reply With Quote
  #10   Spotlight this post!  
Unread 21-01-2011, 11:10
MaxMax161's Avatar
MaxMax161 MaxMax161 is offline
Allegedly Useful
AKA: Max Llewellyn
FRC #2791 (Shaker Robotics), FRC #1676 (Pascack π-oneers)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Montvale NJ\Troy NY
Posts: 174
MaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond repute
Re: Super Rookies

Any time, happy to help. If you have any more questions, or need help with somthing more specific feel free to shoot me an email and I'll get back to you as soon as I can.
__________________
2791 Shaker Robotics (2013-present)
--Control Systems Mentor 2013-present
--Drive coach 2015-present

1676 The Pascack π-oneers (2010-2013)
--Drive coach 2011-2013
--Lead Programmer 2011-2013
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 10:18.

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