Go to Post Everyone has regrets in robotics- it's how you learn from them that makes all the difference. - Kevin Leonard [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 07-02-2009, 11:01
Comatose Comatose is offline
Registered User
AKA: Lead Student Programmer
FRC #0135 (Penn Robotics)
Team Role: Programmer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: United States of America
Posts: 27
Comatose is an unknown quantity at this point
View block diagram of code that has been deployed as run on start up?

Is there a way to view code and its block diagram while it runs as startup on the cRIO, just like when you deploy it to RAM? I've seen the dashboard VI, and was wondering if that had anything to do with it.

Thanks,

Comatose
Reply With Quote
  #2   Spotlight this post!  
Unread 10-03-2010, 11:52
randalcr's Avatar
randalcr randalcr is offline
Programming Mentor
AKA: Chance Randall
FRC #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ponca City
Posts: 82
randalcr is an unknown quantity at this point
Re: View block diagram of code that has been deployed as run on start up?

what you can do is run the code off one laptop and then control the bot off of the DS while your connected to your router.
Reply With Quote
  #3   Spotlight this post!  
Unread 10-03-2010, 12:21
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,609
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: View block diagram of code that has been deployed as run on start up?

I don't have the cRIO in front of me, but you should be able to connect to code already running on the cRIO to debug it. However, the code in your project MUST be the same at the code in the cRIO, or it won't work. A quick search leads me to these steps:
1. Power up your cRIO/Robot.
2. Open the correct project with your code in it.
3. Open up Robot Main.vi
4. Select Operate->Debug Application or Shared Library.
5. Type in your robot's IP address and click "Refresh"
6. Select the application to debug, which should be Robot Main.vi
7. Click Connect

I think that will work, but I don't have a system to test it on, and I'm not a true Labview guru. I got all that info from this NI page:
http://zone.ni.com/reference/en-XX/h...bug_apps_dlls/

If one of the NI guys comes along and declares the above completely wrong then my apologies for leading you astray.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #4   Spotlight this post!  
Unread 10-03-2010, 12:50
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,560
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
Re: View block diagram of code that has been deployed as run on start up?

I spent about 2 seconds trying to get debugging to work on an already deployed program last year, following the steps that Kevin posted. It didn't work, and I didn't spend any additional time trying to figure out why. It's quite likely I did something wrong.
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
Ever been asked a simple question, that could have been answered with a search? Kingofl337 Chit-Chat 5 21-11-2008 08:35
Vex start up code run PWM outputs without Rx intellec7 Programming 3 05-05-2006 23:29
Update 19 has been released dachickindapit General Forum 11 13-04-2005 18:08
Nationals Has Been Cancelled!! 157#1Driver Rumor Mill 13 01-04-2003 20:56
Has 2vs2 been revealed? jrukes Rumor Mill 15 23-10-2001 22:40


All times are GMT -5. The time now is 04:45.

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