4. Linux SDK
bcSetHbt
Prototype
BOOL bcSetHbt (BC_PCI_HANDLE hBC_PCI, BYTE mode, USHORT n1,
USHORT n2);
Packet
0x14
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from 'bcStartPci' function
mode = unsigned char value for the heartbeat mode.
n1 = unsigned short value for heartbeat counter 1.
n2 = unsigned short value for heartbeat counter 2.
The allowed values are defined in the 'bcuser.h' file:
enum { PERIODIC_SYNC
= 0x01 };
enum { PERIODIC_NOSYNC
= 0x00 };
Returns
TRUE On Success
FALSE On Failure
Description: Sets the heartbeat counters and mode.
bcSetTcIn
Prototype
BOOL bcSetTcIn (BC_PCI_HANDLE hBC_PCI, BYTE TcIn);
Packet
0x15
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from 'bcStartPci' function
TcIn = unsigned char value for time code input.
The allowed values are defined in the 'bcuser.h' file:
enum { TCODE_IRIG_A
= 0x41 };
enum { TCODE_IRIG_B
= 0x42 };
enum { TCODE_IEEE
= 0x49 };
enum { TCODE_NASA
= 0x4E };
Returns
TRUE On Success
FALSE On Failure
Description: Sets the input time code format.
bcSetTcInMod
Prototype
BOOL bcSetTcInMod (BC_PCI_HANDLE hBC_PCI, BYTE TcInMod);
Packet
0x16
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from 'bcStartPci' function
TcInMod = unsigned char value for time code input modulation.
The allowed values are defined in the 'bcuser.h' file:
enum { TCODE_MOD_AM
= 0x4D };
- 164 -
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com