I have six GTT2.5 Chart objects which I can update fine using gtt25_dataset_push_data(). In order to update them more quickly over an RS232 link, I'm writing a file to the SD card using gtt25_filesystem_file_write(), then executing the file with gtt_run_script(). The file simply contains 80 push data commands across 6 Chart objects, but there's a lot of overhead this way, 9 * the number of charts * the number of points per chart.
I think I should be writing files to the SD card, then using gtt25_dataset_load() to load each Chart data. However, I can't find a specification anywhere that says how that file is constructed. I used gtt25_dataset_save() to save a file with what I thought was predictable data (80 ascending integers), but when I looked at a hex dump of the file I really couldn't make out how it was constructed. There is an example of using gtt25_dataset_save() and gtt25_dataset_load(), but the file used in the load function is only ever saved from a previous save function, never constructed from scratch.
Is there a specification somewhere that tells me how to construct a file to be subsequently used in a gtt25_dataset_load() operation?
Or better still, is there an interface that allows me to push multiple data values to a GTT2.5 Chart in a single command? As many data values as there are points in the chart, i.e. something like (hypothetically):
Code: Select all
gtt25_dataset_push_multiple(gtt_device *device, uint16_t ObjectID, uint16_t num_values, int16_t * Values)