02-05-2025 03:08 AM
The Sequence Editor stops with this error message.
The amount of GDI Objects in use is very big. I have no clue how GDI Objects are allocated.
Im am using a LabVIEW Project for Code Modules.
02-05-2025 04:06 AM - edited 02-05-2025 04:08 AM
Which OS are you running on? Which TS and LV versions?
Do I understand correctly, that this crash happens while you are working in SeqEdit?
02-05-2025 08:14 AM
Moin Oli,
the OS is Windows 10. I don't think that LabVIEW is the reason, since we are using 21.01f2 (32 Bit). The code modules are called from the development system. Teststand Version is 22.
According to the test developer the crash occurs "now and then, when opening a sequence file or when running a test or while a sequence is running". The number of already openend sequence files is small. The message appears on an old NUC and on a newer test rig with higher performance.
On older windows versions there was a registry key, where you were able to increase the maximum number of GDI objects. But I fear that this only shifts the problem.
02-06-2025 12:14 AM - edited 02-06-2025 12:15 AM
I've never come across this error before, so I just did a little Google search
One article pointed out, that there is a standard limit of 10000 GDI per process. Your screenshot ist showing >9000, so you might be on to something there...
Yet I am not entirely sure, when a GDI is allocated. My guess is one per VI...
This might be related to the way code modules are loaded (statically / dynamically).
Yet this is just a guess.