Hi everyone,
I've got an application handling "ProcessData"... I can't find how to manage them through java (Creating, deleting, modifying), only reading is available.
Any information? Documentation?
Thanks.
Regards.
Hi everyone,
I've got an application handling "ProcessData"... I can't find how to manage them through java (Creating, deleting, modifying), only reading is available.
Any information? Documentation?
Thanks.
Regards.
How to use process data is not explicitly described in the manual, this is true.
[list type=decimal]
You can read/write from the java code, but to add/delete, edit the XML file directly (at least that's what I do).
You can have these types in the ProcessData XML file: Integer, Double, String and Boolean.
Check the file "RoboticsAPI.data.ProcessDataExample.xml" to get the gist of it.
To add your own process data, go to the end of your "RoboticsAPI.data.xml" file, just underneath </objectTemplates> put something like:
</objectTemplates>
<processDataContainer>
<processData displayName="Application Delay" dataType="java.lang.Integer" defaultValue="6" id="DelayProcessData" min="1" max="10" value="6"/>
</processDataContainer>
</RoboticsAPIData>
to read it:
to modify it:
Hi to all, please an information about process data.
Are they retentive after shutdown ? Or they return to the default value ?
Thanks to all.