Go to Post I...want...to...go...to...Champs. REALLY REALLY BADLY. - CalTran [more]
Home
Go Back   Chief Delphi > Technical > Control System
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
  #31   Spotlight this post!  
Unread 26-09-2007, 10:22
Happy Birthday! Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Opinions wanted: LabView-based controller?

Quote:
Originally Posted by Danny Diaz View Post
how many hits a particular search term reveals on an engine has VERY LITTLE to do with what this thread initially looked like what it was attempting to do.
Mike Martus asked what the industry was using, since he said he measures cirriculums based on what industry is doing. I think that's a legitmate question in this context and so I attempted to find some reasonably-unbiased data to answer the question rather than just stating that "I don't think a large percentage of the software industry uses Labview."

Anyway, I just want to clarify one thing and then I'll try not to post in this thread much more. I think Labview would be a great addition to FRC as an option. I'm sure some would love to use it and would get a lot out of it. What I asked in this thread, however, is what would the community think of a controller that required the use of Labview. It is this idea that I am not in favor of.
  #32   Spotlight this post!  
Unread 26-09-2007, 10:30
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Opinions wanted: LabView-based controller?

If a package like LabVIEW would enable more teams to have quality robots then it would be a great addition to the organization. This is only my opinion, but outside of embedded systems there isn't much need for C programmers. Job postings almost always include C/C++ even though you're far more likely to use .NET or Java. My personal feelings are that a single board computer with a data aquisition interface would be the best solution. At least then you would be able to work in the OS and development environment of your choice.
  #33   Spotlight this post!  
Unread 26-09-2007, 11:31
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Opinions wanted: LabView-based controller?

After reading many of the replies here, I think that there are really two angles that people have on this subject:

1) People who are non-programmers like the idea of a graphical programming environment.

And,

2) People who are programmers hate the idea of a graphical programming environment.

Since it seems that these two 'parties' can't be good bedfellows... I guess the solution is to remain with a controller that offers both graphical and textual programming options.

NI is beginning to realize this as well... as time goes on NI is allowing more and more of their hardware and software to be programmed through C/VB/etc... case in point... LabWindows/CVI can usually be used on NI hardware and software anywhere LabVIEW can go... there are still places where only LabVIEW can be used to write code but those places are decreasing.

Really where I see a ton of potential is in the awesome hardware NI has to offer.... it would be awesome to have an NI compact vision system on your robot! Just think... tracking at up to 100 frames per second! Not to mention full color processing and multi-object tracking... wow.... to have that for autonomous... could have found ringers in autonomous this year!

Wow i really hope we get some discounts from NI this year... imagine the possibilities!

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
  #34   Spotlight this post!  
Unread 26-09-2007, 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: Opinions wanted: LabView-based controller?

Quote:
Originally Posted by Mike Martus View Post
Question? Is Industry - wide scale using Lab view for their development and also are universities using Lab View for teaching programming in their curriculum?
LabView is indeed widely used, in both schools and industry. However, what I see it used for is almost entirely instrument control and data acquisition. What most of us would consider applicable to robot programming -- algorithmic transformation of inputs to outputs, tracking state, sequencing of actions, responding to feedback -- is much less common.

Where I work we use a National Instruments product called TestStand, so there is actually a lot of opportunity for that sort of programming here, but I find it a whole lot easier to use the non-graphical LabWindows/CVI for anything more complicated than a single function. "Non-programmers" naturally have the opposite opinion, but what they produce is often not easily maintainable. The LabView expert in our group does create wonderful tools and applications, though even he has trouble when they get complicated.

In the context of teaching programming, the only use of LabView I've heard of is specifically teaching LabView. For learning to program in general, a traditional procedural language like C or Java is still the rule.
  #35   Spotlight this post!  
Unread 30-09-2007, 10:17
Jimmy Cao Jimmy Cao is offline
Registered User
AKA: Jimmy Cao
no team
 
Join Date: Sep 2006
Rookie Year: 2004
Location: San Francisco, CA
Posts: 295
Jimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant future
Re: Opinions wanted: LabView-based controller?

Personally, I have no objections to using Labview, except for the fact that I do not know how to use it...

I do know it is very powerful, and that people who know how to use it can do very complicated things, with relative ease.

If the new system uses LabView, I think I'll like it.
__________________
Jimmy Cao

Team 469 2006-2010 Student/Alumni
Team 830 2011-2012 Mentor
  #36   Spotlight this post!  
