Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

connection problem when building real time app

Hello,

 

I have made a VI that will telnet to a controller box and I want to deploy this on an RT and the VI was built successfully. However, as I right click to set it "Run as startup", it would try to deploy, connect to the RT, and then it seems to hang during this process and post the message "Waiting for Real-Time target (CR3) to respond".

 

The RT is a desktop computer connected through a router and the firewall is turned off on the host computer.The connection worked just fine during this process. The Distributed System Manager shows the updates of system resources on the RT, which indicates that it is able to communicate with the host computer. How do I fix this problem? are there any services that need to be enabled? I have attached a screenshot here.

 

Thank you,

Max

0 Kudos
Message 1 of 3
(3,472 Views)
I have attached the project files here. Could someone please test it on your system? I can connect to the RT target just fine via MAX and issue commands like reboot but I dont know why it's not connecting when using Project Explorer.
0 Kudos
Message 2 of 3
(3,446 Views)

Hi MaxXx,

 

The VI you have running on your Target is a while loop with nothing that provides the control time for its network communications. Just add a Wait function inside the While loop and wire in 10 ms or so. This will keep it running fast but will give the controller time to communicate with your host.

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
0 Kudos
Message 3 of 3
(3,402 Views)