Go to Post Everyone knows the best way to lose weight is to turn the robot upside down, shake vigourously, and throw away anything that falls out. - Mark Hamilton [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 29-01-2012, 18:03
SeleneCast00's Avatar
SeleneCast00 SeleneCast00 is offline
Registered User
AKA: Selene Castaņeda
FRC #4029 (SpartanBots)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Los Angeles, CA, USA
Posts: 4
SeleneCast00 is an unknown quantity at this point
How to view inputs and outputs in LabVIEW once code is deployed to robot

My team and I want to get more familiar with the LabVIEW code by giving the joystick commands and viewing the behavior of the inputs and outputs in LabVIEW, but how can we view the real-time values? If any other ideas as to how to interpret joystick commands we would greatly appreciate it.
__________________
Thanks! <(^_^<)
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2012, 18:42
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 182
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: How to view inputs and outputs in LabVIEW once code is deployed to robot

You can click the light bulb button in the toolbar in labview and watch the code execute. Then you can click on the wires to place probes to see values. This would be while you are looking at the block diagram of your program. Hope that helps!
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2012, 18:43
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: How to view inputs and outputs in LabVIEW once code is deployed to robot

Just be sure to note that all of your code will execute EXTREMELY SLOW in this mode! This is to assist you in visualizing what is happening.
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2012, 21:42
zekrysis zekrysis is offline
Registered User
FRC #3616 (Phenomena)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Lafayette, Louisiana, United States
Posts: 5
zekrysis is an unknown quantity at this point
Re: How to view inputs and outputs in LabVIEW once code is deployed to robot

If I'm not mistake couldn't you also simply right click on the little wire out node and click create indicator?
Reply With Quote
  #5   Spotlight this post!  
Unread 29-01-2012, 22:13
NeatNit's Avatar
NeatNit NeatNit is offline
Alumni Programmer
FRC #1577 (Steampunk)
Team Role: Teacher
 
Join Date: Sep 2011
Rookie Year: 2011
Location: Israel
Posts: 60
NeatNit is an unknown quantity at this point
Re: How to view inputs and outputs in LabVIEW once code is deployed to robot

Quote:
Originally Posted by zekrysis View Post
If I'm not mistake couldn't you also simply right click on the little wire out node and click create indicator?
Yes, you could do that, but the most appropriate option would be to right-click the wire and select Probe. It's designed for showing real-time values.
This only works when you run the code by hitting Run in Robot Main through the computer. There is no way to probe your code if you run it by building it and 'running as startup'. (that is, except for what you put in the dashboard)
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 11:35.

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