Arguments Tab
Note |
|---|
Arguments are named Inputs in the signature editor for triggers in state machines. |
This tab contains the following elements.
arguments field
Lists all existing arguments with name and type.
AddAdds a new argument of the type cont.
DelDeletes the argument selected in the arguments field.
Argument Properties field
Argument Type combo box
Select the type of the argument selected in the Arguments field. Possible values are:
<user defined>
component or enumeration as argument
<enumeration>
enumeration as argument
cont, sdisc, udisc,
limitInt, wrapInt, log
scalar argument of the respective type
array[cont], array[log],
array[sdisc], array[udisc],
array[limitInt], array[wrapInt],
array[<enumeration>], array[<record>]
array argument of the respective type
mat[cont], mat[log],
mat[sdisc], mat[udisc],
mat[limitInt], mat[wrapInt],
mat[<enumeration>], mat[<record>]
matrix argument of the respective type
Note
In the signature editor for methods (operations) in ClientServer interfaces, the available argument types are restricted: matrix arguments are not available, and only records can be used as component argument.
A state machine with a complex trigger argument cannot be stimulated in an experiment.
Unit field
Enter the unit of the selected argument.
Comment field
Enter a comment for the selected argument.
Type combo box
Select a type for a wrapInt argument.
Min and Max fields
Enter lower and upper limit for a limitInt or wrapInt argument.
For limitInt, the values in Min and Max must be representable in sint32 or uint32.
For wrapInt, the values in Min and Max must be representable in the selected Type.
context menu in the Min field
context menu in the Max field
Direction combo box
Select the direction of the argument (see Directions of Method Arguments).
In
The argument can be read in the method.
Out
The argument must be written in the method.
InOut
The argument can be read and written in the method.
See also