NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

expression syntax in TestStand 4.0 tutorial

Hello All
 
Teststand is new to me, and I am trying its tutorial with "Using TestStand" manual.
 
At the Using TestSTand page 3-7, Insert a Template Step step 7, we insert a
message popup "Retry if Previous Step Fails".  This step has post action "Goto Step",
but it doesn't goto next step and uses an expression "RunState.PreviousStep.TS.Id".
I can't find the expression at the expression browser and don't know what this means.
There is a RunState.PreviousStep at the expression browser but no "TS.Id". 
I've attached a pic (teststand_ques.jpg) to show the expression.  Could anyone
tell me its meaning. 
 
Also, is there any manual or guide of TestStand expression syntax?  I know expression
browser shows its operator and functions, but I'd like to have a detail reference manual.
 
 
Thank you
 
 
0 Kudos
Message 1 of 4
(5,441 Views)

Hi,

The TS is a hidden property of the Step.

You can unhid this property by a setting in the Station Options select the Preference Tab.

You actually dont need to enable this setting, you could of just typed it in (, the .TS.id I mean). But when learning it is handy to see all the properties.

Regards

Ray Farmer

 

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(5,437 Views)
Hi Ray
 
Thank you! It's the answer I want.
You're also the one who replies my last post.
 
However, I'd still wonder if we have a guide for
expression.  If so, it would be very helpful for
users like me
 
Regards,
 
Kirika
0 Kudos
Message 3 of 4
(5,399 Views)

Hi Kirika,

Have you tried the TestStand Help, the only other place is the help you see in the Expression browser for each function.

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(5,396 Views)