NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

-17502;System Level Exception - TestStand 3.0 Error

When CVI adapter is configured for "in-process" mode (CVI not required), and attached TestStand sequence is ran, there is intermittent error -17502. CVI application error handler does not trap this error - it happens on the sequence level. However, this error cannot be seen when adapter is configured for "Execute Steps in an External Instance of CVI" option.

An input on this issue from the knowledgeable TestStand application engineer is appreciated.
0 Kudos
Message 1 of 5
(3,827 Views)
Hi,

Do you know which step this error is occurring on?

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 5
(3,810 Views)
It happens during VVA characterization steps.
0 Kudos
Message 3 of 5
(3,805 Views)
Hi,

An initial observation:

I have noticed that you have a mixture of steps that are linked absolutely to TestSystem.dll (C:\\LTN3001\\Test Software\\Project\\TestSystem.dll) and some a linked relatively to TestSystem.dll.

You haven't got slightly different DLL's in the SequenceFile location to the one at "C:\\LTN3001\\Test Software\\Project\\TestSystem.dll".

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 4 of 5
(3,798 Views)
Jelena -
One possibility is that something might be corrupting memory and when running the CVI steps externally, the corruption does not affect the sequence editor, OI or TestStand engine, so the error does not occur.

If the error usually occurs after calling a specific step it is good to review how TestStand is configured to call the code module. If you have access to the source code of this step's code module, it is recommended to do a code review of the code itself. If this does not find anything, try to simplify the scenario by slowly removing TestStand steps and pair down the source code to try to isolate what might be causing the problem.

This type of intermittent error is always difficult to isolate.
Scott Richardson
0 Kudos
Message 5 of 5
(3,777 Views)