Unread 03-11-2007, 22:37
Mr.G Mr.G is offline
Registered User
AKA: Kevin
FRC #0326 (Xtreme Eagles / Romulus High School / General Motors)
Team Role: Engineer
 
Join Date: Dec 2002
Rookie Year: 2001
Location: Romulus
Posts: 244
Mr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond repute
Send a message via AIM to Mr.G
Re: Opinions wanted: LabView-based controller?

I have been programming assembly line test machines for 12 years and have used many languages and hardware: C, PLC, Flowchart, BASIC, and LabVIEW. I have also been programming FIRST robots for 6 years.

Here are my opinions:

Pros:
LabVIEW integrates with other programming software nicely. I.E, you can integrate C routines into a LabVIEW routine, so you can reuse code. It also comunicates with almost anything.

LabVIEW has hands down the best hardware that I have used in all areas. Reliability, Support, Integration, and at a pretty good cost.

LabVIEW is the easiest to teach if you have no experience like students do. Also, being a visual program I think it will appeal to the students more.

I think the current C program is overwhelming for the students the way it currently is laid out. All the extra programming that is in the current FRC code for interface to the field can be put into a single sub IV. Out of sight and out of mind. A’ man.

Students can take a piece of LabVIEW code and prototype it all by itself in a simple fashion, get it working on the pc, and then integrate it in to the main code with little help. Not having to know the whole code.

Cons:
LabVIEW is not very common except in testing equiptment.
Software licensee is expensive. (FIRSTer's get it free though)

Note: Our team has been unable to engage the students completely in programming in the 6 years I have been in it. I think LabVIEW is a good way to go, it is very easy to learn. I think a lot of people that are talking negative about it haven’t programmed in it. I.E. everyone hates change.

LabVIEW is good change for FIRST. I can't see things getting any worse, only better.

Last edited by Mr.G : 04-11-2007 at 10:48.
  #37   Spotlight this post!  
Unread 05-11-2007, 11:26
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,608
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Opinions wanted: LabView-based controller?

Isn't it also possible to integrate Matlab algorithms into LabView? Aren't they pretty much one in the same? I seem to remember our LabView expert in college take our optical system that we had in Matlab and adapt it to LabView without much pain.

While some programmers have never used Matlab, I'm sure several Electrical/Systems Engineers have. The inability to use vector-based math without crazy lookup tables drove me mad over the summer when attempting to make a feasible, fast and accurate field-oriented mecanum drive algorithm for the RC that matched my pretty Matlab surface graphs.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
  #38   Spotlight this post!  
Unread 05-11-2007, 17:02
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Opinions wanted: LabView-based controller?

Quote:
Originally Posted by Mike Martus View Post
Question? Is Industry - wide scale using Lab view for their development and also are universities using Lab View for teaching programming in their curriculum?
That's a good question, Mike.

There IS an industry-wide movement to start using rapid prototyping languages in the controls industry. Furthermore, there is an industry-wide movement to move away from hand-generated C coding of signal processing and control algorithms. Here's a little history:

In the VERY old days, a controls engineer would create a block diagram of the control algorithm by hand on paper. The control engineer would perform some basic analyses on the block diagram to determine system stability as well as responses to basic inputs. After this the control engineer would give the paper block diagram to the software engineer who would code it in C. A simulation environment would be created in C to test the control algorithm to determine if it worked like it should.

Since the above took a long time and the control engineer depended on the software engineers to finish a simulation environment, products such as Matlab/Simulink and LabView were developed. Now the control engineer can create the block diagram on the computer and start running simulations immediately. Once again, however, the block diagram must still be given to the software team for coding in C and final testing in a simulation environment.

More recently, products have been developed to "cut out the middle man" (i.e. the software engineer) and automatically generate the C code from the block diagrams. This has the very large benefits of: a) the code should theoretically be 100% bug free, and b) requires virtually zero man-hours to create the code.

In my previous life as a controls engineer, we extensively used Matlab/Simulink/StateFlow (which was much more suited to what we did than LabView). We also extensively used a product called TargetLink which is a 3rd party add-on to Simulink made by a company called dSpace. What TargetLink did was automatically generate production-ready real-time C code from the Simulink block diagrams.

TargetLink works very well, by the way. By the time I left my former job, we had put two generations of product into production using TargetLink to generate all of the control/signal processing algorithm code (not just two products, but two GENERATIONS of products).

Interesting side note: virtually all of the autonomous modes that I have been associated with on teams 308 and 65 have used TargetLink to generate a large portion of the code for the control algorithms.

