10-17-2019 03:14 AM
Hi,
i'm executing a sequence that communicate with an UUT by using a custom step type developed on LabVIEW, the communication worked 12 hours without error, and a moments i get this error :
---------------------------------------
Details:
Error executing substep 'Post'.
Parameter 'ErrorOut':
System Level Exception.
----------------------------------------
Error Code:
-17502; System Level Exception.
----------------------------------------
Location:
Step 'Vérifier si l'UST est en mode de consommation max' of sequence 'MainSequence' in 'TestSequenceSET2 LTBC.seq'
----------------------------------------
i notice that the same Step type is worked 12 hours without error
any help please !
10-21-2019 10:25 AM
Hi Montyto,
In my experience, a -17502 error can be caused by buffer overflows (not properly null terminating a string for example), assuming un-allocated variables are zero, or other memory manipulation issues with your code. Compounding this is that the error may not appear in the step that caused it, but later on in the execution, so don't assume that the problem is in the step that reported the error.
In the case of non-null terminated strings, I've seen code run fine for several hours or days before the error occurs, as the string may be randomly assigned to memory that hasn't been used yet and is already set to zero. Eventually, it will be assigned to previously used memory and that's what can cause this kind of problem.
These are particularly difficult to find, so good luck!