Humax T9 사용자 설명서

다운로드
페이지 53
DUT Graphical User Interface
DUT Tool Package
Available Functions in mt_dut.dll
Confidential
 User’s Guide
29
Revision 1.1, 2013-05-06
      
Int Dut_SetPower(int power); // Sets the Tx power for close loop only. The value is 
the desired Tx power per antenna in dBm. The function itself does not change the 
power: you must call this function before calling Dut_TxPackets.
Int Dut_SetPowerFloat(float power); // The float version can received more accurate 
values (in *1/8db)
6.3
Burning the EEPROM
Int Dut_BurnEEPROM (DWORD Address, DWORD length, const BYTE* value) // Burning 
information into the EEPROM.
The address is in hexadecimal.
The length is in bytes. 
The value is the string in hexadecimal. 
Examples:
Dut_BurnEEPROM (C4, 2, FFAF)
Dut_BurnEEPROM (2D, 4, 01F499A3)
Int Dut_ReadEEPROM (DWORD address, DWORD length,BYTE* data); // Read data from the 
EEPROM, at a specified address. Length is the number of bytes.
Int Dut_Burn_MAC_Address (const BYTE *mac_address) // Used to burn the MAC address 
(length of 6 bytes).
Int Dut_Burn_Date (int year, int week) // Used to burn the date of the mPCI 
production.
Int Dut_Burn_SN (DWORD SN) // Used to burn the S/N (3 Bytes)
Int Dut_Burn_File (const char* filename) // Used to burn file with address and 
information to the EEPROM. The file should be in the form of:
<Address> <Data> 
Example:
0040 AAFF
Dut_Burn_File can also be called instead of Dut_DriverInit, which in this the file will be burned before the 
init process first reads the EEPROM.
Int Dut_BurnInfo(const char* barcode, const BYTE* macAddr, const char* filename) // 
One function that burns the S/N from the barcode, the MAC address, and the EEPROM 
file.
Int Dut_Burn_Cal_Data (const Dut_CalDataStruct* pCarStr) // Used to burn the 
calibration data. The structure is in the form of: