UInt16
signal TPT.UInt16([string name])
Declares a new assessment variable of type uint16 (0 .. 2^16-1).
Parameters:
[name]
(optional)
logical name of the new assessment variable. This parameter is optional. If
not specified, the name will be automatically derived from the variable name it is
assigned to. Example foo = TPT.UInt16()
leads to a new
assessment variable with logical name foo
Returns:
new assessment variable
Examples:
# create an uint16 assessment variable with name "dv" and set the value to constantly 2 dv = TPT.UInt16(); dv := 2; # create an uint16 assessment variable with name "dc" dc = TPT.UInt16(); dc(t) := (t < 1sec) ? 13 : 17; # value changes from 13 to 17 after 1sec