I have a novice question regarding the actual size of the GVL files in my project?
I have a GVL file containing different types of variables and structs, that I would like to transfer to another device. Can I see how many bytes of data the file contains, without counting the number of variables and calculating the total file size manually?
Is the a menu or compiler logfile somewhere, or can I eventually see it when I'm online on the device?
I'm currently using CODESYS V3.5 SP14, Patch 2.
Best regards
Ole
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everybody.
I have a novice question regarding the actual size of the GVL files in my project?
I have a GVL file containing different types of variables and structs, that I would like to transfer to another device. Can I see how many bytes of data the file contains, without counting the number of variables and calculating the total file size manually?
Is the a menu or compiler logfile somewhere, or can I eventually see it when I'm online on the device?
I'm currently using CODESYS V3.5 SP14, Patch 2.
Best regards
Ole
One way to get the size is to use SIZEOF() operator. But you have to do it for each GVL variable.
Then in code somewhere:
Thank you Quirzo. That will do the job.
But I think it would be a nice feature if 3S were adding some kind of functionality to show the size of GVL/NVL files in Codesys.