I am building an application that takes input from the user which then become the variable values fed to back to an appliance. The appliance requires that the instructions fed to it are in a specific format. I have found that the best way to make this happen is to write the variable data both string and float values to a .txt file and then call that file and load it into the appliance.
Is it possible to write a .txt file to the hard drive of the UR from an string array created by the user input from a urcaps gui ? If so I would appreciate any java code hints specifically on the UR path syntax.
Jerry
Definitely possible!
It can typically be done using generic Java classes like java.io.File or similar file operation classes.
Consider saving the file in the /programs/ folder.
Also, it is good practice to limit the number of write operations to flash, so this should preferable not be done many times a minute.,
Thank you for the answer, it is very helpful. The read write operation to the .txt file will only be done during programming similar to both the Robotiq and On Robot interfaces.
Thanks again for the assistance
Here is a freeware urcap for file operation under programs folder. http://pan.baidu.com/s/1eShBYhG and a help doc. Help doc. Sorry there is only chinese help doc. But I guess you can understand by viewing the command name.
Thank you for the file. Credit to @SonglinCai. I made a google link for it for others who cannot access with original link. Please check it out at link