04-07-2020 01:36 AM
Hello guys.
I encounter a little problem because I need to execute two steps in a very short time, the second step must be executed in maximum 50-70ms after first. Sometimes it exceeds this time so I am searching a way to exclude any delay with can increase this time. I also serialized all executions. Maybe executing in two different threads, but I don't don't know how to do this.
Ty
04-07-2020 08:43 AM
Hi,
Please refer the following post:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kG1RSAU&l=en-IL
04-07-2020 04:29 PM
Tracing impacts the speed of with which tests execute as well. If you disable tracing you should easily be able to achieve the speeds you mentioned.
Or if you want tracing on but still want just those 2 steps to execute rapidly then put them in a sub sequence and disable tracing into that sub sequence.
Hope this helps,
04-09-2020 03:59 AM
04-09-2020 10:36 AM
You could try that. Or try limiting what is running on the PC.
Another option is to put the code into the same code module and control it within a single code module. There is a lot of overhead when going back and forth between TestStand and code modules and then from step to step.
Another option would be to make a custom step and make both of the code modules post substeps. This might help but still won't really guarantee anything if it is othr processes that are horking your speed.
Regards,