
Document type:
Title:
Revision date:
Revision:
User's Manual (MUT)
Mod. V1724 8 Channel 14bit - 100MS/s Digitizer
06/11/2007
7
NPO:
Filename:
Number of pages:
Page:
00103/05:V1724x.MUTx/07 V1724_REV7.DOC
63
41
A2818
PC side
TX
RX
RX
TX
crate side
PC side
V17XX
V17XX
V17XX
RX
TX
RX
TX
RX
TX
TX
RX
V17XX
A2818
Link:
0
1
BdNum
0
1
N
0
Fig. 3.25: Optical Link daisy chain
The Optical Link can be operated through the CAENVMELib library: a set of ANSI C
functions which permits an user program the use and the configuration of the modules.
The present description refers to CAENVMELib, available in the following formats:
−
Win32 DLL (CAEN provides the CAENVMELib.lib stub for Microsoft Visual C++ 6.0)
−
Linux dynamic library
CAENVMELib is logically located between an application like the samples provided and
the device driver.
The following sections describe the CAENVMELib library and its implemented functions.
3.13.1. CAENVME_Init
Parameters:
[in] BdType
: The model of the board (V2718).
[in] Link
: The index of the A2818 (see figure above).
[in] BdNum
: The board number in the link (see figure above).
[out] Handle
: The handle that identifies the device.
Returns:
An error code about the execution of the function.
Description:
The function generates an opaque handle to identify the module
attached to the PC. It must be specified only the module index (BdNum)
because the link is PCI.
CAENVME_API
CAENVME_Init(CVBoardTypes BdType, short Link, short BdNum, long *Handle);
3.13.2. CAENVME_End
Parameters:
[in] Handle: The handle that identifies the module.