Gui controls – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual
Page 130
CHAPTER 11 • CLICK SUPERVISOR SUPPORT 129
Offset=”0”> Length=”32” /> Length=”1” /> Length=”1” /> Length=”2” /> Length=”2” />
The Packet Name tag identifies the oemConfig0_t structure and specifies its size to be 40
bytes long. Make sure that you update this length whenever you modify the OEM variables.
Each Field Name tag identifies the data blocks within the packet by their start position and
length. These values must be correct for Click Supervisor to populate the GUI controls cor-
rectly. The field names themselves do not have to exactly match the code names; in fact you
will notice that they cannot be exactly the same for the output duration 16-bit value. How-
ever these field names will need to be exactly matched in the tags in the .myxaml driver file.
The tagged information for the system configuration blocks is already set up and should not
be changed. The name of the uncompressed file should match the selected module number
followed by the .xml extension.
Once the XML file is correctly updated, it will need to be compressed. The compressed
file name should match the 13-characters of the ClickSupervisorDefaultSerialNumber text
string and should end in “.zip”. This .zip file must not be read-only.
The first time you connect to a Click 500 series device with Click Supervisor, it will upload
the configuration block variable map file onto the device. When uploading, Click Supervi-
sor will show a progress bar and indicate “Upgrading device” while the file is being up-
loaded to the Click 500 series module.
On subsequent connections, Click Supervisor implements a version compatibility feature,
which will actually download the communication file from the 500 series device. If you need
to erase the compressed XML file stored on the 5XX device, select the second submenu 1
option (YELLOW 2) when resetting the device to factory defaults using the push-button.
GUI Controls
Your custom-application OEM variables can be managed using a variety of the following