Function Reference
BER Data Pattern Definition Function
hpe5022_BER_sectorCount_Q
C Syntax
ViStatus hpe5022_BER_sectorCount_Q(ViSession id, ViPInt16 sector);
Visual Basic
hpe5022_BER_sectorCount_Q(ByVal id As Long, ByRef sector As Integer) As
Syntax
Long
Description
This function returns the number of sectors.
Parameters
• id
• sector
Return Values
Completion Code
VI_SUCCESS
Error Code
hpe5022_ERROR_INV_ID
hpe5022_ERROR_NOT_INIT
See Also
"hpe5022_BER_sectorCount" on page 65
66
Description
Specifies the system identifier. This is given by the
"hpe5022_init" function.
Direction
OUT
Description
Returns the number of sectors per track.
Direction
OUT
Description
No Error
Description
The handle specified by 'id' is invalid.
The resource of Agilent E5039A/B can
not be opened during initialization. Check
if Agilent E5039A/B is included in the
rsrcArray of the "hpe5022_init" function.
Chapter 3