LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RT connection times out

Hello all,

 

This seems like a simple problem that I can't seem to find a solution for.  I have a large RT application that I am attempting to deploy on a PXI chassis (controller is an 8110).  I can build the application and run it as an executable, however, when I attempt to run the chassis from the VI on the controller for debugging purposes, I keep getting the warning: "Connection to the Real-Time target (RT PXI Target) has been lost."  Does anyone have any thoughts as to what could be going on?  This is irritating as I can not currently debug my app.

 

Peace, Matt

0 Kudos
Message 1 of 3
(2,549 Views)

The thread in the PXI that is handling the updating of the front panel of the vi you are trying to see on you PC has the lowest priority.

If your code are, for some reason, using the full power of the PXI system, there are not time for sending updates of the front panel to your PC, and you will get the dialog box you are seeing.

 

You should not use this kind of method to debug your system. You need to use some kind of client server communication, either by your own TCP/IP protocol or by shared variables.

 

Hope this helps.

0 Kudos
Message 2 of 3
(2,543 Views)

Thanks, dk_fire!  That's what I thought might be happening.  The odd thing is that I haven't really made any major changes since I last had this working, so I must have been right at a processing threshold.  And that's unfortunate, because debugging using client-server type communication (as I now am) is incredibly inefficient and is reminiscent of what someone who does not know how to use an IDE would do (akin to placing print statements in C or FORTRAN code).  Well, I guess I will trudge ahead unless anyone has a better idea.

 

Cheers, Matt

0 Kudos
Message 3 of 3
(2,538 Views)