<< Click to Display Table of Contents >>
Write |
Write([WriteSyncMode])
Writes the I/O Block's current value to a device. Usually, this script command is used only when the object's AllowWrite property is set to False. The WriteSyncMode parameter allows users to use a writing mode that may be different from the one used by the I/O Driver. The available options for this parameter are 0: Uses the writing mode configured in the I/O Driver, 1: Performs a synchronous writing, or 2: Performs an asynchronous writing, no confirmation.
If the WriteSyncMode parameter is omitted, the writing mode configured in the I/O Driver is also used. For more information, please check Driver's documentation. This method returns a Boolean indicating whether this operation was successful or not.