DelRead
Description: |
Is called by a tag to delete an existing read request, as created by an AddRead. |
Returns: |
Nothing |
Usage: |
Script Only. |
Function Groups: |
Memory I/O |
Related to: |
AddRead
|
Format: |
VTSDriver\DelRead(Address, Value, Rate) |
Parameters: |
|
Address |
Required. The address from which to get the data. |
Value |
Required. A pointer to the destination for the read data. |
Rate |
Required. The update rate in seconds. |
Comments: |
DelRead() can only delete a single item. The module searches ReadList (a linked list of ReadBlocks) for the node whose info vars match those of the item to be deleted. It then looks for the matching rate, then the specific request as identified by Value (the address of the tag's RawValue) and removes it from the list. |
Trihedral and VTScada are registered trade marks of Trihedral Engineering Limited
© Trihedral Engineering Limited 1983- 2022 All rights reserved.