Function Reference
Channel IC Configuration Function
hpe5022_BER_channelIcRegister
C Syntax
ViStatus hpe5022_BER_channelIcRegister(ViSession id, ViInt32 addr, ViInt32
upperBitPos, ViInt32 lowerBitPos, ViInt32 data);
Visual Basic
hpe5022_BER_channelIcRegister(ByVal id As Long, ByVal addr As Long, ByVal
Syntax
upperBitPos As Long, ByVal lowerBitPos As Long, ByVal data As Long) As Long
Description
This function writes a specified data to the specified address of the channel IC
register. The upper bit position and lower bit position are specified. Figure 3-5
shows an example.
Figure 3-5
Register Setting Example
Parameters
• id
• addr
108
Description
Specifies the system identifier. This is given by the
"hpe5022_init" function.
Direction
IN
Description
Specifies the address of the register.
Direction
IN
Values
Name
hpe5022_BER_REG_ADDR_MIN
hpe5022_BER_REG_ADDR_MAX
Value
0
0x3ffff
Chapter 3