LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to get the sbRIO to boot faster?

I'm using the Robotics Starter Kit (with the sbRIO 6931) and I've built and deployed the Roaming example.

 

From a cold reboot, it takes 63 seconds before the program starts running.

 

This seems too long for a High Performance Realtime system. 

The cRIO application we use for our FRC robots boot much faster than this.

 

I dumped the serial debug log and found that everything up to (and including) "NI-VISA Server 5.0 started successfully."  takes 23 seconds, but then "Welcome to LabVIEW Real-Time 10.0" takes another 40 seconds.

 

Any way to speed this transition up?

Here is the full boot log.

 

-------------------------------------------------------------------

 

cRIO-907x Boot

Copyright 2007 National Instruments Corp.

Bootrom version: 2.4.7
Creation date: Jul  9 2007, 00:45:07

Press any key to stop auto-boot...
 1
 0

auto-booting...

boot device          : tffs=0,0
unit number          : 0
processor number     : 0
host name            : host
file name            : /c/ni-rt/system/vxWorks
flags (f)            : 0x8

Mounting tffs...
Attaching to TFFS... Datalight Reliance v3.00.1218T
VxWorks Edition for ppc603
Copyright (c) 2003-2007 Datalight, Inc.
done.
3591760
Starting at 0x10000...

ATA device not detected.

Adding 8510 symbols for standalone.
Mounting onboard storage...
Reliance File System Driver
Datalight Reliance v3.2.2 Build 1376BV
VxWorks Edition for ppc603
Copyright (c) 2003-2008 Datalight, Inc.  All Rights Reserved Worldwide.

-> * Loading vxfpsup.out: vxfpsup
lvusEngine: PPC603 CPU detected...
CPU tick frequency: 33.000069 MHz [Using: 1000 MHz]
MAX system identification name: RSK1
Initializing network...Warning: DNS address USE_DHCP is invalid.  DNS has been disabled.
 
Device 1 - MAC addr: 00:80:2F:12:09:70 - 192.168.1.51 /24 (primary - static)
* Loading nimdnsResponder.out: nimdnsResponder
Starting mDNSResponder task tMDNS.
* Loading nirtdm.out: nirtdm

Loading LVRT...
* Loading nirtdm.out: nirtdm
* Loading nimdnsResponder.out: nimdnsResponder
* Loading vxfpsup.out: vxfpsup
* Loading tsengine.out: tsengine
Time sync source: rtc now active
* Loading nisvcloc.out: nisvcloc
* Loading RTWebServer.out: RTWebServer
System Web Server started
* Loading mxssvr.out: mxssvr
* Loading nisysapirpc.out: nisysapirpc
* Loading NiViSrvr.out: NiViSrvr
* Loading /tmp/webservices/NI/nisysapi/nisysapisvc.out: nisysapisvc
* Loading NiRioRpc.out: NiRioRpc
* Loading taggerrt.out: taggerrt
* Loading niserial.out: niserial

NI-RIO Server 3.5 started successfully.

 

Startup Application: /c/ni-rt/startup/startup.rtexe

NI-VISA Server 5.0 started successfully.

 

Welcome to LabVIEW Real-Time 10.0

 

Get a life? This IS my life!
0 Kudos
Message 1 of 4
(2,966 Views)

Hi Philbot,

 

See here.

 

Thanks and have a great day.

0 Kudos
Message 2 of 4
(2,928 Views)

Hi Esmail

 

I checked out that link, but there's not a lot to go on.

 

I'm already using a Static IP, so that's not the problem.  The boot blasts right past that step.

 

Beyond that, I'm not sure what "uninstall any software that you don't really need from MAX and disable services you don't want from the project" means.

 

Why would there be any "services" in the project that I don't need?  

I don't see any provisions to remove them in the Project Build specification.

All unused VI's are already excluded.

 

If I eliminate stuff from MAX (assuming I know what to eliminate, and how to do it) wouldn't that remove it from all my projects?

 

My problem is that I have the Academic License installed, so essentially "Everything" is on this machine.

I need to ensure that any changes I make won't effect other projects.

 

Since I'm working with the vanilla "Roaming" application that comes with the Robotics Starter Kit, can you give me ONE example of something I can remove to make it boot faster.

If I can work through that item, then I can probably figure out other things I can also remove.

I just need a starting point.

 

Thanks

Phil.

 

 

Get a life? This IS my life!
0 Kudos
Message 3 of 4
(2,919 Views)

Hi Phil ,

 

I am sorry about the late response, but we had to escalate this to R&D and get you some information about this example. The Roaming example, while sounds like a simple application, has a lot of things going on in the code and we load a lot of dependencies with the example. Because of these dependencies, it will take a while for the code to load and we wouldn't suggest removing any of it if you would like to use the example. Also, regarding the FRC cRIO booting faster since it has a faster processor. If you compare the sbRIO to the FRC cRIO, the FRC cRIO has a 400MHz processor while the sbRIO has only 266MHz. So it would be expected that the sbRIO would take a longer to boot.

Hope this information helps!

 

Thanks and have a great day.

0 Kudos
Message 4 of 4
(2,795 Views)