FieldTalk Modbus Master Library for .NET
FieldTalk Modbus Master Library for .NET
Namespaces
FieldTalk.Modbus.Master
RegisterConverter Class
RegisterConverter Methods
ToBits Method
ToBits Method (Byte)
ToBits Method (Byte[])
ToBits Method (SByte)
ToBits Method (SByte[])

# RegisterConverter ToBits Method (Byte)

Unpack all the bits in a byte to a boolean array containing the bits

Namespace: FieldTalk.Modbus.Master
Assembly: FieldTalk.Modbus.Master (in FieldTalk.Modbus.Master.dll) Version: 2.15.2-eval+3d8362b4bb861c05760d48b11d303e954bb8597c
Syntax
C#
VB
C++
Copy

    public static bool[] ToBits(
    	byte byteVal
    )

    Public Shared Function ToBits (
    	byteVal As Byte
    ) As Boolean()

    public:
    static array<bool>^ ToBits(
    	unsigned char byteVal
    )

#### Parameters

byteVal
  Type: System
  Byte
  The byte

#### Return Value

Type:
Boolean
Array containing the bit values
See Also

#### Reference

RegisterConverter Class
ToBits Overload
FieldTalk.Modbus.Master Namespace
FieldTalk Modbus Master Library for .NET
Library version 2.15.2