OPC Studio User's Guide and Reference
BitsFromValue Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > SequenceData Class : BitsFromValue Method
Creates sequence data as a sequence of primitive data elements of System.Boolean type representing the bits of a given value. Returns a sequence data with PrimitiveData elements consisting of bitCount bits from the value.
Overload List
OverloadDescription
Creates sequence data from bits of an unsigned integer value.  
Creates sequence data from bits of an unsigned integer value, given the primitive data type for the bits.  
Creates sequence data from bits of an unsigned integer value, given the sequence data type to be associated with the sequence data, and primitive data type for the bits.  
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also