05-19-2011 03:14 AM
Hi all,
I'm a newbie in VeriStand 2010, and I'm struggling to solve this issue
How can I set the startup values of my model's parameters?
I'm able to export them in Simulink, and i see them in VeriStand.
But I'd like to modify at startup of simulation.
How can I do?
Can I write a "Procedure" which calls a Calibration (.m) file at simulation startup?
thanks
R
05-20-2011 08:58 AM
Hi,
You can try to visit this page:
Have a great weekEnd!
Clod
05-20-2011 11:10 PM
05-23-2011 02:19 AM
Thanks for response!
It's a good idea to start the simulation paused... but I'm becoming greedy to idea of using API.
How can I use them?
Need I to have VeriStand running to use them?
Can I integrate executable/ironpython in VeriStand Workspace?
Thanks!
R.
05-26-2011 07:50 AM
Hi Primusucks.
The way that worked best for me was not to use parameters but define the parameter values as inputs. Then I mapped some User Channels to these inputs.
I am not sure if you can do that with Simulink models. With LabVIEW models it works.
With this solution undefinded or zero-value parameters can be avoided.
Is that fine for you?
05-27-2011 05:24 AM
Thanks for response,
but I'm forced to modify parameters because I cannot modify Model's DLL....
Bye!
09-12-2011 08:45 AM
Hi,
VeriStand has the Off-line API that allows you to change the Inports and Outport default values. With this I was able to define the model´s input values while it is in pause always you deploy the SDF.
You can write a LabVIEW code to write new values to parameters or inports any time after deploy (I believe that is this that you want) using VeriStand API.
We use both approaches in our application.
Cheers,