Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
4 ratings:
 4.5 out of 5     Rate this Document

Startup EXE not Launching on Real-Time (RT) Target at Controller Reset

Hardware: Compact FieldPoint>>Controllers, Compact FieldPoint>>Controllers>>cFP-2120, Compact FieldPoint>>Controllers>>cFP-2000, Compact FieldPoint>>Controllers>>cFP-2010, Compact FieldPoint>>Controllers>>cFP-2020, Compact FieldPoint>>Controllers>>cFP-2100, Compact FieldPoint>>Controllers>>cFP-2110, Compact FieldPoint>>Controllers>>cFP-2200, Compact FieldPoint>>Controllers, CompactRIO>>Controllers>>cRIO-9002, CompactRIO>>Controllers>>cRIO-9004

Problem:
I have a real-time system with a startup EXE embedded on the controller. However, the EXE only launches when the controller is connected to the ethernet/network cable. Whenever the ethernet cable is removed, the startup EXE does not launch on controller reset.

Solution:
A possible reason why the startup executable is not launching could be that the real-time controller is configured for a DHCP IP address and is still searching for a network address. Since the controller is not connected to the ethernet, the controller cannot acquire a network address and as a result, the startup EXE does not launch. If the system must start on bootup without an ethernet connection, you can set a static IP address by the following steps
  1. Detect the remote system in MAX. On the Network Settings page of the controller, disable the Halt System if TCP/IP Fails option.
  2. Assign a static IP to the Remote Controller by selecting Edit IP Settings instead of Obtain IP address from DHCP server option. Do not use the DHCP server in this case where the controller might be disconnected from the network.
  3. Reboot the remote system.
The startup EXE will boot up on controller reset regardless of whether the network cable is connected to the controller or not.

Related Links:
Knowledgebase 4ZL721HY: Deploying A Start-up Application To A Compact RIO Or Real-Time FPGA System
Developer Zone Tutorial: Step by Step Tutorial: How to Embed an Executable VI on a networked RT Series hardware

Attachments:





Report Date: 10/17/2006
Last Updated: 12/28/2009
Document ID: 42GD4FZ

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