Please enable JavaScript to view this site.

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:

Value

Meaning

0

Operation successfully completed

-1

Manager not enabled

-2

InvalidgvID (nonexistent interface)

-3

GV is blocked

-4

Write access blocked by password

-5

Invalid offset or data length

Validity

Rule, Task

Note

 

 

  

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