Write

<< Click to Display Table of Contents >>

 

Write

Write([WriteSyncMode])

Writes I/O Block Element's current value to a device. Usually, this script 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: Writing mode configured in the I/O Driver, 1: synchronous writing mode, or 2: Asynchronous writing mode, 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.

Was this page useful?