01-22-2019 03:54 AM
Hi,
I have an intermittent error appearing when running Test Stand calling into a LW CVI DLL.
When the CVI function within the DLL is called the "-17502 System Level Exception" error appears. I don't understand why this doesn't appear every time if their is a genuine issue with the calling parameters of the function?
And the CVI code it is calling :
I have looked at previous replies for this error but cannot see any issues with what I am doing.
Any help would be appreciated.
Regards
Stuart
01-23-2019 06:15 AM
Hi edinsofty1,
The -17502 System Level Exception error is an operating system exception being passed back to TestStand, which is then reported to the user. The error is generic to its nature, thus it can have multiple causes.
There is a KB article that describes how to debug and try find what is throwing the error. Maybe this can be of some help for you?
Debugging TestStand System Level Exception Error -17502 with Visual C++
Can you reproduce the same error with other CVI? Or is it just this one CVI script?
I found some forum posts that discusses the same error code. I suggest that you have a look at them unless you haven't already:
Cheers!
//Marcus Bengths
08-24-2023 03:23 PM
Updated Link to the 17502 KB page:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kKLVSA2&l=en-US