Go to Post "It's not a weapon, it's an active bumper system." - Ameya [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 07-01-2010, 00:46
jph399's Avatar
jph399 jph399 is offline
Programming
FRC #2500 (Herobotics)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Minneapolis, MN
Posts: 27
jph399 is an unknown quantity at this point
C programming questions and other

I'm the head programmer and I'm most familiar with Labview since that was what we used on our bot last year, but I'm always looking to learn more about it via workshops, presentations, slide-shows, step-by-steps, or even a manual. I know about some of the more common places to look for this online such as LVmastery, and the NI website.

but I'm wondering if anyone knows of any other Labview and/or C tutorials/training websites that are geared specifically to FIRST and include help programming stuff used in FIRST such as encoders, gyros, etc.?

Last year at regionals and the championship I noticed that most teams used C programming and when we needed help with programming they couldn't help much since they weren't using labview. I highly doubt this but I was wondering is there is any way of taking a finished program in labview and then converting it to C with a converting program or anything?
__________________
"Think Outside the BUN"
"If it doesn't fit - Make it Fit"

Last edited by jph399 : 07-01-2010 at 00:58.
  #2   Spotlight this post!  
Unread 07-01-2010, 00:55
Nick Lawrence's Avatar
Nick Lawrence Nick Lawrence is offline
Commander Canada
FRC #3940 (CyberTooth, AndyMark)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2005
Location: Kokomo, IN
Posts: 713
Nick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond reputeNick Lawrence has a reputation beyond repute
Re: C programming questions and other

I don't think that is possible, considering LabView writes G Code.

-Nick
__________________


Alumnus of 1503 Spartonics
Founding Mentor of 5406 Celt-X
Mechanical Design Mentor of 3940 CyberTooth
Emceeing events since 2013 - come say hi!

Success doesn't always equate to match wins. It's about the wins off the field.
  #3   Spotlight this post!  
Unread 07-01-2010, 01:01
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,684
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: C programming questions and other

Quote:
Originally Posted by jph399 View Post
Last year at regionals and the championship I noticed that most teams used C programming and when we needed help with programming they couldn't help much since they weren't using labview. I highly doubt this but I was wondering is there is any way of taking a finished program in labview and then converting it to C with a converting program or anything?
Nope. That being said, I suspect more teams will dabble in Labview as time goes on, as teams have had more time to learn it. So if being able to get help at competitions becomes a primary concern in picking a language this year, don't fret about picking Labview. I know for your regionals in particular, 1714 has several members who now know how to work with Labview who would love to help at competition time, if you guys need assistance.
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
  #4   Spotlight this post!  
Unread 07-01-2010, 02:13
keehun's Avatar
keehun keehun is offline
Team Captain
AKA: Keehun Nam
FRC #2502 (EP Robotics)
Team Role: Leadership
 
Join Date: May 2008
Rookie Year: 2008
Location: Eden Priaire
Posts: 474
keehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond reputekeehun has a reputation beyond repute
Send a message via AIM to keehun
Re: C programming questions and other

Quote:
Originally Posted by Chris is me View Post
I know for your regionals in particular, 1714 has several members who now know how to work with Labview who would love to help at competition time, if you guys need assistance.
Team 2502 will also assist in any way possible. We used LabView last year. We decided to go C++ this year. We're already liking it much better...

Our reason was for the following (but not exclusive to):
  • Source control*
  • Diff*
  • Build time*
  • Mentor expertise
  • Student experience
  • Cross Platform workspace**
  • Preference

* I realize the new version of LabView has them built in. However, two things. 1. We decided long before we knew of the new LabView versions. 2. We have way more student/mentor expertise in C++ than in LabView.

** I know that in order to build, it requires WindRiver on a PC. However, any OS with a basic text/code editor can edit, merge, commit, and push changes to a repository (Git, in our case). Then we have a dedicated station where we pull all the changes, patch, build, and download. It's impossible to do that with LabView...

But truly to be honest, any language could get the job done equally well...
__________________
For by grace you have been saved through faith, and that not of yourselves; it is the gift of God, not of works, lest anyone should boast. -- Ephesians 2:8-9
2010: Quarter Finalist (MN 10,000 Lakes)
2010: Website Award (MN 10,000 Lakes)
2009: Quarter Finalist (MN 10,000 Lakes)
2009: GM Industrial Award (MN 10,000 Lakes)
  #5   Spotlight this post!  
Unread 07-01-2010, 06:10
Tanner's Avatar
Tanner Tanner is offline
Registered User
FRC #1261 (Roblions)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Suwanee, GA
Posts: 311
Tanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to beholdTanner is a splendid one to behold
Re: C programming questions and other

If I'm correct there's a nice little FRC manual for LabVIEW hidden away in the Program Files/National Instruments/LabVIEW directory which explains a bit on how to use x sensor, edit the dashboard, etc...

-Tanner
  #6   Spotlight this post!  
Unread 08-01-2010, 22:28
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: C programming questions and other

Quote:
Originally Posted by jph399 View Post
I'm the head programmer and I'm most familiar with Labview since that was what we used on our bot last year, but I'm always looking to learn more about it via workshops, presentations, slide-shows, step-by-steps, or even a manual. I know about some of the more common places to look for this online such as LVmastery, and the NI website.

Last year at regionals and the championship I noticed that most teams used C programming and when we needed help with programming they couldn't help much since they weren't using labview. I highly doubt this but I was wondering is there is any way of taking a finished program in labview and then converting it to C with a converting program or anything?
You've already mentioned the better sites that I know of. There are several LV specific forums, but they are not specific to FRC. One of the things that was redone this year was all of the LV examples were updated and lots added. They now include electrical wiring diagrams, and that would probably be one of the best ways to learn sensor related concepts. For general LV programming, there are quite a few books available. It has been awhile since I've reviewed any, so I don't have any specific suggestions except that I always liked the Gary Johnson ones. I also thought that the WPI documentation about the APIs was also really good.

Regarding the percentage of teams using LV. The informal polls NI did last year indicated that it differed greatly by region. Established teams, lower numbered teams, seemed more likely to already have programming and to use C/C++. Newer teams, lower numbered ones seemed more likely to use LV. There were of course lots of exceptions. Regions in the NE were often 85% C++. I don't remember where it was, but one regional was I think 92% LV. I believe in Atlanta, it wound up 65% LV and 35% C/C++.

Hopefully, all of the languages will be well supported, and the teams with knowledge of more than one language will continue to rise.

Greg McKaskle

Last edited by Greg McKaskle : 08-01-2010 at 22:30.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Project Questions about Programming and Electrical RyanN Electrical 27 21-10-2007 22:43
Programming Questions magical hands Programming 14 26-01-2006 17:26
Problems and questions about programming hedgehogger Programming 4 15-01-2005 18:18
2 questions (programming) Brawler006 Programming 20 22-02-2004 23:15
Legal way to remove bottles? and other questions jrukes Off-Season Events 4 15-10-2001 22:35


All times are GMT -5. The time now is 01:08.

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