LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Local Variables and Web Publishing tool

I've just made a VI, that uses some local variables.
It works fine when I use it locally, but to my distress all these variables seem to be set to nil when I use the web-publishing tool.

How do I get around this problem?
0 Kudos
Message 1 of 2
(2,702 Views)
The first thing I would suggest is to not use local variables. Instead, use property nodes and read the value property. This saves memory.
But related to the question, I'm guessing that the values are just reset each time another user runs the VI. They go to the default value. I couldn't tell when you read them as nil (0?), but if it's always like that at the beginning of the VI's run, then they are just holding the default value of that control.
J.R. Allen
0 Kudos
Message 2 of 2
(2,702 Views)