NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand GDI or USER recources too low

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.

Download All
0 Kudos
Message 1 of 4
(244 Views)

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?

 

 

0 Kudos
Message 2 of 4
(228 Views)

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. 

 

 

 

 

0 Kudos
Message 3 of 4
(208 Views)

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.

0 Kudos
Message 4 of 4
(195 Views)