Showing results for 
Search instead for 
Did you mean: 

mapping constant block parameters in simulink to a Veristand control block

Go to solution



I am trying to take a simple model of a RL circuit in simulink (built a dll file) and add control of constant blocks in Veristand to dynamically change the value of R and L constant thru the Veristand Slider or Numerical indicator. I can see the ouput of the model executing, based on the initial values I have loaded, but I am not able to mapping these Parameters to the any numeric control. 


Any thoughts of how to accomplish this!

0 Kudos
Message 1 of 4



When you add the model in the system explorer, do you have inports on the  R and L on your model in the system explorer?  If you can see them there and the connect inside the model properly, you should be able to attach these to controls in your workspace.


Here is some information on setting up your model.

-Marshall R
National Instruments
Applications Engineer
One stop for all your NI-VISA Support

GPIB Support has a new homepage
0 Kudos
Message 2 of 4

Yes in the model explorer I am able to inport the Parameters. When I run my workspace and try to define the channel of a Numeric Control as the Gain I added in the Parameters of the System Explore, it does not list parameters as a option. When I define this channel of the Numeric Control is on list Simulation Models -> Models -> rl_tjh -> Execution ; it does not have an option to select Parameters.



0 Kudos
Message 3 of 4
Accepted by topic author TreverJHassell

Hey Trever,


You have to use a model calibration control to interact with parameters, not a numeric control.


Take care!

Stephen B
Message 4 of 4