LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with network shared variables deployment on windows PC while installing INSTALLER

Solved!
Go to solution

hi,

 

I'm using LabVIEW 2014 on Windows 7. I have a project which is developed to be a client GUI (192.168.1.208). This GUI communicates with an RT application (192.168.1.206) running on LV RT OS and the two are connected with a network. The NSV (network shared variables) are hosted at RT side (SVs is on RT side project/application). This part (communication and all) is working fine.

 

Now another part is data logging. For which NSV (hosted in GUI project) are used to communincate strings (of events with data) to a computer running data logging server from this PC (192.168.1.208). Please Note here, presently same PC (192.168.1.208) has been used for data logging server implementation but later there may be new PC that's why NSVs are used. I gave this information in case there may be any problem (are chances though).

                                       implementation scheme.png

 

I created an application (*.exe) and installer for GUI project. Data logging from this PC (192.168.1.208) if I use any of options- project/*.exe/installer works expectedly. but when I try to install this installer into another PC on the network which doesn't have any NI services installed it gives following error while installing:

 

Deploying Shared Variables.lvlib\\192.168.1.109\Shared Variables deployment failed (error: -1967362042, OS and Network Services: (Hex 0x8ABC7006) Unable to start service.).

 

 

I have experimented nearly all variations in building installer and .exe for it but couldn't get rid of this error.

 

I also want to know how would a PC not having NI services/programs installed would host NI Shared Variable Engine. Although for implementing Run Time Engine into the application we are giving option while building .exe. But not for SVE.

 

I have wasted many weeks over this issue so urgent help would be very much appreciated.

 

Thanks.

0 Kudos
Message 1 of 5
(4,019 Views)

NSVs work by having a copy of the NSV engine running on all applications that read/write to NSVs and they then communicate between each other asynchronously (and you just read from LV when your application makes the calls). You will need to make sure you have the required NSV components installed on the logging machine. If you try including the 'NI Variable Engine' and 'NI Logos', does it work then?

 

Also - how are you using strings for sending events via shared variables? I would have thought that network streams would be more suitable as they are lossless (NSVs only retain the latest value).


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 5
(3,991 Views)

Thanks Sam_Sharp

 

 

0 Kudos
Message 3 of 5
(3,977 Views)
Solution
Accepted by topic author rahulrana

If you untick the 'automatically select installers' option in the installer build specification, it should give you the full list of installers you can include. It's a bit weird that it hasn't detected the requirement for NSVs though.

 

I do think that you're making life difficult for yourself by trying to do some weird handshaking with strings/NSVs - NSVs are 'tag' based data - they're good for reading the latest value of a signal/variable. If you want to send messages around - use Network Streams, TCP/IP - there's even something like the Simple Messaging Reference Library (STM) - http://www.ni.com/example/27739/en/


LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 4 of 5
(3,970 Views)

Thanks

0 Kudos
Message 5 of 5
(3,927 Views)