VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Array variable in stimulus profile editor

Hi, 

Am trying to assign a array values to Look up table in a Simulation model  from Stimulus Profile Editor 2011. What is the format to assign the array?

 

-Sid 

0 Kudos
Message 1 of 8
(5,461 Views)

Is the look-up table a parameter or an inport?

Jarrod S.
National Instruments
0 Kudos
Message 2 of 8
(5,443 Views)

It is a parameter

0 Kudos
Message 3 of 8
(5,437 Views)

am sorry its a parameter

0 Kudos
Message 4 of 8
(5,436 Views)

There are two main file types used in a test. The real-time sequence is deployed to the VeriStand Engine and runs in the primary control loop. A real-time sequence cannot set a parameter value.

 

The stimulus profile document is the host-side sequencer that deploys real-time sequences and performs other host-side operations like controlling data logging.

 

The stimulus profile can also run Workspace Macros, which record and playback various operations the user would perform through the Workspace window. One of the things a macro can play back is the setting of parameter values.

 

To set a parameter value, you can open the Macro Recorder Tool and start recording, then set your parameter value from the Model Parameter Manager. After you stop recording and save your macro, you can play it back from the Stimulus Profile using the Macro Player step under the Miscellaneous category.

 

You can then run different macros before running various real-time sequences to run your tests against different parameter sets.

Jarrod S.
National Instruments
0 Kudos
Message 5 of 8
(5,431 Views)

IS there a way to do it, if i make it an inport?

 

-SID 

0 Kudos
Message 6 of 8
(5,429 Views)
You can currently only map scalar channels to sequence parameters.
Jarrod S.
National Instruments
0 Kudos
Message 7 of 8
(5,420 Views)

Hi Jarrod_S.,

 

It's been almost 2 years.. can we now map vector channel (e.g, inport in model) to sequence parameter?

 

Thanks,

 

Rajamodol

0 Kudos
Message 8 of 8
(4,868 Views)