Keep in mind that this works very well for signal processing and control algorithms. For other things such as certain diagnostics, operating systems, and communications, I think hand coding is still superior.

Sorry this was so long.
__________________
-
An ounce of perception is worth a pound of obscure.
  #39   Spotlight this post!  
Unread 05-11-2007, 17:16
Mr.G Mr.G is offline
Registered User
AKA: Kevin
FRC #0326 (Xtreme Eagles / Romulus High School / General Motors)
Team Role: Engineer
 
Join Date: Dec 2002
Rookie Year: 2001
Location: Romulus
Posts: 244
Mr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond reputeMr.G has a reputation beyond repute
Send a message via AIM to Mr.G
Re: Opinions wanted: LabView-based controller?

Quote:
Originally Posted by Chris Hibner View Post
More recently, products have been developed to "cut out the middle man" (i.e. the software engineer) and automatically generate the C code from the block diagrams. This has the very large benefits of: a) the code should theoretically be 100% bug free, and b) requires virtually zero man-hours to create the code.
Chris, I never tought of it that way and I think LabVIEW does eliminate a lot of C coding and syntax.

Quote:
Originally Posted by JesseK View Post
Isn't it also possible to integrate Matlab algorithms into LabView? Aren't they pretty much one in the same? I seem to remember our LabView expert in college take our optical system that we had in Matlab and adapt it to LabView without much pain.
In my 12 years I haven't come across anything that you couldn't integrate to or communicate with using LabVIEW.
  #40   Spotlight this post!  
Unread 05-11-2007, 21:12
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Opinions wanted: LabView-based controller?

Quote:
Originally Posted by JesseK View Post
Isn't it also possible to integrate Matlab algorithms into LabView? Aren't they pretty much one in the same? I seem to remember our LabView expert in college take our optical system that we had in Matlab and adapt it to LabView without much pain.

While some programmers have never used Matlab, I'm sure several Electrical/Systems Engineers have. The inability to use vector-based math without crazy lookup tables drove me mad over the summer when attempting to make a feasible, fast and accurate field-oriented mecanum drive algorithm for the RC that matched my pretty Matlab surface graphs.
Yes, you can place MATLAB scripts into LabVIEW quite easily. The only part I had difficulty with is making the types line up appropriately. After a small dose of RTFM and casting into baser variable types, everything was just ducky.
  #41   Spotlight this post!  
Unread 14-11-2007, 12:48
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: Opinions wanted: LabView-based controller?

Quote:
Originally Posted by Chris Hibner View Post

More recently, products have been developed to "cut out the middle man" (i.e. the software engineer) and automatically generate the C code from the block diagrams.
The aerospace industry incorporated "pictures-to-code", starting back in the 1980's. It never truly eliminated the middle-man, since we aero's needed software engineers to develop and maintain the process and keep porting it to new hardware platforms!

Easy-C for FTC and FRC is a pretty decent implementation of the concept. While we use Easy-C for all our FTC teams' programming, we teach C and write customized code at the FRC level.

After trying out LabView 2 years ago, in the pilot project, and after reading through this thread, I have to align myself with those who'd accept LabView as an option for coding the FRC, but - please - not the only option.

Thanks,
Eric
__________________

Don't PANIC!
S. P. A. M.
  #42   Spotlight this post!  
Unread 23-06-2008, 10:05
Zflash's Avatar
Zflash Zflash is offline
Registered User
AKA: Erich Zende
FRC #1319 (Flash)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 1999
Location: South Carolina
Posts: 263
Zflash has much to be proud ofZflash has much to be proud ofZflash has much to be proud ofZflash has much to be proud ofZflash has much to be proud ofZflash has much to be proud ofZflash has much to be proud ofZflash has much to be proud ofZflash has much to be proud ofZflash has much to be proud of
Re: Opinions wanted: LabView-based controller?

To those teams that participated in the pilot project. Do you have any suggestions on how someone new to lab view shoud get started or any tips or lessons learned? Other then the material that National Instruments has already put out of course.

Thanks in advance.
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
Wanted: 2006 Robot Controller BradyP4 Control System 3 06-08-2006 21:13
Wanted: 2005 Robot Controller BSMFIRST Control System 0 01-03-2006 11:27
Human Arm based controller Andrew Schuetze Control System 5 09-10-2005 15:05
People's opinions.. pras870 General Forum 9 14-01-2004 23:53
2 v. 2 opinions P.J. Baker Off-Season Events 11 28-06-2001 13:24


All times are GMT -5. The time now is 21:57.

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