NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to call Teststand API from vb.net

how to call Teststand API  from vb.net ?

 

 

0 Kudos
Message 1 of 3
(3,465 Views)

Hi Radlou,

 

Maybe this dump from TS-Help will help:

 

In Microsoft Visual Basic .NET, you can access the TestStand ActiveX API by first adding the component NationalInstruments.TestStand.Interop.API as a reference in a project and then adding the following directive at the top of the source file:

Imports NationalInstruments.TestStand.Interop.API

All TestStand classes, methods, and properties are available in the Microsoft Visual Studio object browser and are accessible from the Visual Basic .NET source code.

 

Regards

 

Juergen

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

 


@j_dodek wrote:

Hi Radlou,

 

Maybe this dump from TS-Help will help:

 

In Microsoft Visual Basic .NET, you can access the TestStand ActiveX API by first adding the component NationalInstruments.TestStand.Interop.API as a reference in a project and then adding the following directive at the top of the source file:

Imports NationalInstruments.TestStand.Interop.API

All TestStand classes, methods, and properties are available in the Microsoft Visual Studio object browser and are accessible from the Visual Basic .NET source code.

 

Regards

 

Juergen


 

This topic is available online:

 

http://zone.ni.com/reference/en-XX/help/370052J-01/tsapiref/infotopics/visualbasic_net/

 

Here are some additional topics that you might find helpful:

 

Adding and Releasing References in Microsoft Visual Basic .NET
Accessing Built-In Properties in Microsoft Visual Basic .NET
Accessing Dynamic Properties in Microsoft Visual Basic .NET
Acquiring a Derived Class from the PropertyObject Class in Microsoft Visual Basic .NET

Tom
TestStand Documentation
Message 3 of 3
(3,434 Views)