09-20-2007 09:06 AM
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
09-20-2007 09:16 AM
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
09-20-2007 11:48 AM
Bassett
Thanks in bunch for your quick valuable information.
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
09-20-2007 12:09 PM - edited 09-20-2007 12:09 PM
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
09-20-2007 12:41 PM
10-03-2007 03:12 PM
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
10-03-2007 04:54 PM