NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Two ParallelProcesses needing 100% cpu

Hello,
i´m using TS 3.5.
When loading TS i start in SequenceFileLoad two Sequences "In a new exection".
But sequences have while-loop inside and are running all the time.
The problem is now that the task-manager shows ~90-100% of cpu-usage.
I added a wait of 0.5sec for each while-loop but it is not really better.
What can i do against this cpu-thing? Is there a command to make the sequence run slowlier?
Thanks for tipps
J.
0 Kudos
Message 1 of 2
(2,863 Views)

Hi OnlyOne

I have written a simple test programm in TS 4.0 to verify. Without the "Wait"step(skipped) i have also the 100% load. But when enabling the step with 500ms there will be a load with less than 10% on my machine. 

Check out the example

Greetings from the lake of Constance, Germany

Juergen 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 2
(2,823 Views)