getDataItem-MTCCycle-ANY-method: Get the first dataitem

Description Usage Arguments Examples

Description

Get the first dataitem

Usage

1
2
## S4 method for signature 'MTCCycle,ANY'
getDataItem(.Object)

Arguments

.Object

Object of MTCCycle or MTCDevice Class

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.