This function partially updates the value of the global variable with the value of the associated local variable via the interface ('locVar' provided by gv_link or gv_create).
Syntax |
i32 gv_write_partial (i32 gvID, u32 offset, u32 dataLen) |
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gvID |
ID of the global variable (obtained from gv_link or gv_create) |
||||||||||||||
offset |
Offset in bytes in the variable (from 1 to the size of GV-1) |
||||||||||||||
dataLen |
Length of the data to be updated (from 1 to the size of GV) |
||||||||||||||
Result |
Returns:
|
||||||||||||||
Validity |
Rule, Task |
||||||||||||||
Note |
|