Back to Aurora Vision Library Lite website

You are here: Start » Hardware Support » Matrox » Matrox_Modbus_ReadInputRegisters_ByteBuffer

Matrox_Modbus_ReadInputRegisters_ByteBuffer


Header: ThirdPartySdk.h
Namespace: avl

Reads the input register data table as a ByteBuffer.

Syntax

void avl::Matrox_Modbus_ReadInputRegisters_ByteBuffer
(
	Matrox_State& ioState,
	atl::Optional<const avl::MatroxSystemAndDeviceIdentifier&> inDeviceID,
	const atl::Optional<atl::String>& inInstanceName,
	int inOffset,
	int inCount,
	avl::ByteBuffer& outValues
)

Parameters

Name Type Range Default Description
Input will be modified
ioState Matrox_State& Object used to maintain state of the function.
Input value
inDeviceID Optional<const MatroxSystemAndDeviceIdentifier&> NIL Device identification.
Input value
inInstanceName const Optional<String>& NIL Instance name of a given Industrial Communication protocol set in the MILConfig utility.
Input value
inOffset int 0 - 65535 Offset from which to start reading the data in the specified data table.
Input value
inCount int 1 - 125 Amount of the data to read.
Output value
outValues ByteBuffer& Received values.