LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variable dialog not visible in trial version of Community Labview

I'm new to Labview and am trying to learn how to use shared variables between two main.vi files.

 

I could not see the Shared Variable dialog under the project folder (My Computer/New/..).

 

Is this feature not available for the trail version?  I attached a screen-shot of what I can see with regard to menus.

 

Thank you for any help and apologies in advance.

 

Thank you.

0 Kudos
Message 1 of 6
(414 Views)

Shared Variables have to be under a library. Create a library and then you can right-click on the library to create a Shared Variable.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 6
(404 Views)

Hi.  And, thank you for replying.

 

REVISED: My OS is a Mac (Big Sur).  Is this an admin issue?

 

I added a library and obtained a build error: Error 8 occurred at Create Folder.  The verbose reply message is below. Any help gratefully appreciated.

 

Click the link below to visit the Application Builder support page. Use the following information as a reference:

Error 8 occurred at Create Folder in Create Directory Recursive.vi->AB_Destination.lvclass:Create_Destination.vi->AB_Build.lvclass:Create_Destinations.vi->AB_Application.lvclass:Create_Destinations.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_DLL.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_Frmwk_Build.lvclass:Build.vi->Build Wrapper.vi->Build Wrapper.vi.ACBRProxyCaller.6D20003B

Possible reason(s):

LabVIEW: (Hex 0x8) File permission error. You do not have the correct permissions for the file.

/Applications/National Instruments/builds

0 Kudos
Message 3 of 6
(397 Views)

Revised again.  I read somewhere that Xcode for MacOS was required for building the shared library, so I installed Xcode.  Still no luck on the error message.  Hope for some help from the community.  Thank you

0 Kudos
Message 4 of 6
(374 Views)

@hornPlayer wrote:

Revised again.  I read somewhere that Xcode for MacOS was required for building the shared library, so I installed Xcode.  Still no luck on the error message.  Hope for some help from the community.  Thank you


I can only confirm, that this option is missing on Mac (Sonoma and xcode is installed), here is side by side comparizon with Windows:

Screenshot 2024-10-08 23.12.34.png

0 Kudos
Message 5 of 6
(361 Views)

Hi

 

Wonder if the 'Shared Variable' concept was ever supported in macOS ?

 

Opening LabVIEW 2018 for Windows one can see this :

 

softball_0-1728459721066.png

 

There is an example project demonstrating 'Shared Variable'.

 

Opening LabVIEW 2018 on a macOS Sierra machine there is no such example project. The subsequent listed examples are the same for Mac and Windows by the way.

 

NI made big marketing noise about Shared Variables in 2006..2010. Then they went pretty silent. At that time Shared Variable was expressly not implemented neither for Linux nor for Mac.

 

As such pretty impressive that it still works at all. Considering the age and network evolution. Whether one should still use it is another question ( most say no ).

 

Regards

 

 

0 Kudos
Message 6 of 6
(335 Views)