SC5313A Operating & Programming Manual
Rev 1.0.2
22
Type Definitions
typedef
struct
deviceInfo_t
{
unsigned
int
productSerialNumber;
unsigned
int
rfModuleSerialNumber;
float
firmwareRevision;
float
hardwareRevision;
unsigned
int
calDate;
// year, month, day, hour:&(0xFF000000,0xFF0000,0xFF00,0xFF)
unsigned
int
manDate;
// year, month, day, hour:&(0xFF000000,0xFF0000,0xFF00,0xFF)
}
deviceInfo_t;
typedef
struct
{
bool
rfAmp1Enable;
bool
rfAmp2Enable;
bool
rfPath;
bool
LoEnable;
bool
deviceAccess;
}
deviceStatus_t;
Function Definitions and Usage
The functions listed below are found in the
sc5313a.dll
dynamic linked library for the Windows
TM
operating system. These functions are also provided in the LabVIEW library,
sc5313a.llb.
The LabVIEW
functions contain context-sensitive help (Ctrl-H) to assist with understanding the input and output
parameters.
Function:
sc5313a_SearchDevices
Definition:
int
sc5313a_SearchDevices(
char
**serialNumberList)
Output:
char
**serialNumberList
(pointer list to serialNumberList)
Description:
sc5313a_SearchDevices
searches for SignalCore SC5313A devices connected to the host
computer and returns an array containing their unique serial numbers. This information
can be used to open the device(s) using individual device serial numbers as unique
identifiers in the system. See
sc5313a_OpenDevice
function on how to open a device.
Function:
sc5313a_OpenDevice
Definition:
deviceHandle
*sc5313a_OpenDevice(
char
*devSerialNum)
Input:
char
*devSerialNum
(pointer serial number list)
Output:
deviceHandle
*deviceHandle
(unsigned integer number for the deviceHandle)
Description:
sc5313a_OpenDevice
opens the device and turns the front panel “active” LED on if it is
successful. It returns a handle to the device for other function calls.