04-07-2011 08:38 AM
how to call Teststand API from vb.net ?
04-08-2011 01:09 AM
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
04-14-2011 12:44 PM
@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