LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Seeing all VIs in Memory with executable

Hello,
 
I was trying to write a little app to monitor the front panel positions of all visible VIs.
 
I used the Application level property node for All VIs In Memory to find the ones that were visible.  Anyway, I have it working as I like in VI mode, but when I compile and run the exe with the application builder, it only shows the visible VIs in the executable.  I guess this makes sense, but I was hoping it knew what I wanted to do.
 
Is there any way to show all the VIs loaded from LabVIEW in memory when running an executable? I tried the "localhost" machine name in Open Application Reference, but it appears that it works in the opposite direction I desire (ie. it makes executable VIs visible from LabVIEW).
 
Any help would be great,
Jon
0 Kudos
Message 1 of 2
(2,870 Views)
  • First you must enable the VI Server on your executable. This may be done by enabling the options menu in one of the VIs or by setting appriate keys in the app.ini file. Choose a port different from LabVIEW (3363).
  • Second, the application property All VIs in Memory is not available remotely, only locally. That means that LabVIEW can't directly read that property on an app and vice versa. To circumvent that, write a VI the reads that local property and call it remotely to get the result.


LabVIEW, C'est LabVIEW

Message 2 of 2
(2,861 Views)