For development programming environments such as the Microsoft Visual Studio Integrated Development Environment (IDE), the programming language needs to first reference the N4010A WLAN Test Driver COM, or .NET, DLL. How this is done varies between development environments. Additionally, there are some minor differences between whether the .NET or COM DLL’s are used which is described in the next section.
There is one DLL reference required:
Agilent.N4010.WLanTest.dll
During installation, the N4010A WLAN “Test Driver” DLL above is registered in the Windows Registry. This enables programs such as Visual Studio .NET to present the DLL in the references list for easy selection.
Select the Project, Add Reference... menu.
The default .NET tab shows a list of assemblies, this is where the .NET DLL is listed.
The COM tab is where the COM DLL’s are listed. This tab should also be familiar to Visual Basic 6 users who reference a COM component's type library the same way (using the Project, References... menu in the Visual Basic 6.0 IDE).
When referencing a COM component, you are actually referencing its type library, which provides the development environment compiler with definitions of types, methods, and properties that the component exposes.
COM DLL: Select Device -> Active X Automation References
.NET
DLL: Select Device -> .NET Assembly References
.NET
DLL: Select Tools -> Advanced -> .NET Assembly References
-> Add -> Browse to the DLL
Select the Project, Add Reference... menu.
The COM tab lists the locations of the COM DLL’s installed on the PC. This tab should look familiar to test developers using development environments such as Agilent VEE, Visual Basic 6, NI LabVIEW, where referencing a COM component's type library is carried out in a similar way.
In some development environments such as Agilent VEE, NI LabVIEW, and NI Lab Windows CVI, the COM DLL can be found and added through another naming terminology, “ActiveX”. |
When referencing a COM component, you are actually referencing its type library, which provides the development environment compiler with definitions of types, methods, and properties that the component exposes.