03-21-2016
01:23 PM
- last edited on
01-14-2025
05:18 PM
by
Content Cleaner
Hi,
i am just wondering why it seems not to be possible in LabView 2015 to create shared variables as written here (http://zone.ni.com/reference/en-XX/help/371361G-01/lvconcepts/ni_psp/):
"Dynamically Creating Shared Variables
The SVE will automatically create the target variable with default properties when a client attempts to connect to a URL with the following format.
I always get an error message saying the variable could not be found on SVE.
Is there now a different way to create shared variables dynamically?
Thank you in Advance!
basileus
03-22-2016 12:36 AM
If I go to the url that you reference, I get "Page Not Found". I guess that's as good an answer to your question ("It can't be done") as any ... (that remark is slightly tongue-in-cheek). Actually, I didn't think you could dynamically create Shared Variables, but I'm willing to learn that I'm wrong ...
Bob Schor
03-22-2016
01:53 AM
- last edited on
01-14-2025
05:18 PM
by
Content Cleaner
Hi Bob_Schor,
you are right, the url doesn't work. This one should:
https://www.ni.com/docs/en-US/bundle/labview/page/understanding-shared-variable-technology.html
03-22-2016 08:28 PM
Thanks. It's been a while since I used Shared Variables, but that Help document seems to say what I remember -- that you create them in Project (just like you create any other kind of variable). There are some things you can do with code, but creating Shared Variables does not seem to be among them.
Bob Schor