Go to Post We treat productive freshmen the same way as everyone else. As for excesively ambitous new people, we have one rule:what happens in the hotel, stays in the hotel... ;) - Crop-Circles [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 19-03-2010, 00:57
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
"Failed to load shared library FRC_UserProgram.out on RT target device"

I've been getting an error message when attempting to download code to the cRIO with LabVIEW:
LabVIEW: Failed to load shared library FRC_UserProgram.out on RT target device.
I get this error the first time I try to run the code (from RAM), and the program does not start. Upon attempting to run the code once more, it succeeds with no errors.

Any ideas on what's causing this issue?

Also—and perhaps this is related—I can't get the code to stick on the cRIO, even when setting it as the startup application in the properties of the Build Specifications tree. (The no_app DIP switch is not selected.)

(LabVIEW is at revision 8.6.1 with the latest FRC updates, cRIO image is version 20. Jaguars are configured using CAN, with latest firmware. I'm using a modified version of the non-CAN default code, with the CAN VIs inserted in place of the standard drive routines.)
Reply With Quote
  #2   Spotlight this post!  
Unread 19-03-2010, 11:29
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,731
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: "Failed to load shared library FRC_UserProgram.out on RT target device"

I'd fix your permanent download problem first. Without that nothing else matters.

Perhaps describe the steps you take in detail to download, including any and all settings you've made in properties.
Try not to use the term "latest." Use the real version #'s.
I hear "latest" so many times at regionals, and it just means the last version they noticed...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 19-03-2010, 17:54
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: "Failed to load shared library FRC_UserProgram.out on RT target device"

I wonder if your problem is related to this: http://forums.usfirst.org/showthread.php?t=15045
Reply With Quote
  #4   Spotlight this post!  
Unread 19-03-2010, 22:34
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: "Failed to load shared library FRC_UserProgram.out on RT target device"

Joe: you know, Rob Heslin was telling me about that CAN problem at FLR...I didn't even think to look into it. I'll give the no_app workaround that a shot, and see what happens.

I managed (earlier on) to get a program to load permanently, so I figured that I must have been doing something wrong recently. In fact, I think the arrival of those symptoms coincided with the addition of the CAN bus.

And Mark, you're right about "latest"; it was the latest Jaguar firmware (89), until they released another one (90) two days ago. (It would have been nice if Luminary Micro updated their website to indicate a revision had taken place on March 17th. Also: a changelog would be nice....) In any event, from the description on the FIRST forums, version 89 should be sufficient.
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
Anyone made use of the "Call Library Node"? gvarndell NI LabVIEW 2 23-02-2010 20:15
Windows "Malfunctioning USB Device" error with Psoc IO Board WarrenPW FRC Control System 2 11-02-2010 18:53
"code doesn't load" solution C++ whatabouteve C/C++ 2 09-02-2010 17:04
"Signaling Device" reciever location? FreakyAntelope General Forum 9 06-01-2008 01:50
Camera never finds target, stays at "Searching..." Mike Programming 12 22-01-2006 12:47


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

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