Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

DataTable size


Mavada Nov 28, 2012 08:07 PM

i want to have my datatable reduced in size, so i added 100 in the size area as shown below, but nothing happens. it still collects more then 100 records...

DataTable(Table3,True,-100)


kirving Nov 28, 2012 08:21 PM

I don't know the details, but the size parameter seems to be more of a 'hint' than a hard limit. We accidentally deployed a bunch of programs with a size of 8 in one table, but the status table showed the actual size was 48, and in fact we downloaded more than 48 records even then.

It's interesting to see this discussed in any case.


aps Nov 28, 2012 09:47 PM

First you don't need the minus sign unless you have a flash memory card and use the cardout instruction. -1 has a special meaning in the datatable instruction, otherwise you enter a positive integer to set the size.

kirving is correct in that this is not an absolute limit as the tables are rounded up to the nearest TOB3 frame size (about 1kbytes). How many extra records you get depends on the record size in bytes.

If you have a flash card then different rules apply dependent on the cardout instruction.

Log in or register to post/reply in the forum.