4. Linux SDK
bcSetClkSrc
enum { CLK_EXT
= 0x45 };
Returns
TRUE On Success
FALSE On Failure
Description: Sets the clock source, Internal/External.
bcSetDac
Prototype
BOOL bcSetDac (BC_PCI_HANDLE hBC_PCI, USHORT dac);
Packet
0x24
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from 'bcStartPci' func-
tion
dac = unsigned short value for the DAC.
Returns
TRUE On Success
FALSE On Failure
Description: Sets the DAC value
bcSetGain
Prototype
BOOL bcSetGain (BC_PCI_HANDLE hBC_PCI, short gain);
Packet
0x25
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from 'bcStartPci' function
gain = short value for the Gain.
Returns
TRUE On Success
FALSE On Failure
Description: Sets the GAIN.
bcSetJam
Prototype
BOOL bcSetJam (BC_PCI_HANDLE hBC_PCI, BYTE jam);
Packet
0x21
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from 'bcStartPci' function
jam = unsigned char value for enabling/disabling jam-sync.
The allowed values are defined in the 'bcuser.h' file:
enum { JAM_SYNC_ENA
= 0x01 };
enum { JAM_SYNC_DIS
= 0x00 };
Returns
TRUE On Success
FALSE On Failure
Description: Sets the Jam-Sync.
- 166 -
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com