NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Expression with higher execution time

Solved!
Go to solution

Dear community,

 

I have a problem on a test machine with NI Teststand 2017 SP1. A simple expression suddenly takes more time and extends the duration of my test program. If I hit the check expression button, i have to wait a half second for MessageBox "no errors".

 

Here is the expression:

 

StationGlobals.TSVP.David_Report.HeaderText = StationGlobals.TSVP.David_Report.HeaderText + ";" + Parameters.StepName + " [Numeric " + Parameters.CompType + "] " + "[" + Parameters.Unit + "]" + ";Toleranz UG;Sollwert;Toleranz OG"

 

I cannot explain this. On other machines it takes a normal/fast execution time.

 

Thanks in advance for your ideas. 

0 Kudos
Message 1 of 3
(116 Views)

My first though would be the StationGlobals, and maybe something is corrupted with that file.

 

I'd be interested if you changed temporarily, any mention of the Station Globals in the expression to a Local to see if that changes anything.

0 Kudos
Message 2 of 3
(92 Views)
Solution
Accepted by vierrbln

On the machine with the problem, check to make sure there are not a crazy number of other variables/properties in any of the locations the expression references and check to make sure none of the string values involved is holding a string that is crazily huge.

0 Kudos
Message 3 of 3
(79 Views)