SC5506A Operating & Programming Manual
Rev 2.1.1
23
The functions listed below are found in the
sc5506a.dll
or
sc5506a_usb.dll
dynamic linked library for the
Windows
TM
operating system. These functions are also provided in the LabView library,
sc5506a.llb
. The
LabView functions contain context help (Cntrl-H) to help with the input and output parameters.
Function:
sc5506a_SearchDevices
Definition:
int
sc5506a_SearchDevices(
char
**serialNumberList)
Output:
char
**serialNumberList
(2-D array pointer list)
Description:
sc5506a_SearchDevices
searches for SignalCore SC5506A devices connected to the host
computer and
returns
(
int
) the number of devices found, and it also populates the char
array with their serial numbers. The user can use this information to open specific
device(s) based on their unique serial numbers. See
sc5506a_OpenDevice
function on
how to open a device.
Note: changes to OpenDevice() function.
Function:
sc5506a_OpenDevice
( API DLL < 2.0 )
Definition:
deviceHandle
*sc5506a_
OpenDevice
(
char
*devSerialNum
)
Input:
char
*
devSerialNum
(serial number string)
Return:
*deviceHandle
(unsigned int number for the deviceHandle)
Description:
sc5506a_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.
Function:
sc5506a_OpenDevice
( API DLL > 2.0 )
Definition:
int
sc5506a_
OpenDevice
(
char
*devSerialNum,
HANDLE
*
devHandle
)
Input:
char
*
devSerialNum
(serial number string)
Return:
int
(status)
Output:
HANDLE *
devHandle
(device handle)
Description:
sc5506a_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.