Documentation

xPCDataLoggingObject Class

Object that holds logged data

Syntax

public class xPCDataLoggingObject : xPCApplicationNotficationObject, IxPCDataService, xPCDataServiceAsync

Description

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public class xPCDataLoggingObject : xPCApplicationNotficationObject, IxPCDataService, xPCDataServiceAsync accesses an object that holds logged data.

Methods

MethodDescription
xPCDataLoggingObject.GetDataCopy signal data from target computer
xPCDataLoggingObject.GetDataAsyncAsynchronously copy signal data from target computer

Events

EventDescription
xPCDataLoggingObject.GetDataCompletedEvent when xPCDataLoggingObject.GetDataAsync is complete

Properties

PropertyC# Declaration SyntaxDescription

Decimation

public int Decimation {get; set;}

A number n, where every nth sample is acquired in a scope window.

LogId

public int LogId {get;}

 

NumSamples

public int NumSamples {get; set;}

Get or set number of contiguous samples captured during the acquisition of a data package.

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?