Humax T9 사용자 설명서
Confidential
DUT Graphical User Interface
DUT Tool Package
Available Functions in mt_dut.dll
User’s Guide
28
Revision 1.1, 2013-05-06
6
Available Functions in mt_dut.dll
All Int functions will return a value:
•
•
If a function is used to receive information (counter etc.) the value will be returned
•
In all other cases, the function will return “1” for success or “0” for fail
Parameters for all functions have names as defined in the header file “DUT_API.h”. For example:
#define DUT_MODE_B 1
#define DUT_MODE_N 2
#define DUT_MODE_N 2
6.1
Init Process
Dut_SetConnectionMode(int connectionType, const char* optIPaddr);
// Set the connection mode to the device. 0=PCI, 1=UART,2=SPI,3=LINUX.
IP addr should be specified for linux connections, can be null otherwise This
function should be called BEFORE Dut_DriverInit.
// Set the connection mode to the device. 0=PCI, 1=UART,2=SPI,3=LINUX.
IP addr should be specified for linux connections, can be null otherwise This
function should be called BEFORE Dut_DriverInit.
Int Dut_DriverInit(void) // Return 1 after success
Int Dut_DriverVersion(double *version); // returns the version to the location of
the pointer
the pointer
Int Dut_SetWLANindex(int wlanIndex);
// In case of concurrent dual-band board, use this function before connection or
reconnection in order to choose the needed WLAN card index - 0 or 1, where 0 is the
default. Call this function AFTER calling Dut_SetConnectionMode
// In case of concurrent dual-band board, use this function before connection or
reconnection in order to choose the needed WLAN card index - 0 or 1, where 0 is the
default. Call this function AFTER calling Dut_SetConnectionMode
Dut_BistRes(int* BistRes); //Reads results of the BIST
6.2
Calibration Process and Tx Tests
Int Dut_SetChannel(int Mode, int band, int CBMode, int channel, BYTE CalibrationMask)
// mode={a,b,g,n}, Band={2400,5000}, CBMode={20,40} channel_index (not the actual
frequency) CalibrationMask - in Hexadecimal
// mode={a,b,g,n}, Band={2400,5000}, CBMode={20,40} channel_index (not the actual
frequency) CalibrationMask - in Hexadecimal
Int Dut_ChangeScramblerMode(int mode) // {0 ,1}
Int Dut_SetTPC (int TPC) // {25,..,2}
Int Dut_TxPackets (int Mode, int RateIndex, , int CBMode, int Length, int
repetitions) // mode={a,b,g,n}, rate={MSC table}, CBMode={20,40}, length in byte,
repetitions - number of packets or 0xFFFF for endless transmission.
Int Dut_EndTxPackets (Void)
repetitions) // mode={a,b,g,n}, rate={MSC table}, CBMode={20,40}, length in byte,
repetitions - number of packets or 0xFFFF for endless transmission.
Int Dut_EndTxPackets (Void)
Int Dut_ReadVoltageValue (double* voltages) // Returns the power values in Volts for
both Tx antennas to the pointer of the value array.
both Tx antennas to the pointer of the value array.