03-10-2016 02:04 AM
Hello,
I'm facing a problem with TestStand 4.0. At first the execution of the sequences was pretty fast, now it's slow, but the interesting part is that the program halts for a short period at the End Group, which slows down the process. There are no parralel sequences in the program, just sequencial. I've read the forum, took everything unusfull out from search directory, but this didn't help. The program is a MainTestSequence.seq and everything else was made with Insert Sequence(about 30), not with separeate .seq files. Could it be that the code is big? Has anyone else faced this problem?
Solved! Go to Solution.
03-10-2016 09:10 AM
I doubt it has anything to do with your code being to big.
However, you should watch your memory as it is running. What is it doing?
Regards
03-11-2016 01:02 AM
Thanks for the fast reply.
The memory is ok, it's around 180M(total used 680M from 2G), but the CPU is almost constantly at 50%. Still this shouldn't be an issue I think.
03-11-2016 08:57 AM - last edited on 10-30-2024 02:17 PM by Content Cleaner
50% seems very high. I usually only see it around 12-13% tops. I would try running the TestStand profiler and see which steps/executions are working hard:
https://www.ni.com/docs/en-US/bundle/teststand/page/resource-names-resource-usage-profiler.html
It might point you to the culprit.
03-14-2016 04:03 AM
Thanks for the tip, but unfortunatelly we are using T.S 4.0 which doesn't have this feature yet, or maybe it can be installed somehow?
I was wondering how come the end group executes so slowly? Every step is executed fast, I can see this with the trace, but when it get's to End group it halts for 500ms-1s. Every Load setting is in deafult and for the fastest performance (Preload when execution begins, Unload when sequence file is unloaded).
03-14-2016 07:06 AM
Do you have things running in parallel in your code modules? If you reboot the system, does it start "fast" again or is it "slow" right away?
Are you using references to external devices which might change (e.g. IP address of network device)?
What are your reporting options? Does the slow-down occur with no report also?
Norbert
03-14-2016 07:20 AM - edited 03-14-2016 07:21 AM
Everything is used sequencialy. The model is sequencial. After restart is the same.
There is serial communication UART/USB and GPIB for relay switch, voltage, resistance measurement ICT. There is no networking used at all.
I've set the reporting to only report Failed parts, first it was set to log everything, but nothing changed.
I've done C partition defragrementation, but it's the same... Is there a log file which gets icreased by every test?
03-14-2016 10:01 AM
@Balazss wrote:
[...]After restart is the same.[...]
What does that mean? That it is slow right away?
I assume that you work with a custom sequence file. Can you check the performance with standard TestStand examples? (I recommend running the computer motherboard demo example)
Norbert
03-15-2016 02:06 AM
Unfortunatelly it's slow right away... I will try with the demo example and come back with a response.
04-12-2016 03:24 AM
Hello,
I've tried the demo examples. Needed to set the adapter to 7.1.1, but still the problem is the same. The steps execute fast and when it reaches the <End Group> it halts and CPU Usage increases to ~50%. Most probably it's a global setting that i'm missing?
Regards,
Balazs