This Method sets the Value of array elements of the SimulationValue array Variable. The security constraints defined in chapter 6.7 apply.

Signature

SetSimulationValue (

[in] RioAnalogDataTypeValue

[in] 0:Byte Qualifier

[in] 0:Int16 Index

);

Argument

Description

Value

Value used to set the Value member of the array element.

Qualifier

Value used to set the Qualifier member of the array element.

Index

Index of array element to set. If -1, the parameters are assigned to all array elements.

The Method Result Codes (defined in Call Service) are defined in Table 23.

Table 23 – Possible Method result codes

Result Code

Description

Good

The Method execution was successful.

Bad_UserAccessDenied

The Client has not the right to execute the Method since the Operator Role is not granted to the Client’s Session

Bad_InvalidArgument

The Server is not able to assign the values. Possible reasons: Invalid qualifier value, invalid index. The server might also reject invalid values outside the supported range.

Bad_UnexpectedError

The server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.