Programming Guide; Application Development Using The Sws Dlls; Dll Architecture; Installing The Dynamic Link Libraries - JDS Uniphase SWS15100 User Manual

Swept wavelength systems
Table of Contents

Advertisement

Programming Guide

Application Development using the SWS DLLs

The Swept Wavelength System is delivered with a set of Dynamic Link Libraries (DLLs) that can
be used to develop software to suit unique measurement requirements. The DLLs access the
SWS receiver hardware, thereby allowing access to all SWS functionality. Using the supplied
DLLs, applications can be developed in the following environments:
Microsoft Visual Basic (VB)
C or C++
Pascal
National Instruments LabVIEW
The DLLs provide all the hardware control capability, such as trace triggering, data acquisition,
and front panel LED control, that are required to build applications to suit research, production, or
test environments. These DLLs can be used to perform all the basic processing of raw data.
This section explains the development of user-specific applications using the DLLs. In addition to
the DLL information provided in this document, examples using SWS DLLs are provided in the
distribution CD-ROM and can be accessed from the SWS15100\Development\examples
directory after software installation.

DLL Architecture

The SWS15100.DLL software is built as a Win32 C subroutine library on top of a set of three
DLLs that control and manage all system hardware and its basic functions (Table 17). These
DLLs are OWB1.DLL, OWB2.DLL, and OWB3.DLL.
Level
6 (highest)
Client Applications (written in Visual Basic
and others)
5
SWS15100.DLL (located in the Development directory)
4
OWB3.DLL (located in the SWS15100 directory)
3
OWB2.DLL (located in the SWS15100 directory)
2
OWB1.DLL (located in the SWS15100 directory)
1 (lowest)
Hardware

Installing the Dynamic Link Libraries

The SWS DLLs are delivered as part of the basic SWS software distribution. You will find the
DLLs you need to start building your own applications in the directory where you installed the
SWS15100 application.
122 – Programming Guide
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Table 17: DLL Architecture
Structure
1
2
, C, LabVIEW
,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents