Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Serial Port » SerialPort_WriteByte

SerialPort_WriteByte


Writes one character in binary mode to serial port.

Name Type Range Description
inPortId Integer 0 - 7 Identifies open port instance when working with multiple serial ports
inData Integer 0 - 255 Character value.

Description

Filters write single byte into output buffer.

Remarks

Using the SerialPort_Config filter is necessary before using the SerialPort_WriteByte filter.

Errors

Using filters writing to serial port without previous configuration will cause "SerialPort not initialized" error.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filters is member of SerialPort_Write filter group.

See Also