NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

change, set step name permanently Labview Testand API

Solved!
Go to solution

Hi, I can change a stepname during the "Run Selected Steps" in a VI, but it changes not permanently. The new name is shown in the report file but the old step name stays in the sequencefile. I save the sequencefile in the VI and see that it was saved at the time but it dosnt take the new stepname in the seuencefile. Is there an othe possibility to change the stepname permanently?

Here a picture of the front panel, blockdiagram, sequencefile before and after and the report. I use Labview 2012 32bit with Teststand 2012.

Stepname_small.jpg

0 Kudos
Message 1 of 4
(4,205 Views)

The issue you are facing is that you change the name in the wrong context. You are using the context of a running execution for renaming the step.

This does, as you observe, NOT affect the original file.

 

You have to select the step to rename from the file itself, not from the context of a running execution.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(4,202 Views)

And how I do that?

0 Kudos
Message 3 of 4
(4,199 Views)
Solution
Accepted by topic author Rokot

I haven't tested this but it should be what you do after renaming the step: Use the SequenceFile reference.

Identify the step going from that reference (SequenceFile->Sequence->Step) and do the renaming.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 4 of 4
(4,196 Views)