![SG Intec Ltd & Co KG SG-Lock Developer'S Manual Download Page 31](http://html1.mh-extra.com/html/sg-intec-ltd-and-co-kg/sg-lock/sg-lock_developers-manual_1250994031.webp)
Chapter 4: SG-Lock API
25
4.3.4 Function: SglWriteCounter
Description
Writes a 32-bit count value to the SG-Lock memory.
Types
U2:
-
U3:
U4:
Declaration
ULONG S g l W r i t e C o u n t e r (
ULONG P r o d u c t I d ,
ULONG CntNum ,
ULONG D a t a
) ;
Parameters
ProductId
Indicates the ProductId of the SG-Lock
CntNum
Number of counter
0 to 63 - SG-Lock U3
0 to 255 - SG-Lock U4
Data
Counter value to be written
Return values
SGL_SUCCESS
Count value succesfully written
SGL_DGL_NOT_FOUND
SG-Lock not found
The full list of return codes is listed in chapter 4.6.
Comments
See SglReadCounter.
Summary of Contents for SG-Lock
Page 2: ......
Page 22: ......
Page 60: ......
Page 62: ...56 Chapter 7 Technical Data Notes ...
Page 63: ...Chapter 7 Technical Data 57 ...