NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the property loader working from a custom path

Hi,

Instead of the default public location which is C:\Program Files\National Instruments\TestStand 2016\Cfg\ We want to have a custom location such as C\<Custom file path>\TestStand\Cfg 

 

and the Cfg folder from C:\Program Files\National Instruments\TestStand 2016\Cfg\  is copied to C\<Custom file path>\TestStand\Cfg

 

The batch file I run to change the path is this

cmd.exe /c reg add "HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\TestStand\16.0" /v "CustomPublicLocation" /d "C:\xyz\TestStand" /f

 

and

 

cmd.exe /c reg add "HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\TestStand\16.0" /v "CustomPublicLocation" /d "C:\xyz\TestStand\Cfg" /f

 

When I do the above settings

The property loader posses an error 

------Multiple instances of file

 

and under the "Source Type" in property loader step I do not any options such as "csv" or Txt" etc

 

What other files I should have in my custom folder from the NI Test stand folder for the property loader to work properly

 

Kindly help

 

 

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

So there's a lot going on here that it seems can be easily fixed by using TestStand Environments.  More on that later.

 

It looks like both of your registry commands are editing the public folder location?  Is that on purpose?

 

In TestStand there are basically 3 folders:

Cfg - location where all of the TestStand configuration files are stored.  https://zone.ni.com/reference/en-XX/help/370052W-01/tsdeploysystem/infotopics/configurationfiles/

 

Public - Mimics the TestStand Default folder except it contains any changes to modified TestStand components (e.g. process models, plugins, step types, etc...) https://zone.ni.com/reference/en-XX/help/370052W-01/tsfundamentals/infotopics/directories_ts_public/

 

TestStand Default -  Location for native TestStand components.  DO NOT modify or change anything in these folders.  If you need to customize it copy to public folder and edit there. 

 

Basically everything in TestStand works on search directories.  By default it looks in the Public folder first and then in the TestStand Default folder.  The Cfg directory doesn't use search directories.  TestStand just looks at the known location for the Cfg directory. 

 

You can tell TestStand to change any or all of these locations by using Environments.  More on Environments here: http://www.ni.com/tutorial/54263/en/

 

I remember before environments existed we would change the registry, much like you are doing, to share TS public between developers.  Now that we use package manager this is no longer an issues because it is so easy to just package it up and install a new TestStand public quickly.   

 

I have a hard time believing that anything with the Cfg folder impacts the Property Loader step as all of the code for it i s stored in the TestStand Default folder.   Unless you are pointing to a file in the Cfg folder?

 

Can you send a screenshot of the error?  I'm curious where it is occurring exactly.

 

 

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

Hi Here are the snips attached

Snip1.JPG

and here is the error message

 

