Documentation

GetHostScSignalDataObjectCompletedEventArgs Class

xPCDataHostScSignalObject.DataObjectCompleted event data

Syntax

public class GetHostScSignalDataObjectCompletedEventArgs : GetDataCompletedEventArgs

Description

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public class GetHostScSignalDataObjectCompletedEventArgs : GetDataCompletedEventArgs contains data returned by the event of completing an asynchronous data access to a host scope signal object.

Properties

PropertiesC# Declaration SyntaxDescription

Cancelled

public bool Cancelled {get;}

Get value that indicates if an asynchronous operation has been canceled.

Data

public double[] Data {get;}

Get the signal data collected by host scope

Error

public Exception Error {get;}

Get value that indicates which error occurred during asynchronous operation.

IsScopeSignal

public bool IsScopeSignal {get;}

Get if signal is a scope signal (true) or a time signal (false).

ScopeSignalObject

public xPCScopeSignal ScopeSignalObject {get;}

Get reference to parent xPCHostScopeSignal object

State

public Object State {get;}

Optional. Get user-supplied state object.

UserState

public Object UserState {get;}

Get unique identifier for asynchronous task.

Was this topic helpful?