Documentation

xPCDataHostScSignalObject Class

Object that holds logged host scope signal data

Syntax

public class xPCDataHostScSignalObject : xPCApplicationNotficationObject, IxPCDataService, IxPCDataServiceAsync

Description

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public class xPCDataHostScSignalObject : xPCApplicationNotficationObject, IxPCDataService, IxPCDataServiceAsync accesses an object that holds logged host scope signal data.

Methods

MethodDescription
xPCDataHostScSignalObject.GetDataCopy host scope signal data from target computer
xPCDataHostScSignalObject.GetDataAsyncAsynchronously copy host scope signal data from target computer

Events

EventDescription
xPCDataHostScSignalObject.GetDataCompletedEvent when xPCDataHostScSignalObject.GetDataAsync is complete

Properties

PropertyC# Declaration SyntaxDescription

Decimation

public int Decimation {get; set;}

If 1, acquire every sample in a scope window. Otherwise, acquire every nth sample in a scope window.

NumSamples

public int NumSamples {get; set;}

Get or set number of contiguous samples captured during the acquisition of a data package. The scope writes data samples into a memory buffer of size NumSamples.

If the scope stops before capturing this number of samples, the scope has the collected data up to the end of data collection. It then has zeroes for the remaining uncollected data. Note what type of data you are collecting, it is possible that your data contains zeroes.

ScopeSignalObject

public xPCHostScopeSignal ScopeSignalObject {get;}

Get parent scope signal xPCHostScopeSignal object.

Startindex

public int StartIndex {get; set;}

Get and set the index of the first sample that you retrieve from the log.

Introduced in R2011b

Was this topic helpful?