Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

shared variables do not work in executable but works in editor mode

I have an application where I am running code on the windows pc and labview real-time desktop.  I am using shared variables to communicate between the two.  In editor mode, the shared variables update fine.  When I build the executable, the shared variables no longer work.  I have read these articles and used them to help me troubleshoot but they could not resolve my problem.

 

http://digital.ni.com/public.nsf/allkb/6E37AC5435E44F9F862570D2005FEF25

http://zone.ni.com/devzone/cda/tut/p/id/5715

 

I have also disabled my firewall and added the following to the firewall exceptions list:

C:\Windows\system32\lkads.exe
C:\Windows\system32\lktsrv.exe
C:\Program Files\National Instruments\Shared\Tagger\tagsrv.exe
C:\Program Files\National Instruments\DataSocket\cwdss.exe

C:\Program Files\National Instruments\Shared\System Manager\9.0\SystemManager.exe

 

I also checked my TCP settings and they are all correct.  Is there other things I can try besides reinstalling LabVIEW?

 

 

 

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

Looks like it decided to work again.  I just rebuilt the application several times.

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