Discussion:
How do I force SVE to (re)initialize variables?
(too old to reply)
knicewar
2008-08-11 18:10:06 UTC
Permalink
I have a whole bunch of shared variables and I'm using the handy intial value property that comes with DSC.  However, I was surprised to find that the initial value is not applied every time I run my VI.  The values are what they were when the VI was last run.  Sure enough, according to the documentation, the initial values are only applied when the SVE starts.  Bummer!  Is there a way to force the SVE to initialize all its variables?  Otherwise, I have to include a huge error-prone list of SV initialization in my VI ... yuck!
juliodiaz
2008-08-12 20:40:23 UTC
Permalink
Did you try to use in block diagram "undeploy library.vi" and later "deploy library.vi", this will initialize SV to default value.
knicewar
2008-08-12 21:40:20 UTC
Permalink
That works great -- thanks!

Loading...