10-20-2011 09:15 AM
The VI seems to work fine for me. You will just need to make sure you set the default value on your parameters wisely since one of them (VoltageIn_t0_V) cannot be changed after you start running. Or if you do want to change it before the model starts, make sure to set the model as "start paused" then change the value and then run the model.
10-20-2011 10:27 AM
Thx Stephen.
L.
04-10-2013 12:39 PM
Hello All,
Checking to get clarification on one thing that was posted in this board. I see it is possible to change the value of a parameter while a project is deployed and running, but is it possible to change the "initial value" of a parameter before the model is deployed? I am working with a .dll that was meant to have some of the parameters configurable before deployment. Thanks.
GSinMN
04-10-2013 01:17 PM
unfortunatley no, not at this time. this is something we are aware of and hope to address in the future.
the work around is to set the model to start "paused". then when nivs starts up, change the parameters, stop and restart the model.
04-10-2013 01:23 PM
Thanks StephenB,
That's what I suspected, but figured I would still ask since the original post was a few years old.
GSinMN
04-10-2013 01:53 PM
Could you load the model in the paused or stopped state and then apply your parameters and then start the model?
04-11-2013 09:07 AM
Hi joshe,
As Stephen mentioned in the post above your can set the initial state of the model as paused:
Once the system definition file is deployed you can change the parameters of the model and then start running it.