NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone used the Labview Adapter with Teststand API ?

I am currently trying to generate a Sequence with a XML / INI file. NI provides some files (Building a Sequence using API). I had already couple of problems with the provided files so I created some new ones which seems to work. 

 

I first tried it with the XML tool, Once I try to implement a Labview Adapter there is a error code: -17336; invalid adapter name

 

I already tried naming it LabVIEW, LabVIEW Adapter, LabVIEWAdapter, LabVIEW Module, LabVIEWModule,... but nothing works. If I type in "None Adapter" it expects me to reference toan object of type LabVIEWModule.

NI_JW_0-1738761718258.png

 

 

I already checked the Labview Adapter Configuration and I use the Labview Development System (If I use Run-Time Engine, there are a couple of errors).

 

The problem also occurs when I use the INI tool.

 

I am using LabVIEW 2021 and Teststand 2016. 

 

Did anyone used the LabVIEW adapter for Teststand before and can tell me what to do ? 

0 Kudos
Message 1 of 4
(94 Views)

Hi NI_JW

 

Try LVAdapterKeyName

 

Second thought try G Std Prototype Adapter.

 

Use the TestStand API String Constant in the LabVIEW TestStand palette. 

 

Regards

 

Steve

0 Kudos
Message 2 of 4
(81 Views)

I tried these words but there are still the errors. With G Std Prototype Adapter I cant even read the file. 

 

I also use the TestStand API String Constant. I dont notice any differences...

 

Can anyone provide some files with working XML/INI files that are used for buildiung a teststand sequence and use labview VIs? 

0 Kudos
Message 3 of 4
(61 Views)

We created a TestStand builder that translates Word Documents into TestStand sequences.  It uses the code below to create TestStand steps, including those that use the LabVIEW Adapter.

 

Add Setp.JPG

 

I guess the source of your errors is elsewhere.

0 Kudos
Message 4 of 4
(33 Views)