| ||||||||||||||||||||||||||
rsRsiAddHarnessAdd a harness to an .rsi file. SyntaxrsRsiAddHarness(rsiId,harnessName,system) Description
The system parameter specifies the system under test for the new harness. The path is given as a list of systems separated by the "/" character. For example, sys1/sys2/sys3 specifies that system "sys3" (located within sys1/sys2) is the system under test. See AlsorsRsiRemoveHarness, rsRsiSetCurrentHarness, rsRsiGetCurrentHarness, rsRsiGetHarnesses, rsRsiGetHarnessParameterValue, rsRsiSetHarnessParameterValuersRsiRemoveHarnessRemove a harness from an .rsi file. SyntaxrsRsiRemoveHarness(rsiId,harnessName) Description
The currently active harness and the (default) harness for the model's top-level system can not be removed. See AlsorsRsiAddHarness, rsRsiSetCurrentHarness, rsRsiGetCurrentHarness, rsRsiGetHarnesses, rsRsiGetHarnessParameterValue, rsRsiSetHarnessParameterValuersRsiSetCurrentHarnessSet the currently active harness in the .rsi file SyntaxrsRsiSetCurrentHarness(rsiId,harnessName) Description
The currently active harness setting affects all calls to API functions that read or modify information about inputs or outputs, such as rsRsiSetInputType, rsRsiGetInputType, rsRsiSetOutputTolerance and similar. Those functions will operate on inputs/outputs of the system specified for the harness. To activate the (default) harness for the model's top-level system, use "TopLevel" as the harness name rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. rsRsiSave must be called to save modifications to .rsi file in order for them to be used by subsequent calls to rsSimOpen or rsTester. Updates to .rsi file are not propagated to any running Simulator or Tester sessions. See AlsorsRsiAddHarness, rsRsiRemoveHarness, rsRsiGetCurrentHarness, rsRsiGetHarnesses, rsRsiGetHarnessParameterValue, rsRsiSetHarnessParameterValue, rsRsiSaversRsiGetCurrentHarnessGet the name of the currently active harness. SyntaxrsRsiGetCurrentHarness(rsiId) Description
The currently active harness setting affects all calls to API functions that read or modify information about input or output types, such as rsRsiSetInputType, rsRsiGetInputType, rsRsiSetOutputTolerance and similar. Those functions will operate on inputs/outputs of the system specified for the harness. See AlsorsRsiAddHarness, rsRsiRemoveHarness, rsRsiSetCurrentHarness, rsRsiGetHarnesses, rsRsiGetHarnessParameterValue, rsRsiSetHarnessParameterValuersRsiGetHarnessesGet the a list of all harnesses defined in an .rsi file. SyntaxrsRsiGetHarnesses(rsiId) Description
See AlsorsRsiAddHarness, rsRsiRemoveHarness, rsRsiSetCurrentHarness, rsRsiGetCurrentHarness, rsRsiGetHarnessParameterValuersRsiGetHarnessParameterValueGet the value of a harness parameter SyntaxrsRsiGetHarnessParameterValue(rsiId, parameterName) Description
Currently valid harness parameters are:
See AlsorsRsiAddHarness, rsRsiRemoveHarness, rsRsiSetCurrentHarness, rsRsiGetCurrentHarness, rsRsiGetHarnesses, rsRsiSetHarnessParameterValuersRsiSetHarnessParameterValueSet the value of a harness parameter SyntaxrsRsiSetHarnessParameterValue(rsiId, parameterName, parameterValue) Description
Currently valid harness parameters for modification are:
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. rsRsiSave must be called to save modifications to .rsi file in order for them to be used by subsequent calls to rsSimOpen or rsTester. Updates to .rsi file are not propagated to any running Simulator or Tester sessions. See AlsorsRsiAddHarness, rsRsiRemoveHarness, rsRsiSetCurrentHarness, rsRsiGetCurrentHarness, rsRsiGetHarnesses, rsRsiGetHarnessParameterValue, rsRsiSave | ||||||||||||||||||||||||||