Reading XML file
If you want to access data from a TCP voltmeter in a hassle-free manner, you can simply read the measured data from the status.xml
file located at http://your_IP_address/status.xml. By parsing the data from the XML structure, you can obtain the measured values with minimal data transfer over the network.
The transfer involves only a few bytes, making it a highly efficient and speedy communication method.
To retrieve the data, you can send an HTTP request to the specified IP address and read the contents of the XML file. In the case of version V 2.1, the status.xml
file has the following structure:
Other versions have this file similar. A simple HTTP client to read the status.xml file is here.