摘要 |
The present invention provides a method for quickly adjusting the waveform brightness of digital three-dimensional (3D) oscilloscope, creates a ROM in FPGA and take it as a look-up table of screen display brightness value of LCD that is corresponding to the waveform occurrence N(T, A) at the current brightness gradation L, and divide the ROM into 2a sub ROMs, each sub ROM has the capacity of 2b×d bits. Sub ROM corresponding to the current brightness gradation L is labeled as subROML; Increase the waveform occurrence N(T,A), assign the value of round(pL·N(T,A) to waveform brightness value D(T,A) and store it correspondingly into the subROML of 2b×d bits by ascending order of the b bits of binary data of waveform occurrence N(T,A). In this way, using the b bits of binary data of waveform occurrence N(T,A) as the binary address of the subROML, corresponding waveform brightness value D(T,A) at the current brightness gradation L can be obtained through look-up table in the subROML. Therefore, compared with complex computation of multiplication, adjusting waveform brightness is simpler and faster. |