Go to Post However, I do expect something truthful to come out of some of Dave's posts. - Karibou [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 09-09-2011, 07:03
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,833
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 Benefits

Your initial use of LabVIEW should be done with zero overhead to your robot.
Just use it to graph in real-time the data sent back by your regular C/Java code.
That just has LabVIEW running on your PC and doesn't require a second cRIO. You should develop that capability using your existing 2011 robot.

Just make yourself a custom LV Dashboard that plots what you want to watch.
Everything's there and already running for you to start. Just add your data passing and processing at either end.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-09-2011 at 07:44.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-09-2011, 21:59
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,752
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: Labview Benefits

Personally, I think what your mentor is going for is more of a process than a tool issue. Generally, it means that you measure and inspect what is really happening in the system. You use the measured data to identify potential issues that the code may not be prepared for. You use it to improve areas where it already works, but isn't optimal. And you test code or mechanism changes to show what impact they caused.

In other words, rather than trust only your eyes or anecdotal results, you try to develop data that convinces you and other members of your team and leads you to build a better robot, achieve a better performance, and better understanding of what you have built.

Incidentally, LV includes data input and data viewing into each function that you build. Each parameter in and out of each function is potentially viewable during execution. This will sometimes allow you to do just-in-time data viewing. I know, it never happens, but what if ...
* The robot is misbehaving
* Gee. I've never seen that before and have no idea what is causing it.
* I wish I had a printf of some stuff to know what might make it do that.
Provided the robot will continue with its misbehavior, LV allows you to drill down, function by function, looking at inputs and outputs until you find the issue.

Additionally, LV includes probes for wires. These are like watchpoints in C, but allow you to view the data while the system continues to run. And while printfs are awesome, graphs and charts are often even better, especially when trying to convey trends or large amounts of data that changes rapidly. You can do the graph on a LV panel, or you can log the data from C++ and view the file in an engineering tool.

I'd encourage you to look at LV and go through a few monitoring exercises with the mentor to help understand the engineering process that it promotes. Then learn how to apply that process in whatever tools you are using at the time. You don't always have to use it, but it is a good approach to be able to reference.

As always, if you have questions, just ask

Greg McKaskle
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 20:38.

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