Object: BinaryChannelFormatter
- Updated2024-09-12
- 1 minute(s) read
(AbstractDirectAccessChannels | BinaryDirectAccessChannels | Channels
Object: BinaryChannelFormatter
The BinaryChannelFormatter object contains information about how the values of a channel are represented in the binary file.
The following example checks each channel whether this channel has a BinaryBlock and creates the channel property DataType:
Dim oMyChn For Each oMyChn in oBlock.Channels If (oMyChn.Formatter.IsKindOf(eBinaryBlock)) Then Call oMyChn.Properties.Add("DataType", oMyChn.Formatter.DataType) End If Next