(VTSDriver Library)
Description: Used by a tag to create a write request to a driver address.
Returns: Object value of underlying write module.
Usage: Script
Format: …\Driver\Write(Address, N, Val[, DType, TagName, Success])
Parameters: Address { text } { required } { no default: }
The starting address to write the data to.
N { numeric } { required } { no default: }
The number of elements to write.
Val { pointer } { required } { no default: }
A pointer to source of the data to be written.
DType { numeric } { optional } { no default: }
The data type to be written to the I/O device.
TagName { text } { optional } { no default: }
The name of the tag that is writing the data.
Success { pointer } { optional } { no default: }
Pointer to a Boolean, used to pass success/fail information.
Comments: Allows the reading of a specific address on demand. The resulting data will be sent only to the requesting machine. Will not work for client writes via a server.
The object value of the underlying read module is returned from the function. When the write finishes, the returned object’s value will go to Invalid, signaling the end of the write operation.
See Also: AddRead