06-30-2022 07:12 PM
Any idea how to deal with TS hanging after a test?
Right now its not responding, and if I click on the sequence editor it greys out for several minutes.
Where do I start looking for issues?
06-30-2022 08:05 PM
I would start analyzing the scenarios under which TestStand starts to hang, does it hang on a specific step, look at what kind of code modules does it hang and how often etc.,
07-06-2022 08:39 AM
07-06-2022 12:29 PM
No, it seems to be hanging on the report generation; sometimes the PDF creation, but sometimes I even see the PDF and it's still hanging.
07-06-2022 01:34 PM
Do you observe hanging if you disable the PDF report plugin?
07-06-2022 02:40 PM
Yes; Though its so intermittent that I'll try something and it will seem to work, and then the same problem will occur later on.
07-06-2022 02:48 PM
This clearly shows that the PDF report plugin is the culprit, did you create the plugin or is it the one that ships with TS?
07-06-2022 05:42 PM
It's the one that ships with TS.
(I'm sorry I was confused about this... it's actually obvious. However I created code that copied the PDF to a network location. It takes so long to generate the report that I put a long timeout in this, and so when I disabled the PDF I still has a long delay, but this time it was all me).
So yes, it's the built in PDF generator.
07-07-2022 11:16 AM
Hi again. I'm sorry. This has been a crazy week (shipping a system this weekend) and so I wrote things on autopilot.
I think there are a couple problems...
1) Report Generation takes too long. I have turned off the PDF option, and it still takes a long time. I am using the "on-the-fly" option, but it doesn't seem to help.
2) PDF generation may or may not be the problem, but it looks as though, when I use file explorer to look at the report, that the PDF pops up fairly quickly after the XML report is complete.
3) When using SeqEdit, the interface will also lock up. I can't figure it out fully, but sometimes it just sits there for minutes greyed out, and then starts to respond again.
07-09-2022 01:04 AM
Hi,
This can be due to memory or high CPU usage in your sequence.
Open the task manager and monitor the processor and memory usage.
That should give you an indication as to what is happening.
This KB should also help :
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x3NpCAI&l=en-IN
Also you can probably skip few steps at a time and pinpoint to which is the one creating the problem.
Ravi