#5 by
cquante
, Wed Jul 02, 2025 7:59 am
You are right, but there's a difference between IFPanelData and variable data: if you transfer an empty variable list like:
.REALS
.END
your will not delete all variables, but simply do nothing. In case of IFPanelData, if you transfer:
.INTER_PANEL_D
.END
you deleted the interface panel.
One bug report in the past was about removing "the last" push button (or any other field data) from the interface panel was not possible, because empty panel data was ignored.
I've had a long discussion with my colleague about that topic and I partly had to change my mind. One of the most important points in the K-IDE is the principle: The K-IDE should not delete anything unexpectedly. The interface panel is one example where this may happen (like in your case), so the should be something that keep your data more save. For the future I would like to implement the following:
- The IFPanelData section will be ignored in "normal" save operations if there is no panel data defined. So when saving a project file where no panel data is defined, no empty panel data section will be included. Even if this file may not include all the needed project data, it will not destroy any existing panel data on your robot.
- If you explicitly select to transfer panel data and the is no panel data defined, an empty panel data section will be transfered and the panel data on the robot will be deleted. Per default the interface panel data will be deselected when sending project data to the robot if there is no interface panel data available in the project file. If you select interface panel data in that situation, there will be a warning reminding you that the panel data is empty an will delete all panel data on the robot.
(German, sorry!)
If you select to transfer the panel data from the AS tree or from within the panel builder, empty panel data will be send if there is no data defined, without any warning.
That should make your data more save without loosing too much comfortability.
Christian Quante
Technical Sales
Sales Department
Kawasaki Robotics GmbH
Rheiner Landstrasse 195A • 49078 Osnabrück
Germany