Technical description
9.2
Software functions (API)
9.2.1
Base address
1) i_PA358_SetBoardInformation (...)
Syntax:
<Return value> = i_PA358_SetBoardInfomation
Parameter:
UINT
BYTE
PBYTE
Task:
Stores the following information:
- base address,
- number of analog output channels.
A handle is returned to the user which allows to use the next functions.
Handles allow to operate several boards.
Return value:
0: No error
-1: Base address already used
-2: Number of analog output channels is wrong.
-3: No handle is available for the board (up to 10 handles can be used)
2) i_PA358_CloseBoardHandle (..)
IMPORTANT!
Call up this function each time when you want to leave the user
program!
Syntax:
<Return value> = i_PA358_CloseBoardHandle
Parameter:
BYTE
Task:
Releases the handle of the board. Blocks the access to the board.
Return value:
0: No error
-1: The handle parameter of the board is wrong
1 Identification number of the board
Chapter 9
(UINT
BYTE
PBYTE pb_BoardHandle)
ui_Address
b_AnalogOutputChannelNbr Number of analog output channels
pb_BoardHandle
b_BoardHandle
ui_Address,
b_AnalogOutputChannelNbr,
Base address of board PA 358
1
Handle
of board PA 358 for
using the functions
(BYTE b_BoardHandle)
Handle of board PA 358
PA 358
37
Need help?
Do you have a question about the ADDIALOG PA 358 and is the answer not in the manual?
Questions and answers