GxCntGetBoardSummary

Purpose

Returns the board information.

Syntax

GxCntGetBoardSummary (nHandle, pszSummary, nSumMaxLen, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a counter board.
pszSummary
PSTR
Buffer to contain the returned board info (null terminated) string.
nSumMaxLen
SHORT
Size of the buffer to contain the summary string.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The counter summary string provides the following data from the board in the order shown:

For example, the returned string for PCB revision B looks like the following:

“GTX2220, Hardware Revision 1.00, Firmware Revision A”

For PCB revision C and above the returned string looks like the following:

GTX2230, PROM-Version: E  1.60, FPGA-Version:0xC001, S/N: GTX22300154-CG-CB-0, Oscillator type: Standard, Time Base Calibration time: Mon Jan 14 14:43:25 2008, Ch. A Trigger Level Calibration time: Mon Jan 14 14:38:21 2008, Ch. B Trigger Level Calibration time: Mon Jan 14 14:39:02 2008

Example

The following example returns the board summary:

 

SHORT nHandle, nStatus;

CHAR szSummary [256];

 

GxCntGetBoardSummary(nHandle, szSummary, sizeof(szSummary), &nStatus);

 

See Also

GxCntInitialize, GxCntGetErrorString