Function Reference
Channel IC Configuration Function
hpe5022_BER_channelIcDetectorType
C Syntax
ViStatus hpe5022_BER_channelIcDetectorType (ViSession id, ViInt16 detType);
Visual Basic
hpe5022_BER_channelIcDetectorType(ByVal id As Long, ByVal detType As
Syntax
Integer) As Long
Description
This function selects the detector type. Either PR4, EPR4, EEPR4 or advanced can
be selected.
Parameters
• id
• detType
Return Values
Completion Code
VI_SUCCESS
Error Code
hpe5022_ERROR_INV_ID
hpe5022_ERROR_INV_PARAMETER
96
Description
Specifies the system identifier. This is given by the
"hpe5022_init" function.
Direction
IN
Description
Specifies the detector type. When the installed channel IC
has a detector type other than PR4, EPR4 and EEPR4, the
type is assigned as "hpe5022_BER_DET_ADVANCED".
Direction
IN
Values
Name
hpe5022_BER_DET_ADVANCED
hpe5022_BER_DET_PR4
hpe5022_BER_DET_EPR4
hpe5022_BER_DET_EEPR4
Value
Description
0
Advanced
1
PR4
2
EPR4
3
EEPR4
Description
No Error
Description
The handle specified by 'id' is
invalid.
The parameter 'detType' is out of
range.
Chapter 3