TiScope.DataBlockBegin
TiScope
Informs the scope that channel data is about to be added.
procedure DataBlockBegin;
Description
Call DataBlockBegin before you attempt to call AddChannelData to add data to the scope. After adding your channel data, call DataBlockEnd to evaluate the added data and to evaluate the trigger.
Note: if you do not call DataBlockBegin before adding data to the scope, then an
exception will be generated
Note: When youc all DataBlockEnd, the scope will enforce the rule that all channels must have the same number
of data points added between calling DataBlockBegin and DataBlockEnd. If your data is retrieved asynchronously, then you must buffer your data
separately and synchronize the data before passing it to the scope component.
Important Note: you should check TransferringActive before attempting to add data to the Scope or calling DataBlockBegin or DataBlockEnd. If the TransferringActive property is TRUE, then you should defer adding data until a later time.
Example
Delphi
iComponent.DataBlockBegin;
C++ Builder
iComponent->DataBlockBegin();
Note: Calls to DataBlockBegin are not cumulative.
Contents | Index | Previous | Next