e a .dll file? that was created from Visual Basics and placed in a sequence file. I need to know step by step. Let just say that the function takes two parameters,numbers and adds them and returns a the results. How do I configure TestStand to handle this.Mattie,
Visual Basic DLLs are ActiveX DLLS. Therefore, from TestStand you would use the ActiveX/COM adapter to call that code module. A VB DLL is not like a standard DLL created with C. It is actually an in-process ActiveX server. ActiveX implies a client/server relationship in which the client requests objects from the server and asks the server to perform actions on the objects. The actions are invoked using properties and methods available for a particular object. Properties of an object can have read and/or write attributes. Values and references can be passed and/or received through parameters of the methods. When you call this VB DLL from TestStand, you cannot use the Flexible DLL adapter (or the C/C++ DLL adapter in TestStand 3.0) you would use for C DLL func
tions. Instead, use the ActiveX Automation Adapter (or the ActiveX/COM adapter in TestStand 3.0) to create an ActiveX object and invoke properties and methods of this object.
Also, the TestStand User Manual and the TestStand Reference Manual describe how to configure each of the dialogs to call different code modules. You can find the manuals online at
www.ni.com/manuals. They are also installed with TestStand. The chapter entitled "Module Adapters" in the reference manual explains how to use the ActiveX adapter.
If you have further questions, please let us know what part is confusing as well as what version of TestStand you are using.
Regards,
Shannon R.
Applications Engineer
National Instruments