LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Could this code work without deployng the Shared Variable?

Solved!
Go to solution

Hello there,

 

I inherit this code, and the consequent executable, that involve some shared variable but i simply can't make it work even if the one who gave me assure me it's functionality. I have the strong feeling that in development system he had deployed the shared variable and only then connected to it. So, my question is: how can i deploy a shared variable with the same options so that the two executable could share the data?

 

 

Immagine.jpg

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

The easiest way to see how this is configured and to explain it to you is to see the entire LabVIEW Project (as the Shared Variables are defined in the Project.  Compress the folder that has the Project and its files and attach the resulting .zip file.

 

Bob Schor

0 Kudos
Message 2 of 3
(2,312 Views)
Solution
Accepted by topic author FM82

Yes, this code opens connection to existing, previously deployed variable.

If you have only VIs, but not project with these variables, you need to either ask for that project or configure them from beginning.

Right click My computer -> New -> library,

Save library as Variable_Lib1

Right click Library -> New -> Variable

Right click library -> Deploy

Your code does not contain properties of the variable (buffering length, single writer or not, etc).

Message 3 of 3
(2,306 Views)