NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Import NI MAX Configuration file (*nce) programmaticaly

Hello all,

 

I want to import a NI MAX configuration file (*.nce file) programmatically. I know that there is a Labview VI that exists (import.vi under Measurement I/O.System Configuration) but I want to do it directly in TestStand or by using a C# dll.

I tried to use the nisyscfg.dll directly in TestStand with the C/C++ adapter but TestStand returns the following error:

 

NI_TestStand_Sequence_Editor_Edit_.png

 

Any ideas about how to programmatically import a NI MAX configuration file (*.nce file) via TestStand or C# dll ?

 

Thanks,

 

 

0 Kudos
Message 1 of 2
(2,787 Views)

You should be able to include the MAX configuration in the TestStand deployment by following the instructions in the manual linked below. 

"Including Hardware Configuration Information in a Deployment": http://zone.ni.com/reference/en-XX/help/370052P-01/tsdeploysystem/infotopics/includingnihwconfig/ 

You should also be able to export the MAX configuration file without using LabVIEW by following the instructions on the knowledgebase article linked below. 

"Export the System Configuration in MAX": https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PA7DSAW 


0 Kudos
Message 2 of 2
(2,638 Views)