Go to Post FIRST is an opportunity for me to tackle problems that have long been solved. - Madison [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 08-01-2015, 19:05
Wawa's Avatar
Wawa Wawa is offline
Wawa
FRC #3659 (Mighty Patriots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Miami
Posts: 30
Wawa is an unknown quantity at this point
New to LabVIEW and looking for help!

Ok, so my team is pretty small (about 15 members) and our only programmer left recently. We have had no programming mentors so far and nobody knows how to code. I plan on learning how to program the robot in LabVIEW, but I have absolutely no idea how LabVIEW works.
I found a few things on the FIRST site and around here, but with the new changes, I'm not sure how things are supposed to work.

1) How different is it going to be to program with the roboRIO from the cRIO?
2) What is the code supposed to even look like?
3) How do I begin the code?
4) Is it possible for me to learn all this before competition?

Thanks to everyone!
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2015, 19:46
DoughBoy's Avatar
DoughBoy DoughBoy is offline
Registered User
FRC #3336 (Zimanators)
Team Role: Tactician
 
Join Date: Jan 2015
Rookie Year: 2014
Location: North Carolina
Posts: 14
DoughBoy can only hope to improve
Re: New to LabVIEW and looking for help!

sorry that i wont be that useful but i can answer number 4 which is yes you will be able to.
Reply With Quote
  #3   Spotlight this post!  
Unread 08-01-2015, 20:57
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 203
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: New to LabVIEW and looking for help!

Here is the answers to your questions.

1)The RobotRIO and the cRIO are nearly identical. there are a few changes, mainly to do with where ports and PWM are located. for omr info check this link: http://wpilib.screenstepslive.com/s/...e-2014-to-2015

2) Code is a very linear progression, similar to text based languages. Labview is just easier to visualize, (inputs on the left and top of blocks, outputs on the right and bottom of blocks, there are LOADS of examples, and it is fairly easy to compile these examples into working code. (The examples are located under the support tab when you first open Labview (make sure you have the updates and utilities installed)

3)You answered your own question here, start in the Begin.vi. This is a "Robot map" you state what is located where. And the code is very similar for motors, solenoids, sensors, etc. (use the open block, then use the set referum name block, wire them together and make a constant on the name. Past that (in Teleop.vi) just use the get referum and set(for actuators) and the get(for sensors)

4)Yes, it is possible to learn all this, I can try to find you some generic example code, or you can PM me and I can help you out more) you may not learn all the tips and tricks, but you will be able to make functioning robot code.

Feel free to PM me
Reply With Quote
  #4   Spotlight this post!  
Unread 08-01-2015, 21:09
Wawa's Avatar
Wawa Wawa is offline
Wawa
FRC #3659 (Mighty Patriots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Miami
Posts: 30
Wawa is an unknown quantity at this point
Re: New to LabVIEW and looking for help!

Thank you guys so much! I feel pretty stressed about all of this, especially since most teams seem to already have a lot more done than my team. Knowing that I can get help from all of you does boost my confidence. 💗

I'm going to look through all the examples as soon as I get LabVIEW from my coach.
Reply With Quote
  #5   Spotlight this post!  
Unread 08-01-2015, 21:22
orangemoore orangemoore is offline
Registered User
AKA: Roger Moore
FRC #3135 (Robotic Colonels)
Team Role: College Student
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Chicago
Posts: 2,307
orangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond repute
Re: New to LabVIEW and looking for help!

You can get labview from this link here:
https://decibel.ni.com/content/docs/DOC-34731

Then all you need is the S/N which on the outside of the labview packet to activate it.
__________________
Stronghold


Student 2013-2016
3135 -- Robotic Colonels
3507 -- Robotheosis (FTC)
Reply With Quote
  #6   Spotlight this post!  
Unread 08-01-2015, 21:34
tcjinaz tcjinaz is offline
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Re: New to LabVIEW and looking for help!

Quote:
Originally Posted by Wawa View Post
Ok, so my team is pretty small (about 15 members) and our only programmer left recently. We have had no programming mentors so far and nobody knows how to code. I plan on learning how to program the robot in LabVIEW, but I have absolutely no idea how LabVIEW works.
I found a few things on the FIRST site and around here, but with the new changes, I'm not sure how things are supposed to work.

1) How different is it going to be to program with the roboRIO from the cRIO?
2) What is the code supposed to even look like?
3) How do I begin the code?
4) Is it possible for me to learn all this before competition?

Thanks to everyone!
Create a new robot in FRC LabView and you have a working BLT. Learn more, do more.
Run through the tutorials, you'll learn a lot in a week.

Tim
__________________
Software Mentor
3853 Pridetronics[

Reply With Quote
  #7   Spotlight this post!  
Unread 09-01-2015, 21:41
Wawa's Avatar
Wawa Wawa is offline
Wawa
FRC #3659 (Mighty Patriots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Miami
Posts: 30
Wawa is an unknown quantity at this point
Re: New to LabVIEW and looking for help!

Thanks guys! I'll be running through tutorials until next week. Hopefully, I'll have the drive train to start practicing on.
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 08:01.

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