Documentation

RegisterConverterToUInt16 Method (Int16, Int32)

Cast a 16-bit register array element to an unsigned 16-bit value

Namespace:  FieldTalk.Modbus.Master
Assembly:  FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
public static ushort ToUInt16(
	short[] regArr,
	int startIndex
)

Parameters

regArr
Type: SystemInt16
Register array
startIndex
Type: SystemInt32
Index pointing to the register

Return Value

Type: UInt16
unsigned 16-bit value
See Also