4.3. Library Definitions
bcSetGpsTmFmt
Prototype
BOOL bcSetGpsTmFmt (BC_PCI_HANDLE hBC_PCI, BYTE gpsfmt);
Packet
0x33
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from 'bcStartPci' function
gpsfmt = unsigned char value for gps time format.
The allowed values are defined in the 'bcuser.h' file:
enum { GPS_TIME_FMT
= 0x01 };
enum { UTC_TIME_FMT
= 0x00 };
Returns
TRUE On Success
FALSE On Failure
Description: Sets the GPS time format.
bcSetGpsOperMode
Prototype
BOOL bcSetGpsOperMode (BC_PCI_HANDLE hBC_PCI, BYTE gpsmode);
Packet
0x34
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from 'bcStartPci' function
gpsmode = unsigned char value for gps mode.
The allowed values are defined in the 'bcuser.h' file:
enum { GPS_STATIC
= 0x01 };
enum { GPS_NONE_STATIC
= 0x00 };
Returns
TRUE On Success
FALSE On Failure
Description: Sets the GPS operating mode.
bcSetLocalOffsetFlag
Prototype
BOOL bcSetLocalOffsetFlag (BC_PCI_HANDLE hBC_PCI, BYTE flagoff);
Packet
0x40
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from 'bcStartPci' function
flagoff = unsigned char value for enabling/disabling local offset time.
The allowed values are defined in the 'bcuser.h' file:
enum { LOCAL_OFF_ENABLE
= 0x01 };
enum { LOCAL_OFF_DISABLE
= 0x00 };
Returns
TRUE On Success
FALSE On Failure
Description: Sets the local offset flag.
- 167 -
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com