Please enable JavaScript to view this site.

Function to write a SoE parameter (writing the stru.idn parameter to the device identified by stru.rid and information taken in source).

Writing can be done in pass-through mode or in blocking mode (usable only in tasks 1-:-8).

Pass-through mode means that the function must be continuously called and this returns the current state of the task.

Blocking mode means that the function is invoked and returns only when it has completed the write operation.

The function returns a result on the state of execution.

NOTE: To write commands to SoE procedures, set stru.cmd to the value concerned (see soe_widn directive).

Syntax

i32 soe_widn (stru_soe_idn stru, source)

stru

Structure of type stru_soe_idn containing the information for writing a SoE parameter

source

Contains the value to be written. source must be an object compatible with the data being written (if writing a VISIBLE STRING, source will be of type string, if writing an OCTET_STRING it will be a byte array or structure).

When writing arrays only information whose length is <= to 256 bytes will be handled. Having to write larger information use OCTET_STRING as the data type and provide a sufficiently large souce buffer (of course interpretation of the data is up to the application)

Result

Variable containing the result.

See pass-through mode and/or blocking mode

Validity

Rule, Task

System Requirements

RTE 34.18.3

Note


hmtoggle_plus1  Pass-through mode

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC