Description: This module is called by a tag to delete an existing read request, as created by an AddRead.
Returns: Nothing
Usage: Script
Format: VTSDriver\DelRead(Address, Value, Rate)
Parameters:
Address { numeric
} { required } { no default
}
The address from
which to get the data.
Value { pointer } { required } { no
default }
A pointer to
the destination for the read data.
Rate { numeric } { required } { no
default }
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.
See Also: