LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI RT startup application not working when the PC is switched OFF

Hi
I have an system using PXI RT. I built the application in the Labview 5.12 RT with PXI rt as target. I enabled the load application at start up in the Edit>network preferences>RT access-miscellaneous. When I rebooted PXI RT the application get loaded. When I switch of my PC from which I built the application, the RT also stops the execution, which we had built. What could be the reason for this?

Do I need to enable any other settings?
0 Kudos
Message 1 of 6
(3,315 Views)
Which PXI controller do you have?

Are you targetted to the running RT executable when you power off your PC? I have never tried this, but it might have a negative impact. What happens if you switch execution target to LabVIEW for Windows and then close LabVIEW and shut down the Windows computer normally? Is this what you were already doing?

Also, does the startup executable communicate with the host computer in any way (TCP/IP, DataSocket, etc)?

What indication do you have that your RT application stops running?

Aside from these things, the only thing I could think of would be if your Windows PC and PXI chassis were on the same power strip and you were using the power strip to turn off power to the Windows PC. I doubt this would be the case, but sometim
es that which goes unasked can be the culprit, so I at least thought I'd mention it as a possibility.
0 Kudos
Message 2 of 6
(3,315 Views)
Hi Jeff

1. I use PXI 8156B

2. I couldnt understant your second point. Typically, I built the application targeting the PXI RT.

3. The startup doesnt communicate with the host computer in any way.

4.I use the FP ehternet modules along wiht the PXI RT. During normal operation, the network LED on the FP would be glowing. In the case of the application stops running the network LED on the FP doesnt glow at all.

5.I too checked this part when I had the problem. But to avoid this type of scenario, we use a seperate UPS for the RT apllication. So there is little chance that the RT get switched OFF.
0 Kudos
Message 3 of 6
(3,315 Views)
How do you exit LabVIEW when you are targeted to the PXI Box ?
In the LabVIEW Menu "File" there are two ways to shut down LabVIEW. One is just "exit" and the other one is "Exit without closing RT Engine VI's".
Which one are you using ? If you exit LabVIEW with just the "Exit" then all the VI's on the RT Engine are being closed as well. If you use the "Exit without ..." then the VI's on the RT Engine continue to run.
0 Kudos
Message 4 of 6
(3,315 Views)
Gandalf clarified my second point well, see that response.

On your point 4, I do not feel that the status of a FieldPoint LED is a valid way to determine the execution status of code on the PXI-8156B. Do you have any digital I/O points available to you on any hardware in the PXI system? I would suggest adding a small bit into the application to toggle one of these lines periodically. Then you can monitor this on a scope, connect an LED, etc. Alternatively you could use the PXI watchdog VIs. See the Watchdog examples that ship with LabVIEW RT for more information on these.
0 Kudos
Message 5 of 6
(3,315 Views)
Hi
Thank you for your valuable observations for my queries.
I would like to put forward a few points here.

1. We have checked the application running on the PXI RT in a similar manner as suggessted by Mr.Jeff. Once the PC is shut down the we donot have the response.

2. Incase as MR Gandalf suggesssted reagarding exiting the LabVIEW RT,I havent tried that one. But why should the PXI RT start the application automatically when the PC is started again.
0 Kudos
Message 6 of 6
(3,315 Views)