Go to Post 3 weeks vacation here...every single day devoted to volunteering for FIRST. Am I crazy? Yes...I am most definately crazy...but crazy has never been this much fun. - Andy Grady [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 04-11-2010, 21:18
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Best way to start?

OK, you have a good point. However, when designing robot logic, a more procedural method makes more sense in most cases than a dataflow approach, but insofar as I have seen, LV is simply not as capable with procedural approaches.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-11-2010, 11:48
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Best way to start?

Quote:
Originally Posted by Ginto8 View Post
...when designing robot logic, a more procedural method makes more sense in most cases than a dataflow approach,...
Procedural programming obviously makes more sense to you. It does make a lot of sense to anyone who learned to program using a procedural language like C or Java or even BASIC. But dataflow programming makes at least as much sense to people who know it. I'd even say that a dataflow approach makes more sense than a more procedural method to people with a background in PLC programming or in circuit design.

Quote:
but insofar as I have seen, LV is simply not as capable with procedural approaches.
You merely haven't seen far enough yet. Give it time.

LabVIEW provides two trivially easy ways to do strict procedural programming (error chaining and Sequence Structure frames), with Case and loop structures able to act just like their procedural counterparts. A moderately experienced programmer can implement a procedural algorithm directly in LabVIEW.

It takes a bit more experience to get to the point of being able to build simple frameworks to combine the best qualities of both the dataflow and the procedure-oriented viewpoints. I think a year of FRC robot programming might be just about enough time to get that experience.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Way Of Scoring? KingBK General Forum 18 05-01-2009 21:08
Best way to detect a bot dpeterson3 Electrical 24 04-01-2009 14:56
Best Way to Get Points SSMike Rules/Strategy 54 09-01-2008 16:46
Best way to start Torboticsmember Programming 4 06-02-2007 12:27
Best way to make money! SPDEXL Fundraising 17 21-07-2003 01:19


All times are GMT -5. The time now is 12:34.

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