beautypg.com

Chapter 1 introduction – Bird Technologies SignalHawk User Manual

Page 13

background image

1

Chapter 1

Introduction

This document describes an Application Programming Interface (API)
for the Bird PC Hawk spectrum analyzer.

The API is written in C and provides a C calling interface to a Win-
dows DLL. The API for Windows has groups of functions distin-
guished by their prefixes as follows:

z

sh... for general management and control functions.

z

shSa... for functions specific to Spectrum Analyzer measure-
ments.

The general outline of the steps required to perform a sweep are as follows:

1. Initialize the API at application startup.
2. Establish a connection to the PC Hawk.
3. Set the parameters for a measurement sweep.
4. Start the sweep.
5. Get the data from the sweep.
6. Stop the sweep.
7. Disconnect from the PC Hawk.
8. Finalize the API on application exit.

There are several C and Visual Basic sample projects provided that
demonstrate these operations. Each sample projects sets up a mea-
surement using the PC Hawk and the API, acquires data and writes
the data to the console.