We have a present for you today. It's something that people have been regularly asking for, despite our best efforts to be as clear as possible that Yoctopuce doesn't provide ready-to-use solutions. In the end, we decided to make a small exception:-) and to give you an application to easily visualize the values measured by Yoctopuce sensors. If you work under Windows, you will be able to display graphs, indicators, and other gadgets in a few clicks. Follow the guide...
We made installation as simple as possible. Download the installer from our web site. Unzip the file, run the YoctoVisualization.msi file, and follow the instructions. That's it.
When the installation is done, you can find a shortcut in your start menu and another one on your desktop. Launch one or the other to obtain the application welcome window.
The main window
By default, Yocto-Vizualization uses only modules connected directly by USB. You can configure it so that it uses the local VirtualHub, a remote VirtualHub, or even YoctoHubs. Simply click on the large "Configure USB and network" button and make your selection.
USB and network configuration
The application principle is very simple. To create a widget, click for example on the "Create a new solid gauge" button. You obtain a window indicating that there is no configured source. Right-click on the said window, and select "Configure this gauge". You obtain the property editor enabling you to select, among other things, the sensor to use with your widget.
In the property editor, select the sensor to use
The property editor enables you to modify all the display parameters: color, stroke thickness, fonts, and so on. All the changes are performed in real time. At the bottom of the property editor window, you can find a short description of each parameter.
You can create four types of widgets:
- Angular gauge, a classic needle dial.
- Solid gauge, an arc dial.
- Digital display.
- Graph, a graph plotting the sensor values in real time.
The differents types of widgets
In theory, you can create as many widgets as you wish. But if you put too many, expect some lagging :-)
Graphs are clearly the most complex of the offered widgets, but they work like the other widgets and can display up to four sensors at a time.
You can use several sources for the same graph
The graphs can also display the content of the sensor data loggers. They even offer a basic interface to start, stop, and erase recordings.
Graphs can display the content of data loggers
The application can also show you the raw data of a sensor of your choice and export them in a CSV file.
The application can display raw data
The application automatically saves the location and the content of each widget when it closes and restores them when next started. By default, this configuration is stored as an XML file in your Windows profile. But you can indicate another configuration file on the command line with the "-config" option, for example:
C:\>yoctoVisualization.exe -config "C:\tmp\testConfig.xml"
If the indicated file doesn't exist, it is automatically created. This system allows you to juggle with several configurations.
You can consult the application logs with a simple right click. But you can also ask them to be automatically displayed when the application starts by putting the "-log" option in the command line.
Naturally, the Yocto-Visualization application is offered free of charge. You can even find the C# sources on gitHub. About the sources, Yocto-Visualization is based on a third-party library. It's LiveCharts and Geared from LiveCharts. You must know that the basic version of LiveCharts is free, but Geared, the optimized version, is not. If you want to work directly with the Yocto-Visualization sources, after the LiveCharts.Geared evaluation period is over, you will probably need to buy a license to the author of LiveCharts. Expect about a hundred dollars, as everybody must live.