<< Click to Display Table of Contents >>
AllowRead |
Defines whether this I/O Block is read by the I/O Driver. If this property is enabled, the I/O Driver automatically updates all I/O Block Elements inserted in this I/O Block, in time spans defined by the Scan property. Otherwise, this I/O Block is neither read nor updated. The default value of this property is True. The next script contains an example of using this property.
Sub Button1_Click()
'Stops block reading
Set obj = Application.GetObject("Driver1.block1")
obj.AllowRead = False
End Sub