NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI Module Call in Relative mode

HI,
 
I defined an Action step with CVI dll.   While filling in the definitions in the Module Call Tabs, I get the choice of relative location vx absolute location in the CVI project and CVI 'c' file.  However, for the Module Pathname (dll) I don't get this option....
 
As a result of this, every time I copy my project to a new location I get an error in this step.  TS is looking for my file in the old location....
 
I checked my 'Search Directories' content and deleted anything related to the old location.  I even redefined the step from the beginning...but it always behaves the same...
 
Is this normal behavior?
How can make the dll pathname also be a relative location?
 
Thanks
Rafi
0 Kudos
Message 1 of 2
(2,751 Views)
Howdy Rafi,
 
The Module Pathname, the Pathname of Source File Containing Function and the Pathname of CVI Project File to Open options can either be an absolute or relative pathname.  Relative pathnames are relative to the TestStand search directory paths.
 
For example, if you open up the AccessingArrays example located in <TestStand>\Examples\AccessingArrays\UsingCVIStandardPrototype\, you notice that all the fields mentioned above are using relative names (i.e. Module Pathname = "AccessingArrays.dll" not C:\Program Files\.....). This is because all those files are in the current sequence file directory which is one of the default search directories. 
 
Hope this clarifies things. If you are still having some problems, let me know.
 
Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 2
(2,727 Views)