Hello,
now.... lets see the file exactly.
first header is a color table. (wow.. nearly no file hase realy a colortable..)
Next header is a 2D coordinates frame, ilda type 1
Count of frames is 2
660 points,
first frame number is 0
thats okay....
next header is also a 2D coordinates frame, ilda Type 1
framenummer is 1.. ok
point count is 573.. ok
thats also okay.
next header is also 2D header type 1
Framenumer = 3
pointcount = 0
okay... here is the problem.
Framecount of EACH header says, count of frames from 1 to real count.
In this file this is 2
Framenumber is countet from 0 to framecount -1
in this case 0, 1,2
The programmtext is:
if Framenumber > Framecount - 1 then display message(blabla)
This is for pangolin ildas, because ildas from pangolin have framecount ALWAYS 1 !!! (every frame!!!)
BUT the third header says FrameNumber 2! is this correkt? The framecount is 2 !!!
the the problem is..
Pango files are a little bit surprising,
and this files too
the result is, you will get 3 frames.... because i read until EOF and i ignore the Value Framecount, if the user says "ignore the problem".
The file Planet 2 is telling 3 frames, and also 3 frames are existing.
this file will be loadet without message. You are right, normaly the last frame must be deletet, because empty points.
but some Programms create real frames with no points in the file (not at last header!!!). Because this, i ignore the zero point header information as last header, and build a empty frame. This is necessary for frameconstant ilda files! otherwhise this files could not be displayed synchron.
I think its no problem to delete the last empty frame.
The problem are the many many different programs, creating many different ilda files!!!! the problem is not he-laserscan

I read the ilda description many many many times and had many discussions to this problem
best regards
Erich