NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Intermittent -17502; System Level Exception Batch Model LabVIEW Run-Time

I developed a batch sequence in TestStand 2014 that runs with 16 sockets over 20 hours.  The steps are written in LabVIEW 2015 and utilize the Run-Time engine. I am using the standard BatchModel.seq with PreBatch and PostBatch callbacks.   I have delivered the test system to the customer after a successful verification.  The customer has notified me that in 2 out of 6 runs, a single socket has had a -17502; System Level Exception Run-Time Error.  Both error occurrences were on different sockets and at different times in the sequence, but happened when calling the same VI.  The VI runs a simple loop to parse a particular measurement out of an array.  The input array has either 5 or 6 elements being passed in depending on where in the sequence it is being called.  The input array is saved in a previous step to a local variable.  The VI is set to "Preallocated clone reentrant execution" to allow all 16 sites to access the VI at the same time. I have looked through a lot of other posts regarding this error, but none of them seem to apply (no CVI, no DLLs, no ActiveX...).  I don't have the ability to login to the system or to check out the error as it is happening.  I also can't get the error to recur on a similar system that I do have access to.  Is the error generated by the VI, or is it generated by TestStand? I am looking for possible causes and potential solutions.  Any ideas would be appreciated. 

 

I have included the VI that is associated with the error, as well as a screenshot of the VI during a TestStand run and the test sequence.  

0 Kudos
Message 1 of 2
(2,569 Views)

The following KnowledgeBase article may help you debug what is happening.

 

Debugging TestStand Error -17502 with Visual C++

http://digital.ni.com/public.nsf/allkb/A92CF6B69941B35D862568D900693DF5?OpenDocument

Maggie M.
Application Engineer
National Instruments.
http://www.ni.com/support
Message 2 of 2
(2,524 Views)