RoboDK Forum
如何保存和加载一个定制的JSON字符串RDK file?- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: How to Save and Load a customized JSON string to RDK file? (/Thread-How-to-Save-and-Load-a-customized-JSON-string-to-RDK-file)



如何保存和加载一个定制的JSON字符串RDK file?-ysli-03-20-2021

Is it possible to save a customized JSON string to RDK file?
Could this be done with setParam() and getParam()?
And, is there a related/similar example?


RE: How to Save and Load a customized JSON string to RDK file?-Albert-03-23-2021

Yes, you can save and load strings using setParam and getParam. You should see the string as a parameter if you right click the root of your station and select "Station parameters".

More information here:
//www.sinclairbody.com/doc/en/PythonAPI/robolink.html#robolink.Robolink.setParam