getDataItem: Get data on one or more data items from the class

Description Usage Arguments Examples

Description

Get data on one or more data items from the class

Usage

1
getDataItem(.Object, pattern)

Arguments

.Object

object of MTCCycle or MTCDevice Class

pattern

OPTIONAL can be used to query specific data items

Examples

1
2
data("example_mtc_device")
getDataItem(example_mtc_device)

Example output

An object of class "MTCDataItem"
Slot "data":
                timestamp value
1 2014-07-15 07:04:25.608   100

Slot "metadata":
$category
[1] "SAMPLE"

$xpath
[1] "test_device<Device>:Frapidovr<PATH_FEEDRATE-OVERRIDE>"

mtconnectR documentation built on May 1, 2019, 10:38 p.m.