Hpe5022_Ber_Prbspattern_Q - Agilent Technologies E5022B Programming Manual

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

Advertisement

Function Reference
BER Data Pattern Definition Function

hpe5022_BER_prbsPattern_Q

C Syntax
ViStatus hpe5022_BER_prbsPattern_Q(ViSession id, ViInt16 pat, ViPInt32
rand_coef, ViPInt32 rand_init);
Visual Basic
hpe5022_BER_prbsPattern_Q(ByVal id As Long, ByVal pat As Integer, ByRef
Syntax
rand_coef As Long, ByRef rand_init As Long) As Long
Description
This function returns the PRBS pattern configuration.
Parameters
• id
• pat
• rand_coef
• rand_init
Return Values
Completion Code
VI_SUCCESS
Error Code
hpe5022_ERROR_INV_ID
hpe5022_ERROR_INV_PARAMETER
hpe5022_ERROR_NOT_INIT
36
Description
Specifies the system identifier. This is given by the
"hpe5022_init" function.
Direction
IN
Description
Selects the data pattern number.
Direction
IN
Values
Same as 'pat' parameter in the
"hpe5022_BER_selectPattern" function.
Description
Returns the pseudo-random sequence of the generating
polynomial.
Direction
OUT
Description
Returns the initial value of the pseudo-random generator.
Direction
OUT
Description
No Error
Description
The handle specified by 'id' is invalid
The parameter 'pat' is out of range.
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

E5023aE5022aE5039cE5039aE5039b

Table of Contents