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

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)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.