Errors:Invalid Plugins
Plugin Path C:\xyz\TestStand\Components\PropertyLoader\NI_CSV.dll
Error Description Found multiple plugins with ID '41DC9DED-3DD3-4F46-89E2-BA08B660973B'. The following plugins implements plugin with ID '41DC9DED-3DD3-4F46-89E2-BA08B660973B' : C:\xyz\TestStand\Components\PropertyLoader\NI_CSV.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_CSV.dll
You must use a unique ID for each plugin.
Plugin Path C:\xyz\TestStand\Components\PropertyLoader\NI_Database.dll
Error Description Found multiple plugins with ID '76806EE6-BD0D-41AE-A58B-B3809508C92B'. The following plugins implements plugin with ID '76806EE6-BD0D-41AE-A58B-B3809508C92B' : C:\xyz\TestStand\Components\PropertyLoader\NI_Database.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_Database.dll
You must use a unique ID for each plugin.
Plugin Path C:\xyz\TestStand\Components\PropertyLoader\NI_Excel.dll
Error Description Found multiple plugins with ID 'B4334892-570C-43CA-8170-D403522BB71F'. The following plugins implements plugin with ID 'B4334892-570C-43CA-8170-D403522BB71F' : C:\xyz\TestStand\Components\PropertyLoader\NI_Excel.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_Excel.dll
You must use a unique ID for each plugin.
Plugin Path C:\xyz\TestStand\Components\PropertyLoader\NI_LegacySource.dll
Error Description Found multiple plugins with ID '3AC92D5E-4729-45A6-8782-DFF0BEE61398'. The following plugins implements plugin with ID '3AC92D5E-4729-45A6-8782-DFF0BEE61398' : C:\xyz\TestStand\Components\PropertyLoader\NI_LegacySource.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_LegacySource.dll
You must use a unique ID for each plugin.
Found multiple plugins with ID 'E713C9AC-B38F-4069-A53A-23246302E16A'. The following plugins implements plugin with ID 'E713C9AC-B38F-4069-A53A-23246302E16A' : C:\xyz\TestStand\Components\PropertyLoader\NI_LegacySource.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_LegacySource.dll
You must use a unique ID for each plugin.
Found multiple plugins with ID 'F0FB00A1-4C07-48EB-91B0-FADA53B589A8'. The following plugins implements plugin with ID 'F0FB00A1-4C07-48EB-91B0-FADA53B589A8' : C:\xyz\TestStand\Components\PropertyLoader\NI_LegacySource.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_LegacySource.dll
You must use a unique ID for each plugin.
Found multiple plugins with ID 'AD1C0092-ED09-4411-B608-E8DB10377A34'. The following plugins implements plugin with ID 'AD1C0092-ED09-4411-B608-E8DB10377A34' : C:\xyz\TestStand\Components\PropertyLoader\NI_LegacySource.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_LegacySource.dll
You must use a unique ID for each plugin.
Plugin Path C:\xyz\TestStand\Components\PropertyLoader\NI_TXT.dll
Error Description Found multiple plugins with ID '28EE5C36-0A80-4E4D-BFB9-19FE8A294614'. The following plugins implements plugin with ID '28EE5C36-0A80-4E4D-BFB9-19FE8A294614' : C:\xyz\TestStand\Components\PropertyLoader\NI_TXT.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_TXT.dll
You must use a unique ID for each plugin.
Plugin Path C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_CSV.dll
Error Description Found multiple plugins with ID '41DC9DED-3DD3-4F46-89E2-BA08B660973B'. The following plugins implements plugin with ID '41DC9DED-3DD3-4F46-89E2-BA08B660973B' : C:\xyz\TestStand\Components\PropertyLoader\NI_CSV.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_CSV.dll
You must use a unique ID for each plugin.
Plugin Path C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_Database.dll
Error Description Found multiple plugins with ID '76806EE6-BD0D-41AE-A58B-B3809508C92B'. The following plugins implements plugin with ID '76806EE6-BD0D-41AE-A58B-B3809508C92B' : C:\xyz\TestStand\Components\PropertyLoader\NI_Database.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_Database.dll
You must use a unique ID for each plugin.
Plugin Path C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_Excel.dll
Error Description Found multiple plugins with ID 'B4334892-570C-43CA-8170-D403522BB71F'. The following plugins implements plugin with ID 'B4334892-570C-43CA-8170-D403522BB71F' : C:\xyz\TestStand\Components\PropertyLoader\NI_Excel.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_Excel.dll
You must use a unique ID for each plugin.
Plugin Path C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_LegacySource.dll
Error Description Found multiple plugins with ID '3AC92D5E-4729-45A6-8782-DFF0BEE61398'. The following plugins implements plugin with ID '3AC92D5E-4729-45A6-8782-DFF0BEE61398' : C:\xyz\TestStand\Components\PropertyLoader\NI_LegacySource.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_LegacySource.dll
You must use a unique ID for each plugin.
Found multiple plugins with ID 'E713C9AC-B38F-4069-A53A-23246302E16A'. The following plugins implements plugin with ID 'E713C9AC-B38F-4069-A53A-23246302E16A' : C:\xyz\TestStand\Components\PropertyLoader\NI_LegacySource.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_LegacySource.dll
You must use a unique ID for each plugin.
Found multiple plugins with ID 'F0FB00A1-4C07-48EB-91B0-FADA53B589A8'. The following plugins implements plugin with ID 'F0FB00A1-4C07-48EB-91B0-FADA53B589A8' : C:\xyz\TestStand\Components\PropertyLoader\NI_LegacySource.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_LegacySource.dll
You must use a unique ID for each plugin.
Found multiple plugins with ID 'AD1C0092-ED09-4411-B608-E8DB10377A34'. The following plugins implements plugin with ID 'AD1C0092-ED09-4411-B608-E8DB10377A34' : C:\xyz\TestStand\Components\PropertyLoader\NI_LegacySource.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_LegacySource.dll
You must use a unique ID for each plugin.
Plugin Path C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_TXT.dll
Error Description Found multiple plugins with ID '28EE5C36-0A80-4E4D-BFB9-19FE8A294614'. The following plugins implements plugin with ID '28EE5C36-0A80-4E4D-BFB9-19FE8A294614' : C:\xyz\TestStand\Components\PropertyLoader\NI_TXT.dll
C:\Program Files\National Instruments\TestStand 2016\Components\PropertyLoader\NI_TXT.dll
You must use a unique ID for each plugin.

Source Name Errors
Source 0 : 'NI_CSV.dll' Property Loader Plugin with ID '41DC9DED-3DD3-4F46-89E2-BA08B660973B' which handles format 'NI Comma Delimited Text (*.csv)' could not be found. Make sure the property loader plugin is installed.;

 

Regards.

Siddharth

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