Documentation

RegisterConverterToInt16 Method (Int32, Int16, Int32)

Copies a signed 32-bit integer value into an array of 16-bit register values

Namespace:  FieldTalk.Modbus.Slave
Assembly:  FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Syntax
public static void ToInt16(
	int intVal,
	short[] regArr,
	int startIndex
)

Parameters

intVal
Type: SystemInt32
Value to be converted
regArr
Type: SystemInt16
Register array to receive the values
startIndex
Type: SystemInt32
Copy operation will occupy 2 array elements starting at startIndex
See Also