LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO Boot up time

Hi All
         

          I am using cRIO 9012 with NI 9853, and Gxxx modules. The problem is the cRIO takes approx. 30 sec to boot up and start execution. It’s comparably higher than other real time controllers. Why its too slow?

 

Thanks in advance

 

RigilKumar

 

0 Kudos
Message 1 of 7
(4,869 Views)

RigilKumar,

A cRIO controller will take ~20 to 25 Seconds to boot and load an application.  The normal boot procedure is the following:

1. Initialize BIOS
2. Load/Mount the Drive
3. Load the RT OS (Pharlap of VxWorks depending on the Controller)
4. Load any Drivers ( NI RIO, NI VISA, etc... )
5. Load the Application if it exists

Loading the Real-Time OS (Pharlap or VxWorks) and loading modules (dlls or out files) is the most time intensive step while booting. The modules loaded will include loading them into RAM, and also initializing them accordingly. For example, the STE.dll would initialize the ethernet connection.

The speed your seeing is what I would expect but hopefully the information about explains it a little bit. 

What kind of Boot speed would be acceptable for your application? 

Bassett

Message 2 of 7
(4,862 Views)

Bassett

 

Thanks in bunch for your quick valuable information.

 

Application like vehicle datalogger needs faster boot up time, so it will not loose any   bus-traffics during engine start up. 10 – 15 sec is quite Ok.

 

 

I have one more question.

 

I have created Real time application and deployed in cRIO. I turned on the option set as start up and I reboot the controller, the application running perfectly.

 

But if I try to run my Host VI (contains only shared variables) it closes my Real time start up application and it throw an warning message as shown in attachment file .

 

Tell me please where I am doing mistake?.

 

I want to run the Host VI without closing the VIs running on target, to transfer  data using shared variable.

Download All
0 Kudos
Message 3 of 7
(4,839 Views)

I would have to guess its because the shared variables are wanting to be deployed again.  If they have already been deployed and haven't changed you can de-select the Auto-Deploy setting from the project and I think that will go away.

Regards,

Bassett

Message Edited by Bassett Hound on 09-20-2007 12:10 PM

Message 4 of 7
(4,827 Views)
Its right Bassett.
I deselected  Auto - deploy and now its working perfectly.
 
 
 
Thank you again.
 
Regards
Rigil Kumar
 
 
0 Kudos
Message 5 of 7
(4,820 Views)

Hi Bassett

 

I am using cRIO- 9012 with NI 9853 Can Module in my application.

The task is to acquire the CAN Bus traffic in vehicle and store in an external USB flash drive.

But the problem is CAN modules often read non multiple of 6 elements. (i.e some time Element remaining is 22,43,45…) even FIFO is not full. This causes misalignment of frames later in my post analysis.

 

I tested the module with a CAN BUS Emulator setup and also with actual Vehicle data. Response is same. I temporarily fixed the problem by discarding the Frames which is non multiple by 6. Is anyother way to fix it?. I am curious to know root cause and solution to fix permanently.

 

Thanks in Advance

 

waiting for your reply

 

Regards

Rigil Kumar

 

0 Kudos
Message 6 of 7
(4,570 Views)
Hi Rigil,
 
My CAN skills are minimal at best but I would guess there should be a better way to manage the data coming out of the FIFO.  I'll let an engineer with more CAN experience help you with this one.
 
Regards,
 
Bassett
0 Kudos
Message 7 of 7
(4,547 Views)