Document type:
Title:
Revision date:
Revision:
User's Manual (MUT)
Mod. V2718 VME PCI Optical Link Bridge
03/07/2018
11
NPO:
Filename:
Number of pages:
Page:
00106/03:V2718.MUTx/11
V2718_REV11.DOC
79
67
4.3.22.
CAENVME_SetOutputConf
Parameters:
[in] Handle
: The handle that identifies the device.
[in] OutSel
: The ouput line to configure (see CVOutputSelect enum).
[out] OutPol
: The output line polarity (see CVIOPolarity enum).
[out] LEDPol
: The output LED polarity (see CVLEDPolarity enum).
[out] Source
: The source signal to propagate to the output line (see
CVIOSources enum).
Returns:
An error code about the execution of the function.
Description:
The function permits to read the configuration of the output lines.
CAENVME_API
CAENVME_GetOutputConf(long Handle, CVOutputSelect OutSel, CVIOPolarity *OutPol,
CVLEDPolarity *LEDPol, CVIOSources *Source).
4.3.23.
CAENVME_ReadRegister
Parameters:
[in] Handle: The handle that identifies the device.
[in] Reg: The internal register to read (see CVRegisters enum).
[out] Data: The data read from the module.
Returns:
An error code about the execution of the function.
Description:
The function permits to read some internal registers: the input register,
the output register and the status register. For the meaning and decoding
of register bits see CVStatusRegisterBits, CVInputRegisterBits and
CVOutputRegisterBits definitions and comments.
CAENVME_API
CAENVME_ReadRegister(long Handle, CVRegisters Reg, unsigned short *Data).
4.3.24.
CAENVME_SetOutputRegister
Parameters:
[in] Handle
: The handle that identifies the device.
[in] Mask
: The lines to be set.
Returns:
An error code about the execution of the function.
Description:
The function sets the specified lines. Refer the CVOutputRegisterBits
enum to compose and decode the bit mask.
CAENVME_API
CAENVME_SetOutputRegister(long Handle, unsigned short Mask).