GxCalGetBoardSummary

Purpose

Returns the board information.

Syntax

GxPResGetBoardSummary (nHandle, szSummary ,nSumMaxLen, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX1034 board.
szSummary
PSTR
Buffer to contain the returned board info (null terminated) string.
nSumMaxLen
SHORT
The size of the summary string buffer.
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 could look like the following:

“GxCal, FPGA-Version:0xB000, Serial Number: GxCal0005-BB-BA-0000, Calibrated on: Sat Feb 23 23:36:14 2008”

Example

The following example returns the board summary:

 

SHORT nHandle, nStatus;

CHAR szSummary [256];

 

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

 

See Also

GxCalGetDriverSummary, GxCalInitialize , GxCalGetErrorString