Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
void (_stdcall *PointOldValue)(HOBJ PtID, KomUniVal *Val, unsigned int Stat, int TransId); |
Parameters
PtID | I/O tag ID. |
Val | Pointer to KomUniVal structure with the historical value of the I/O tag. WARNING: Do not use and write directly into KomUniVal structure of the I/O tag (the parameter ppPtVal) in the PointPar structure. This structure is used by the process D2000 KOM to compare with a new value and the value is sent to the system if the value or status of the new value and previous one are not the equal. This behaviour can be influenced in part by the attribute Stat (see next parameter). |
Stat | Attributes for writing a new value. Possible values:
|
TransID | ID of the transaction, which was sent by the process D2000 Server as a parameter of the procedure ReadStoredData. |
Description
The function sends a historical value of an I/O tag, which is got obtained by calling the function ReadStoredData, to the system. The value is not inserted into the system as current one but it is saved by the process D2000 Archiv process.