
SC5506A Operating & Programming Manual
Rev 2.1.1
20
S
O F T W A R E
A P I
L
I B R A R Y
F
U N C T I O N S
SignalCore’s philosophy is to provide products to our customers whose lower hardware functions are
easily accessible. For experienced users who wish to use direct, low-level control of frequency and gain
settings, having the ability to access the registers directly is a necessity. However, others may wish for
simpler product integration using higher level function libraries and not having to program registers
directly. The functions provided in the SC5506A API dynamic linked library or LabVIEW library are:
•
sc5506a_SearchDevices
•
sc5506a_OpenDevice
•
sc5506a_CloseDevice
•
sc5506a_RegWrite
•
sc5506a_RegRead
•
sc5506a_InitDevice
•
sc5506a_SetStandby
•
sc5506a_SetFrequency
•
sc5506a_SetPowerLevel
•
sc5506a_SetRfOut
•
sc5506a_SetAlcMode
•
sc5506a_DisableAutoLevel
•
sc5506a_SetReferenceClock
•
sc5506a_SetReferenceDac
•
sc5506a_WriteUserEeprom
•
sc5506a_StoreCurrentState
•
sc5506a_SetAlcDac
•
sc5506a_GetDeviceStatus
•
sc5506a_GetTemperature
•
sc5506a_GetAlcDac
•
sc5506a_ReadCalEeprom
•
sc5506a_ReadUserEeprom
•
sc5506a_GetDeviceInfo
•
sc5506a_GetDeviceParams
(note: function added in rev2.0 for firmware >= 4.0)
Each of these functions is described in more detail on the following pages. Example code written in C/C++
is located in the
Win\Driver\src
directory to show how these functions are called and used. First, for C/C++
we define the constants and types which are contained in the C header file,
sc5506a.h
. These constants
and types are useful not only as an include for developing applications using the SC5506A API, but also for
writing device drivers independent of those provided by SignalCore.