Function Reference
Channel Quality Measurement Function
hpe5022_BER_channelQualityRawData_Q
C Syntax
ViStatus hpe5022_BER_channelQualityRawData_Q (ViSession id, ViPReal64
chan_qual[], ViInt32 err_count[]);
Visual Basic
hpe5022_BER_channelQualityRawData_Q(ByVal id As Long, ByRef chan_qual
Syntax
As Double, ByRef error_count As Long) As Long
Description
This function returns the measurement result of the channel quality for each sector.
Parameters
• id
• chan_qual
• error_count
Return Values
Completion Code
VI_SUCCESS
Error Code
hpe5022_ERROR_INV_ID
hpe5022_ERROR_DATA_CORRUPT
218
Description
Specifies the system identifier. This is given by the
"hpe5022_init" function.
Direction
IN
Description
Returns the data of channel quality for each sectors. The
returned data is set in array. The size of array is returned by
the "hpe5022_BER_channelQualityRawDataSize_Q"
function. The average of this array will be the same as the
'chan_qual' of the "hpe5022_BER_channelQuality_Q"
function.
Direction
OUT
Description
Returns the number of error. Agilent E5022/E5023 compares
the bit stream by a byte and counts the byte where error has
occurred. Error count represents the number of error byte.
Direction
OUT
Description
No Error
Description
The handle specified by 'id' is invalid.
The channel quality measurement data is
corrupt. Check if your measurement
sequence is correct.
Chapter 3