The structure ST_Argument contains the information about an argument used in a method call.
Name |
Data type |
Description |
---|---|---|
etNodeDataType |
Data type of the node.
NOTE: This value must match the data type definition of the node on the server. In case of an array, specify the base data type of the array.
|
|
etArrayType |
Defines the type of the node: scalar value, array, or matrix. |
|
udiArrayLength |
UDINT |
Defines the number of elements of the array. The parameter is considered if etArrayType is equal to UATypeArray. |
udiNumberOfMatrixDimensions |
UDINT |
Defines the number of dimensions. The parameter is considered if etArrayType is equal to UATypeMatrix. |
audiMatrixDimensions |
ARRAY [1..3] OF UDINT |
Defines the number of elements of every dimension. The parameter is considered if etArrayType is equal to UATypeMatrix. |
pbyBuffer |
POINTER TO BYTE |
Address of the buffer allocated in the application. |
udiBufferSize |
UDINT |
Size of the buffer allocated in your application.
NOTE: In case the value of etNodeDataType indicates UATypeString and UANodeAdditionalInfo an array or matrix, assign the size of the array or matrix of the application to this parameter. This value has to match the node definition on the server.
NOTE: Use the
SIZEOF operator to get the size of the variable inside the application.
|
etErrorID |
Indicates diagnostic information as a numeric value. |