NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

get stepname on its right click

Hi,
 
I have written a code in C#.Net that will allow the user to enter a string. I am calling the .dll of it in TestStand. Using "Type Palette" I have made a custom step, that calls this code. I want to configure its input in such a way, that when I rt-clk in teststand editor and say "edit", the step name should be passed as a parameter to the input of the dll.
 
I am able to get the path of the sequence in: <RunState.SequenceFile.Path>, but how to get the name of the step?
 
 
hope I am clear
Sreedhar.
0 Kudos
Message 1 of 6
(3,945 Views)
pass NameOf(Step)
Message 2 of 6
(3,942 Views)

Thankyou... James, I was passing NameOf(sequence.step)... its simpler than I thought. Smiley Surprised But tell me one thing, can I monitor those values in the Type Palette, by putting a break point in our main sequence.

Regards

Sreedhar.

0 Kudos
Message 3 of 6
(3,926 Views)

"But tell me one thing, can I monitor those values in the Type Palette, by putting a break point in our main sequence."

I'm afraid I don't understand what you are trying to do. Can you be more specific?

0 Kudos
Message 4 of 6
(3,914 Views)
Actually what I meant to say was, when I enter <Runstate.Sequencefile.Path> , the string variable comes into picture only at the run-time, else it shows error (red color), so I want to monitor all the other values possible at the run time or while right clicking on a particular step from the type palette.
 
Hope I am clear.
Sreedhar.
0 Kudos
Message 5 of 6
(3,901 Views)
I'm sorry, but I'm still unclear.
 
- where are you entering <Runstate.Sequencefile.Path>?
- what string variable are you refering to that comes into the picture only at runtime?
- what is showing red? An expression in an expression edit control? Which field on what dialog?
- what do you mean by "monitor" other possible values at run-time?
- what do you mean by "monitor" other possible value while right clicking on a particular step
0 Kudos
Message 6 of 6
(3,887 Views)