Sundance SMT1026 User Manual
Page 35

Return
value:
None.
Notes:
This function configures the ADC registers of the SMT941.
AcquireAB
Prototype:
int AcquireAB(unsigned int nBytes, unsigned chart *a,
unsigned short *b);
Parameters:
nBytes
Number of bytes to acquire.
a
Data sampled from channel A.
b
Data sampled from channel B.
Return
value:
Return 0 if successful otherwise 1.
Notes:
This function acquires data on channel A and channel B of the SMT941.
AcquireCD
Prototype:
int AcquireCD(unsigned int nBytes, unsigned chart *c,
unsigned short *d);
Parameters:
nBytes
Number of bytes to acquire.
c
Data sampled from channel C.
d
Data sampled from channel D.
Return
value:
Return 0 if successful otherwise 1.
Notes:
This function acquires data on channel C and channel D of the SMT941.
GetFirmwareVersion
Prototype:
unsigned int GetFirmwareVersion(void);
Parameters:
None.
Return
value:
None.
Notes:
This function gets the firmware version. Before using this function the
user has to make sure this functionality is part of the firmware used to
program the FPGA.