Smtgetboardcount, Smtopenboard, Smtcloseboard – Sundance SMT6035 v.2.2 User Manual

Page 12

Advertising
background image

Version 2.2

Page 12 of 39

SMT6035 User Manual

10.2 SmtGetBoardCount

Returns the number of Sundance carrier boards found in the system.

Prototype

DWORD SmtGetBoardCount(void);

Return value

The number of Sundance carrier boards found in the system.

10.3 SmtOpenBoard

Obtains an interface to a Sundance carrier board.

Prototype

IFHw * SmtOpenBoard( UINT nIndex );

Parameters

nIndex

The zero-based index of the carrier board. nIndex should
be in the range 0 <= nIndex < GetBoardCount().

Return value

The return value is an interface of type IFHw that can be used to access the
carrier board. Please refer to section 11 for a description of the functions
provided by this interface. NULL (0) is returned on error.

10.4 SmtCloseBoard

Closes an interface to a board. You must not use the interface pointer after
calling SmtCloseBoard().

Prototype

void SmtCloseBoard( UINT nBoard );

Parameters

nBoard

The index of the board that should be closed. nIndex
should be in the range 0 <= nIndex < GetBoardCount().

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

Advertising