Contents tagged with elements
12 Jun 2013
In the previous versions of EventIDE data collection in trials had to be coded manually. It was not a difficult task, because saving of multiple variables could be done in one code line:
The Report variable represents a built-in file storage for data collection in EventIDE. Text data is saved there each time, when assignment of a new string is done to the Report variable. Although being pretty flexible, this approach requires forming verbose string expressions (like one above), in which recorded variables are interleaved with separator characters. While writing an expression, it’s easy to make a typo or miss necessary quotas. In addition, conversion of variable values to string (albeit automatic in C#) is also not very intuitive in the above example.
A new element, which allows to automate data collection, is introduced in the latest version of EventIDE. The element is called Reporter, it provides a visual designer for collecting and recording data blocks (in rows or columns) made of selected global or proxy variables.
This is a Visual Studio 2013 project with source code for a custom AddIn for EventIDE. The demo AddIn contains an element template and example of a simple visual element. You can use the free Express edition of Visual Studio for compiling and debugging the AddIn, as described in this FAQ article. The latest source code for the AddIn is also included into the EventIDE package, under the /AddIns/CustomAddIn folder