Skip to Main Content Skip to Search
Product Documentation

arrayHasSameTimeStamp - Class: opc.hda.Data
Package: opc.hda

True if all elements of OPC HDA data object have same time stamp vector

Syntax

tf = arrayHasSameTimeStamp(dObj)

Description

tf = arrayHasSameTimeStamp(dObj) returns true if all the elements of dObj have the same time stamp.

Use tsunion to ensure that the time stamps of an OPC HDA data object are the same.

Examples

Load the OPC HDA demo data file and see if the hdaDataSmall object has the same time stamps in all elements:

load opcdemoHDAData;
tf = arrayHasSameTimeStamp(hdaDataSmall);

Form a new data set using tsunion, and check the time stamps again:

hdaUnion = tsunion(hdaDataSmall);
tfU = arrayHasSameTimeStamp(hdaUnion)

See Also

tsunion

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS