<< Click to Display Table of Contents >>
Write |
Write(N1, N2, N3, N4, Value, [WriteSyncMode])
Writes data to a device. This method returns a Boolean indicating whether that operation was successful or not. The N1 to N4 parameters correspond to I/O Driver's N parameters. The Value parameter defines a value to write to the I/O Driver. The WriteSyncMode parameter allows users to use a writing mode other than 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: Executes a synchronous writing, or 2: Executes 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 about these parameters, please check Driver's documentation.