Documentation

RegisterConverterToInt16 Method (Single)

Cast an 32-bit floating point value to a tuple of 16-bit register values

Namespace:  FieldTalk.Modbus.Master
Assembly:  FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
public static short[] ToInt16(
	float floatVal
)

Parameters

floatVal
Type: SystemSingle
Value to be converted

Return Value

Type: Int16
Array with 2 16-bit register values
See Also