5.7 Reference Guide for using DLL
171
unsigned long read_tester_rx_gain(unsigned char *rx_gain);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
rx_gain // 0:10 dB, 1:20 dB, 2:30 dB ... 6:70 dB
write_tester_rx_gain
Description
This function writes the gain of RX amplifier of a tester.
Syntax
unsigned long write_tester_rx_gain(unsigned char rx_gain);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
rx_gain // 0:10 dB, 1:20 dB, 2:30 dB ... 6:70 dB
read_tester_rx_att
Description
This function reads the “30 dB RX attenuator” state of a tester.
Syntax
unsigned long read_tester_rx_att(unsigned char *rx_att);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
rx_att // 0: OFF, 1: ON
write_tester_rx_att
Description
This function writes the “30 dB RX attenuator” state of a tester.
Syntax
unsigned long write_tester_rx_att(unsigned char rx_att);
Return Value
The return value of this function will be zero if the function is successful. Otherwise, the return value will be
an error code.
Parameter
rx_att // 0: OFF, 1 : ON(default).
read_tester_tx_pow
Description
This function reads the transmitter power of a tester in 0.01 dBm.
Syntax