get_device_info_from_xml: Get info on all the devices in the xml file

Description Usage Arguments See Also Examples

Description

Device XML usually consists of the configuration details of multiple devices. This function can detail all the device info in the XML into a data.frame for easy reference

Usage

1
get_device_info_from_xml(file_path_xml, mtconnect_version = NULL)

Arguments

file_path_xml

Path to the XML file

mtconnect_version

Specify MTConnect Version manually. If not specified, it is inferred automatically from the data.

See Also

get_xpaths_from_xml

Examples

1
2
3
file_path_xml = "testdata/dataExtraction/test_devices.xml"
devices_info = get_device_info_from_xml(system.file(file_path_xml, package = "mtconnectR"))
print(devices_info)

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