cRIO Startup Application is not Running Without Physical Connection to Host

Updated Sep 11, 2018

Reported In

Hardware

  • cRIO-9063

Software

  • LabVIEW Real-Time Module
  • LabVIEW NXG
  • LabVIEW

Issue Details

I have a real-time system with a startup executable embedded on the controller. I am using "Open FPGA VI Reference" to reference my FPGA target. After I reboot the controller, the application is only working if my controller is connected with PC via Ethernet or USB cable. When Ethernet/USB cable is not connected, application is not running. Application does not send any data to host. How can I resolve this issue?

Solution

When you want to run your startup application on Real-time system without physical connection to host, use Real-time system Alias which can be found in Measurement & Automation Explorer (MAX) as resource name for "Open FPGA VI Reference" function. This uses an internal communication method to interface with local targets and does not rely on network communication.


Note: This answer is a part of knowledge base Is There a Difference in How I Reference My FPGA Target?

Additional Information

If startup application on your Real-Time controller communicates only with FPGA and not with the Host PC, application will work also without physical connection (Ethernet/USB). 
When you reference your FPGA target ("Open FPGA VI Reference") using an IP address, the information sent to and from the FPGA goes through the RIO server, which requires going through the network using TCP/IP.

If your application doesn't work without physical connection, you should also receive an error on Real-Time Controller:

Error -63043: The session is invalid. The target may have been reset or rebooted, or the network connection may have timed out because of processor overuse. Check the network connection, reduce the demand on the processor, and decrease the timeout of the operation that failed.

WAS THIS ARTICLE HELPFUL?

Not Helpful