SC5313A Operating & Programming Manual
Rev 1.0.2
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 SC5313A API dynamic linked library or LabVIEW library are:
sc5313a_SearchDevices
sc5313a_OpenDevice
sc5313a_CloseDevice
sc5313a_RegWrite
sc5313a_RegRead
sc5313a_InitDevice
sc5313a_SetDeviceStandby
sc5313a_SetFrequency
sc5313a_SetIfGainDac
sc5313a_SetLinearityDac
sc5313a_SetLoFilter
sc5313a_SetLoOut
sc5313a_SetRfAmplifier
sc5313a_SetRfAttenuators
sc5313a_WriteUserEeprom
sc5313a_StoreStartupState
sc5313a_SetRfFilter
sc5313a_GetDeviceInfo
sc5313a_GetDeviceStatus
sc5313a_GetTemperature
sc5313a_ReadCalEeprom
sc5313a_ReadUserEeprom
sc5313a_AutoDcOffsetComp
sc5313a_SetDcOffsetDac
sc5313a_SetRfGain
sc5313a_SetRfPath
sc5313a_SetVcomDac
Each of these functions is described in more detail on the following pages. Example code written in
C/C++ is located in the
CD:\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,
sc5313a.h.
These constants and types are useful not only as an include for developing user applications using the
SC5313A API, but also for writing device drivers independent of those provided by SignalCore.