RegisterConverterToInt16 Method (UInt32) |
Cast an unsigned 32-bit value to a tuple of 16-bit register values
Namespace:
FieldTalk.Modbus.Slave
Assembly:
FieldTalk.Modbus.Slave (in FieldTalk.Modbus.Slave.dll) Version: 2.11.0-eval+eb1ecbe71c969eff5d7c05d58da16dade0474678
Syntaxpublic static short[] ToInt16(
uint intVal
)
Public Shared Function ToInt16 (
intVal As UInteger
) As Short()
public:
static array<short>^ ToInt16(
unsigned int intVal
)
Parameters
- intVal
- Type: SystemUInt32
Value to be converted
Return Value
Type:
Int16 Array with 2 16-bit register values
See Also