DotNetSerialPort.Write Method
Writes an array of bytes to the port
Parameters
-
data
- Byte array to be written to the port
-
vtimeout
- Specifies timeout in milliseconds
Return Value
Returns true on success
Remarks
- If the timeout parameter is -1, then the function waits until the operation is completed.
- If the timeout parameter is 0, then the function returns immediately.
- This function can only be used when the port is open.
See Also
DotNetSerialPort Class | SWBOX Namespace