NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to set relative paths in custom step types ?

Hi ppl...

I was trying to create a sequence file with custom step types. while trying to specify the default module it tried to give a relative path myself without adding the directory to the search directories list. That is I tried to specify default module path like ..\..\SubDirectory1\ SubDirectory2\DefaultModule.vi. But when i tried to specify it, the dialog showed 'file not found'.

However i could specify the same relative path to the module, when i inserted it to the same sequence. I was trying to create the Step Type in StepTypes of the sequence file and not in MyTypes.ini.

Why was this problem ? where are these steptypes of the sequence files actually created ? Any suggestions to overcome it

0 Kudos
Message 1 of 8
(3,745 Views)

Hi,

 

Have you made the path public in SearchDirectoryies ?

 

Greetings

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 8
(3,740 Views)

No...

I dont want to add any new paths to the Search directories. Since i the current sequence File directory is already in the Search list, cant i use this type of relative paths ? 

0 Kudos
Message 3 of 8
(3,738 Views)

Hi,

 

Just to clarify :"..\..\SubDirectory1\ SubDirectory2\DefaultModule.vi" is relative to your SequenceFile ?

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 8
(3,734 Views)

I guess so...

Because my sequence file is in the directory  ..\..\SubDirectory3\SubDirectory4\MySequence.seq

 

0 Kudos
Message 5 of 8
(3,731 Views)

Hi Lordsathi

 

I tried to solve your problem. See the attached example and check the pathes

I created a new Type within the SequenceFile and tried find the file according your description.

Well it failed. But if you make root (....."root"\SubDire....) public in TS SearchDirectory it will work. I  know thats not what your

are looking for. (By the way all my usertypes are relative and are present on network file drive. It is working

prefect if made the root public)

 

I am sorry have no other suggestion.

So lets see if the blue ones have some idea !

 

Greetings

juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 6 of 8
(3,706 Views)

Hi ,

   I hope  the problem has been resolved . Do let me know for any further help.

Pranchal

0 Kudos
Message 7 of 8
(3,687 Views)

Hi Pranchal,

 

In my case no.

Because it seems that "../" is not working in the specify module dialog of  Substep-tap in StepType properties.

all you need is to start from actual sequenceFile directory not from a "root" defined in TS-search path.

The reason is to make your stuff indepent from search path entries.

 

Greetings

 

juergen 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 8 of 8
(3,682 Views)