OptoEngineeringHRAS_SendSerialRawCommand
Sets serial port internal protocol frame to device.
Syntax
C++
Python
def OptoEngineeringHRAS_SendSerialRawCommand( state: OptoEngineering_State, inData: OptoEngineeringSerialFrame, /, *, inDeviceID: str | None = None ) -> outResponse: OptoEngineeringSerialFrame | None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioState | OptoEngineering_State | ||
![]() |
inDeviceID | str | None | None | Device identifying number |
![]() |
inData | OptoEngineeringSerialFrame | Input frame command | |
![]() |
outResponse | OptoEngineeringSerialFrame | None | Output frame, set only for read mode |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.



