Function Reference
BER Data Pattern Definition Function
hpe5022_BER_sectorFormat_Q
C Syntax
ViStatus hpe5022_BER_sectorFormat_Q(ViSession id, ViPInt32 sectPre,
ViPInt32 data);
Visual Basic
hpe5022_BER_sectorFormat_Q(ByVal id As Long, ByRef sectPre As Long,
Syntax
ByRef data As Long ) As Long
Description
This function returns the sector format specified by the
"hpe5022_BER_sectorFormat" function.
Parameters
• id
• sectPre
• data
Return Values
Completion Code
VI_SUCCESS
Error Code
hpe5022_ERROR_INV_ID
hpe5022_ERROR_NOT_INIT
See Also
"hpe5022_BER_sectorFormat" on page 28
30
Description
Specifies the system identifier. This is given by the
"hpe5022_init" function.
Direction
IN
Description
Returns the length of the sector preamble.
Direction
OUT
Unit
Byte
Description
Returns the length of data.
Direction
OUT
Unit
Byte
Description
No Error
Description
The handle specified by 'id' is invalid.
The resource of HP E5039A is not opened
at initialize. Check if the HP E5039A is
included in the rsrcArray of the
"hpe5022_init" function.
Chapter 3