Go to Post math and physics save a lot of money!!! Pay attention in school - this is why your teachers are torturing you with this stuff. - Chris Hibner [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

 
View Poll Results: How should Examples be handled in LabVIEW
Simplified wxamples (current) 2 15.38%
Examples built using robot framework 6 46.15%
More documentation (video, etc) to help move from simplified example to robot framework 5 38.46%
Other (Please Post) 0 0%
Voters: 13. You may not vote on this poll

Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-07-2010, 21:40
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
LabVIEW examples poll

Currently, the LabVIEW examples are simplified VIs with their own looping structure which handles timing and everything internally.

Based on what I've seen helping other teams, this makes easy to see the concept of the example, it makes it hard for some teams to integrate the concepts into the robot framework. Someone might put a while loop into telop, or copy the DS VIs, duplicating what already exists in the robot framework, etc.

Is there a way to improve this? I have a few ideas in the poll, but I think this is a great chance for brainstorming.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-07-2010, 22:54
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: LabVIEW examples poll

I did some very simplified examples in the 2009 style and upgraded them to the 2010 style this year.
http://team358.org/files/programming/ControlSystem2009-/LabVIEW
You have to scroll down a bit to see the examples I worked with.
They seemed to help programmers I was working with, so I'll probably use these or 2011 variations again next season.

The examples in LabVIEW are nice because of the hardware wiring diagrams NI incorporated this past season, but I found they seemed to cause a lot of confusion among the more inexperienced programmers they are supposed to help. Programmers who'd gotten accustomed to the latest framework could use the built-in NI examples to understand how to incorporate some of the more complex, non-intuitive vi's.

Beginners seem to have trouble when an example gets too involved with more support elements and broader variations to complicate matters.
I think beginners need more drop in place code examples.

Intermediates & advanced programmers would probably benefit from a different style of more complex functions, but I'd still think keeping the examples as compact as possible benefits all groups.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 07-07-2010 at 23:10.
Reply With Quote
  #3   Spotlight this post!  
Unread 08-07-2010, 00:12
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
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: LabVIEW examples poll

What is needed but is presently lacking is a comprehensive FRC LabVIEW FAQ.

~
Reply With Quote
  #4   Spotlight this post!  
Unread 21-07-2010, 15:21
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: LabVIEW examples poll

I meant to revisit this sooner, but distractions, distractions,...

One important favorable point of the stand-alone examples that currently come with FRC LabVIEW is that they are handy for stand-alone troubleshooting. Beginners can try them, as-is, to see if their hardware is hooked up and operating correctly. And of course it's always easier to start from a working example when beginners experiment.
Some of the more advanced concepts (e.g., DMA) probably shouldn't be easily accessible in the default Framework, so beginners will be subtly discouraged from attempting to use them, but intermediates still have advanced examples to work with.

Examples using the latest 2011 Framework will still need to be stand-alone to retain this usefulness. Beginners are going to cut-and-paste without a complete knowledge of what it all means.

------------
I'd think a comprehensive FAQ would more closely resemble a manual. Too thick and beginners won't know where to look or what to look for.

What kinds of Question range and detail did you have in mind?
What target audience, e.g., mentor/student, beginner/intermediate/experienced, non-LabVIEW programming background, other categories?

Might be worthwhile to brainstorm the outlines of an FAQ.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-07-2010 at 16:00.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-07-2010, 18:09
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
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: LabVIEW examples poll

Quote:
Originally Posted by Mark McLeod View Post
I'd think a comprehensive FAQ would more closely resemble a manual. Too thick and beginners won't know where to look or what to look for.

What kinds of Question range and detail did you have in mind?
What target audience, e.g., mentor/student, beginner/intermediate/experienced, non-LabVIEW programming background, other categories?

Might be worthwhile to brainstorm the outlines of an FAQ.

By "comprehensive" I meant that it would include vetted answers to all (or at least most) of the repetitive questions that beginners were asking here in CD (and elsewhere).

I think gathering all these oft-asked questions into one place, with short authoritative answers (or links to where to find an answer quickly) would be a huge help.

A beginner to LabVIEW could start their learning journey by at least reading all the questions, so that when they encountered a problem they would know there was an answer.

Back in the day, before WWW, many usenet newsgroups had a FAQ. It allowed a motivated new learner to get kick-started. I realize not everyone learns the same way, but it seems there would be a large target audience for this.

If I had enough LabVIEW expertise I'd be tempted to try to get something started. I don't :-(



Reply With Quote
  #6   Spotlight this post!  
Unread 21-07-2010, 18:48
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: LabVIEW examples poll

We'd need some long term way to maintain an FAQ and keep it up-to-date.
We have problems now with the Framework changes each season causing us to revise how we instruct rookies.

It should be removed, as being terribly out-of-date, but there is a very simplistic LabVIEW FAQ on CD left over from years ago when NI first introduced FRC students to LabVIEW. The language wasn't used to program the robot at the time.

Sticky threads could be used with the basic FAQ that everyone could then add to as new questions arose. One of the problems we have to deal with to maintain an FAQ is how much the answers change each season. Long ago I had a Programming-Getting Started sticky thread that lots of people contributed to. The problem with a thread was it became both unwieldy and more and more dated as the seasons passed.

A third possibility is to use FIRSTwiki where everything could be edited as they change year-to-year. I don't think there is an involved governing body in charge of FIRSTwiki anymore.

Quote:
Originally Posted by Ether View Post
If I had enough LabVIEW expertise I'd be tempted to try to get something started. I don't :-(
Perhaps you could help by supplying some of the questions then.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 21-07-2010, 19:23
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
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: LabVIEW examples poll

Quote:
Originally Posted by Mark McLeod View Post
We'd need some long term way to maintain an FAQ and keep it up-to-date.
Oh I understand. It would be a bit of work to put together initially, plus some continued TLC to keep it authoritative and orderly. In the hands of the right person perhaps it could be a labor of love?

Quote:
We have problems now with the Framework changes each season causing us to revise how we instruct rookies.
Yes. But I was thinking though that many of the lessons learned from 2010 would carry over into 2011.

Quote:
Sticky threads could be used with the basic FAQ that everyone could then add to as new questions arose.

A third possibility is to use FIRSTwiki where everything could be edited as they change year-to-year. I don't think there is an involved governing body in charge of FIRSTwiki anymore.
I like the "traditional" FAQ downloadable format with a complete list of questions up-front followed by answers. But beggars can't be choosers.


Quote:
Perhaps you could help by supplying some of the questions then.
It's a deal. Questions, I got. Sign me up. :-)


Reply With Quote
  #8   Spotlight this post!  
Unread 22-07-2010, 07:07
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: LabVIEW examples poll

Quote:
Originally Posted by Mark McLeod View Post
A third possibility is to use FIRSTwiki where everything could be edited as they change year-to-year. I don't think there is an involved governing body in charge of FIRSTwiki anymore.
I'm trying to get FIRSTWiki back into business as far as new information goes, though upgrades and stuff is impeding the amount of good work that I can put into it. I'm in the process of talking to Brandon about getting some dependencies updated so I can get MediaWiki updated. Astronouth7303 or Max have been the only "admins" who've responded to me.

I think FIRSTWiki would be a good place for such a FAQ, though I'm not sure what alternatives there are that would be with the possibility of being as organized.

This is a good idea as there really isn't to much textual info on LabVIEW in FRC. Yeah there's some, but not aimed at the same place.

I'd be willing to contribute readability/questions/answers.

-Tanner
Reply With Quote
  #9   Spotlight this post!  
Unread 22-07-2010, 07:51
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,748
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: LabVIEW examples poll

We found the examples with the picture of how to wire up a control invaluable last year, specifically the gyro example. Having the connection between code and control was very useful. We found it simple to go from these examples to the framework.

Another thing that cost us time when we started using Labview were concepts like; how to create a use a global variable, passing parameters to a new VI. Finding info about basic things like this is tough if you don't know what to search for in the help files.
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
Reply With Quote
  #10   Spotlight this post!  
Unread 22-07-2010, 17:25
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: LabVIEW examples poll

Quote:
Originally Posted by rsisk View Post
Another thing that cost us time when we started using Labview were concepts like; how to create a use a global variable, passing parameters to a new VI. Finding info about basic things like this is tough if you don't know what to search for in the help files.
An FAQ could just provide suggested search topics to answer some of these. The answers can get long and complex very quickly.

With some thought towards creating individual pdf tutorials, as an exercise I took snapshots of the discrete steps for creating a subVI, dressing up the new vi icon, and added a new input to it. That took 25 photos and then the text gets added.
The process is probably better suited to a video short. I tried making one of the same process and it's done in a couple of minutes.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 22-07-2010 at 21:19.
Reply With Quote
  #11   Spotlight this post!  
Unread 22-07-2010, 18:07
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
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: LabVIEW examples poll

Quote:
Originally Posted by Mark McLeod View Post
An FAQ could just provide suggested search topics to answer some of these.


I agree... or links to lucid posts or docs (with section or chapter reference).



Reply With Quote
  #12   Spotlight this post!  
Unread 22-07-2010, 20:34
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: LabVIEW examples poll

I for one prefer textual documentation with pictures that is detailed than a video. For one, it's easier to manipulate a document and switch back and forth between LabVIEW on one screen than pause a video which may move at who knows what speed and resume without missing anything.

'Course that's just what I find easier. Though you could probably create a video, grab screenshots from the video to use in a textual documentation.

-Tanner
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
Camera Examples TheDominis C/C++ 2 15-01-2010 18:08
Examples missing unobtainium-42 C/C++ 4 10-01-2010 16:04
Entrepreneuship award examples Dr. Acula General Forum 12 13-01-2006 19:16
Team Update #20/Scoring Examples ahecht General Forum 40 05-03-2003 23:07
Rookie Teams: Programming Examples Jeff McCune General Forum 2 10-02-2003 17:54


All times are GMT -5. The time now is 11:03.

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