NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get VI Reference of the VI that is to be run using the action (custom) step

Hi,

 

I am currently working on a custom action step. The called VI will self load all the FP values from a configuration file. But I need to be able to pass some values from TestStand using the inputs in the VI Connector Pane. So, if I make the file load happen in the pre-step instead, I will be able to accomplish this.

 

My issue is that the called VI is of a preallocated clone type. So, I cannot accomplish this with just having the VI path alone as I would be needing the clone instance itself. Is there a way, within the pre-step, I can obtain access to the clone instance that is to be called by the action step?

 

Thanks,

Arul

0 Kudos
Message 1 of 3
(2,535 Views)

It might be noteworthy to state that you can have multiple pre-step substeps for a custom step type.  They run in the order that they show up in the list.  So you could have one pre-step get the reference to the clone and then the other can do the file load.

 

Just a thought,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 3
(2,501 Views)

Even if I get a clone reference in a pre-step, that will not be the reference of the actual clone that will be called by the action step itself, right?

0 Kudos
Message 3 of 3
(2,481 Views)