3. Windows SDK
bcSetGenCode
#define TCODE _GEN _I 'I'
Returns
RC_OK On Success
RC_ERROR On Failure
Description: Sets the time code generator format.
bcSetLocOff
Prototype
int bcSetLocOff (INT Offset, UCHAR half)
Packet
0x1D
Input Parameter
INT Offset = hours from input time source. (-16 - +16). UCHAR half =
half hour increment
0: No Half Hour increment
1: Add Half Hour increment
Returns
RC_OK On Success
RC_ERROR On Failure
Description: Programs the board to operate at an offset from UTC.
bcReqOscData
Prototype
int bcReqOscData (OscData *pdata);
Packet
0x19
Input Parameter
pdata = pointer to OscData structure.
The structure is defined in the "Bc637pci.h" header file.
Returns
RC_OK On Success
RC_ERROR On Failure
Description: Returns oscillator data from the board.
bcReqTimeData
Prototype
int bcReqTimeData (TimeData *pdata);
Packet
0x19
Input Parameter
pdata = pointer to TimeData structure.
The structure is defined in the "Bc637pci.h" header file.
Returns
RC_OK On Success
RC_ERROR On Failure
Description: Returns time data from the board.
Note: See the header file for TimeData structure to understand values being returned.
- 118 -
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com