Smtgeterror, Smtgetdllver – Sundance SMT6035 v.2.2 User Manual

Page 14

Advertising
background image

Version 2.2

Page 14 of 39

SMT6035 User Manual

SMTOpen OpenRes;

};

The information returned is summarized in the table below:

Field

Description

Type

Specifies the type of carrier board.

cszType

String description of the type of carrier board. For
example “SMT310Q”

nBase

The PCI base address that the host operating system
has assigned to this carrier board.

nRange

The number of bytes from the base address that has
been assigned to this carrier board.

HwStatus

The hardware status of the carrier board. Valid values
are SMT_On and SMT_Off.

LockStatus If the carrier board could be opened successfully, this

value will be SMT_LOCK_OK.

OpenRes

If the software was initialized correctly, this value will be
SMT_OPEN_OK.

10.7 SmtGetError

Returns a string description of the error value.

Prototype:

const char * SmtGetError( SMTRet Error );

Parameters:

Error

The error value.

Return value:

A textual translation of the error value.

10.8 SmtGetDLLVer

Returns the version information for libsmtdrv.so.

Prototype:

SMTRet SmtGetDLLVer( UINT &nMaj, UINT &nMin );

Parameters:

nMaj

Receives the major version number.

User Manual - Version 2.2, 04/01/07; © Sundance Italia S.R.L.

Advertising