Go to Post If the pattern holds, it's a bizarro year. - GeeTwo [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-02-2013, 21:23
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,751
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: Code Not Deploying

There was a bug in the RT runtime that kept LV from exiting out of deployed applications in order to start another. The LV 5.1 update works around this. The workaround until you install the update is to exit the dashboard, then deploy code, then launch the dashboard.

Greg McKaskle
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2013, 21:32
cdizzle cdizzle is offline
Registered User
FRC #2367
 
Join Date: Oct 2012
Location: Bay Area, CA
Posts: 42
cdizzle is an unknown quantity at this point
Re: Code Not Deploying

Quote:
Originally Posted by Greg McKaskle View Post
There was a bug in the RT runtime that kept LV from exiting out of deployed applications in order to start another. The LV 5.1 update works around this. The workaround until you install the update is to exit the dashboard, then deploy code, then launch the dashboard.

Greg McKaskle
We tried exiting the dashboard and then running the code, but the cRIO still isn't responding.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2013, 21:37
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,751
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: Code Not Deploying

Still isn't responding means it is waiting for ...

Also, the RT bug I described would peg the CPU when it was waiting for the deployed code to exit.

The bug would occur when any SmartDashboard client was connected, I mention the dashboard because that is typically the only one teams run, but if you are running Smartdashboard, Table Viewer, RoboRealm, or other Smartdashboard clients exit those too. And better yet, install the LV5.1 update and the bug will go away.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2013, 21:42
cdizzle cdizzle is offline
Registered User
FRC #2367
 
Join Date: Oct 2012
Location: Bay Area, CA
Posts: 42
cdizzle is an unknown quantity at this point
Re: Code Not Deploying

It worked after I re-imaged the cRIO, if that helps in any way.
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2013, 21:44
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,751
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: Code Not Deploying

If imaging the cRIO involves formatting it, then the deployed app will be deleted. So it is the other, much longer, workaround.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2013, 22:52
cdizzle cdizzle is offline
Registered User
FRC #2367
 
Join Date: Oct 2012
Location: Bay Area, CA
Posts: 42
cdizzle is an unknown quantity at this point
Re: Code Not Deploying

Ok, I'll try updating the LabView code, thanks for your help!
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 12:06.

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