LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to Deployed Network Published Shared Variables (NPSV) RTEXE

Solved!
Go to solution

Hi Everyone,

 

I am using NPSVs to send tag data between the RT and HMI and this works effortlessly when running from the LabVIEW environment. However, I'm having difficulties when trying to read the NPSV when they have been deployed by an RTEXE.

 

When I restart the sbRIO the RTEXE runs (on startup) and the NPSVs work (proved by looking in Distributed System Manager). When I run the Host UI it is trying to deploy the NPSV which it shouldn't because they're already deployed and I get a conflict with the running RT application I'm trying to communicate with.

 

Has anyone had this before? Or knows what settings I should check?NPSV seen working my DMS (RTEXE)NPSV seen working my DMS (RTEXE)

 

 

Conflict that appears when running the UI from the host - showing the NPSVs I want to be connected toConflict that appears when running the UI from the host - showing the NPSVs I want to be connected to

 

 

0 Kudos
Message 1 of 2
(2,208 Views)
Solution
Accepted by topic author McQuillan

Update: I've noticed that the application works when I run the Host UI outside the project.  I only get the issue when running the host UI from the project. - Lesson learnt.

Expected behaviour?

0 Kudos
Message 2 of 2
(2,192 Views)