Hpe5022_Ber_Sectorerrorcount_Q - Agilent Technologies E5022B Programming Manual

Hard disk read/write test system
Hide thumbs Also See for E5022B:
Table of Contents

Advertisement

Function Reference
Bit Error Rate Measurement Function

hpe5022_BER_sectorErrorCount_Q

C Syntax
ViStatus hpe5022_BER_sectorErrorCount_Q(ViSession id, ViInt32 err[], ViInt32
lost[]);
Visual Basic
hpe5022_BER_sectorErrorCount_Q(ByVal id As Long, ByRef err As Long,
Syntax
ByRef lost As Long) As Long
Description
This function returns the total of error symbol, lost sectors for each sector. The
"hpe5022_BER_measureBer" or "hpe5022_BER_setupBer" function must be
executed before this function is performed. The logging mode of the
"hpe5022_BER_berDataLoggingMode" function must be set to "VI_TRUE".
Parameters
• id
• err
• lost
Return Values
Completion Code
VI_SUCCESS
Error Code
hpe5022_ERROR_INV_ID
162
Description
Specifies the system identifier. This is given by the
"hpe5022_init" function.
Direction
IN
Description
Returns the total of number of error symbol for each sector.
The returned data is in array form. The
"hpe5022_BER_sector ErrorCountSize_Q" function returns
the size of array. Sector number begins at 0. The err [0]
represents the number of errors for sector no. 0. Err[n] is the
number of errors that corresponds to a particular sector no. n.
Direction
OUT
Unit
Byte
Description
Returns the number of lost sectors. The returned data is in
array. The "hpe5022_BER_sectorErrorCountSize_Q"
function returns the size of array. The lost[0] represents the
lost sector 0. The lost[n] represents the number of lost sector
[n].
Direction
OUT
Description
No Error
Description
The handle specified by 'id' is invalid.
Chapter 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

E5023aE5022aE5039cE5039aE5039b

Table of Contents