Write

<< 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 Driver's N parameters. The Value parameter defines a value to write to the Driver. The WriteSyncMode parameter allows users to use a writing mode other than the one used by the Driver. The available options for this parameter are the following:

0: Uses the writing mode configured in the Driver

1: Executes a synchronous writing

2: Executes an asynchronous writing (no confirmation)

 

If the WriteSyncMode parameter is omitted, the writing mode configured in the Driver is also used. For more information about these parameters, please check Driver's documentation.

Was this page useful?