Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Why Does My Real-Time Controller with NI-RIO and NI-Sync Crash?

Primary Software: LabVIEW Modules>>Real-Time Module
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-RIO
Hardware: Multifunction DAQ (MIO)>>Real-Time

Problem:
I have a real-time controller with NI-RIO 2.3 and NI-Sync 2.0.1 installed and the controller will not boot.  Why does my controller crash when booting?

Solution:
This is a known compatibility issue with NI-RIO 2.3 and NI-Sync 2.0.1. When a real-time controller boots, it loads the DLLs listed in the ni-rt.ini file.  With NI-RIO 2.3 the .dll NiRioRpc.dll must load after the .dll for NI-Sync 2.0.1 (niSync.dll).  To correct this issue you must manually edit the ni-rt.ini file after the controller has booted into safe mode and switch the order the .dlls are loaded.

An incorrect ni-rt.ini file will look similar to the following:
StartupDLLs=NiRioRpc.dll;c:\ni-rt\system\niSync.dll;NiViSrvr.dll;c:\ni-rt\system\nipxism.dll;
c:\ni-rt\system\mxsemb.dll;niorbp.dll;

A correct ni-rt.ini file will look similar to the following after switching the order of NiRioRpc.dll and niSync.dll:
StartupDLLs=c:\ni-rt\system\niSync.dll;NiRioRpc.dll;NiViSrvr.dll;niorbp.dll;c:\ni-rt\system\mxsemb.dll;
c:\ni-rt\system\nipxism.dll;

The ni-rt.ini file can be found in the root directory of the real-time controller.

Related Links:

Attachments:





Report Date: 09/26/2007
Last Updated: 09/27/2007
Document ID: 4DPLNITS

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit