DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Property: Formatter for DirectAccessChannel

Property: Formatter for DirectAccessChannel

Contains information about how the values of a DirectAccess channel are represented.

Set oAbstractChannelFormatter = Object.Formatter
ObjectDirectAccessChannel
Object with this property
oAbstractChannelFormatterAbstractChannelFormatter
Returned object

The following example interprets the first byte as the higher-value byte when the values of the MyChannel are read.

Dim oBinBlock : Set oBinBlock = File.GetBinaryBlock()
Dim oChn : Set oChn = oBinBlock.Channels.Add("MyChannel",eI16)
oChn.Formatter.ByteOrder = eBigEndian
Dim oMyGrp: Set oMyGrp = Root.ChannelGroups.Add("MyChannelGroup")
Call oMyGrp.Channels.AddDirectAccessChannel(oChn)
In This Section
Was this information helpful?