CN101685107B - Testing device with setting state converting function and control method thereof - Google Patents
Testing device with setting state converting function and control method thereof Download PDFInfo
- Publication number
- CN101685107B CN101685107B CN2008102117118A CN200810211711A CN101685107B CN 101685107 B CN101685107 B CN 101685107B CN 2008102117118 A CN2008102117118 A CN 2008102117118A CN 200810211711 A CN200810211711 A CN 200810211711A CN 101685107 B CN101685107 B CN 101685107B
- Authority
- CN
- China
- Prior art keywords
- state
- instruction
- key
- button
- interrupt
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
一种具有设置状态转换功能的测试设备及其控制方法,具有一个工作部件、一个与所述的工作部件相连接的控制部件、一个与所述的控制部件相连接的状态存储器、一个与所述的控制部件相连接的状态转换按键,所述的状态转换按键可以产生状态存储指令或状态调用指令,或使所述的控制部件在所述的状态存储器中保存当前测试设备的设置状态,或使所述的控制部件依照所述的状态存储器中保存的内容,对所述的测试设备的执行状态设置。本发明所述的设备,具有可以一键保存或一键恢复设备设置状态的特点、用户可以根据需要,快捷、方便的切换设备的设置状态。本发明所述的测试设备可以是各种测试设备,如数字信号发生器、数字示波器或综合测试设备。
A testing device with setting state conversion function and its control method, comprising a working part, a control part connected with the working part, a state memory connected with the control part, a The state conversion button connected to the control part, the state conversion button can generate a state storage instruction or a state call instruction, or make the control part save the current setting state of the test equipment in the state memory, or make the The control component sets the execution state of the test device according to the content stored in the state memory. The device of the present invention has the feature of saving or restoring the device setting state with one key, and the user can quickly and conveniently switch the setting state of the device according to needs. The test equipment described in the present invention can be various test equipment, such as digital signal generator, digital oscilloscope or comprehensive test equipment.
Description
技术领域technical field
本发明涉及到测试领域,特别是涉及到电变量测试领域,更特别是涉及到了数字示波器领域。The invention relates to the field of testing, in particular to the field of electric variable testing, and more particularly to the field of digital oscilloscopes.
背景技术Background technique
随着数字技术的不断发展,各种数字化测试设备的功能和指标也在不断的增加和提高。举例来说,现在某些品牌的数字示波器带宽已经到达了10G以上,采样率超过50G,存储深度超过了1G,这些技术的发展为其他科技的进步起到了至关重要的推动作用。伴随着各方面性能的提高,现代的数字示波器的功能也越来越强大,不仅可以完成信号测量,数据存储,波形录制等功能,还增加了网络通信能力,增加了以太网接口和USB接口。对于其他测试设备,如数字信号分析仪、数字多用表、数字万用表、数字信号发生器、函数发生器、脉冲信号发生器等的功能和指标也都有了极大的提高,功能越来越强,指标越来越高。With the continuous development of digital technology, the functions and indicators of various digital test equipment are also increasing and improving. For example, the bandwidth of some brands of digital oscilloscopes has reached more than 10G, the sampling rate has exceeded 50G, and the storage depth has exceeded 1G. The development of these technologies has played a vital role in promoting the progress of other technologies. With the improvement of performance in all aspects, the functions of modern digital oscilloscopes are becoming more and more powerful. They can not only complete functions such as signal measurement, data storage, and waveform recording, but also increase network communication capabilities, and add Ethernet interfaces and USB interfaces. For other test equipment, such as digital signal analyzers, digital multimeters, digital multimeters, digital signal generators, function generators, pulse signal generators, etc., the functions and indicators have also been greatly improved, and the functions are getting stronger and stronger. , the index is getting higher and higher.
功能种类的增强和增多带来了仪器功能疲惫的问题。由于,仪器的操作面是有限的,面对繁多的功能选择,只能将某些相对重要的功能放置在较为方便使用的面板位置上,而对一些很常用却相对不重要的功能只能放在需要多级操作的菜单中,需要通过多级菜单的设置后,才能完成这些功能的设置。比如,要打开和关闭某个通道的数字滤波功能,就必须首先打开相应通道菜单,然后进入数字滤波子菜单,点击打开或者关闭按钮才能实现,而要打开和关闭通道“粘滞”功能,就需要四步以上的操作步骤。繁多的操作步骤对于仪器的使用者来讲,是极为不方便的,特别是在需要不断的切换设备的设置状态的场合下,更是如此。比如,需要频繁对比观察在不同的采样频率下,示波器的输出波形变化,或需要了解在信号发生器输出多种不同的信号时,被测设备的响应情况。The enhancement and increase of function types brings about the problem of instrument function fatigue. Because the operation surface of the instrument is limited, in the face of a variety of function options, some relatively important functions can only be placed on the panel positions that are more convenient to use, while some commonly used but relatively unimportant functions can only be placed on the panel. In the menu that requires multi-level operation, the setting of these functions can only be completed after setting through the multi-level menu. For example, to turn on and off the digital filter function of a certain channel, you must first open the corresponding channel menu, then enter the digital filter submenu, and click the on or off button to realize it. To turn on and off the "sticky" function of the channel, just More than four steps are required. The numerous operation steps are extremely inconvenient for the user of the instrument, especially in the occasion where it is necessary to constantly switch the setting state of the equipment. For example, it is necessary to frequently compare and observe the output waveform changes of the oscilloscope at different sampling frequencies, or to understand the response of the device under test when the signal generator outputs a variety of different signals.
为了满足用户需要不断转换测试设备的设置情况的需要,有些厂家为设备增加一些快捷按键,每个按键指向设备的一个常用设置状态或称为常用功能,在用户需要时,一按动该快捷按键,就可以改变设备的设置状况,比如,在示波器、多用表、信号分析仪上增加快速打印、快速存储、数据快速切换显示按钮,在示波器上增加快速测量,直接波形录制按钮,在信号发生器或还包括函 数发生器上增加一些基准信号的快速输出按钮等。由于快捷按键方式可以通过一次按键就可以实现相应的功能打开或关闭,方便了用户使用,但,由于这些快捷键的功能切换仅能指向一个特定的功能或称为仪器仪表设置状态,有限的面板空间,不能为用户提供很多的快捷键方式,而对不同用户、对不同的应用场合,用户的使用要求是完全不同的。对于一个具体的用户来说,往往某些快捷键可能是根本无用的,而真正需要的快捷键功能却又没有。因而,这种快捷键方式的应用场合是十分有限的。In order to meet the needs of users who need to constantly change the settings of the test equipment, some manufacturers add some shortcut buttons to the equipment. Each button points to a common setting state of the equipment or is called a common function. When the user needs it, press the shortcut button , you can change the setting status of the equipment, for example, add quick print, quick storage, data quick switching display buttons on the oscilloscope, multimeter, signal analyzer, add quick measurement and direct waveform recording buttons on the oscilloscope, and add buttons on the signal generator Or include a quick output button on the function generator to add some reference signals, etc. Because the shortcut key mode can realize the corresponding function to be turned on or off by pressing a key, it is convenient for users to use, but because the function switching of these shortcut keys can only point to a specific function or called the instrument setting state, the limited panel Space cannot provide users with many shortcut key methods, but for different users and different application occasions, the user's requirements are completely different. For a specific user, often some shortcut keys may be useless at all, but the shortcut key functions that are really needed are not available. Therefore, the application occasions of this shortcut key mode are very limited.
为了满足用户不断转换测试设备的设置情况的需要,许多厂家为自己的设备增加了一个设备设置状态保存和调出功能,以RIGOL公司的DS1OOOB系列示波器为例,就增加了一个记录设备的当前设置状态的功能,用户可以通过菜单的配置,记录示波器的全部设置状态,如示波器的数字滤波功能和参数等,在用户需要时,用户可以通过菜单选择存储或调用所存储的设置状态数据,并使示波器恢复设置到所需的设置状态。另外,许多函数发生器、信号发生器和数据采集系统、测试系统中也均提供了类似的状态记录和调用功能。In order to meet the needs of users to constantly change the settings of the test equipment, many manufacturers have added a function of saving and recalling the equipment setting state for their own equipment. Taking the DS100B series oscilloscope of RIGOL as an example, a function of recording the current setting of the equipment is added. The user can record all the setting states of the oscilloscope through the configuration of the menu, such as the digital filter function and parameters of the oscilloscope. When the user needs it, the user can choose to store or recall the stored setting state data through the menu, and use The oscilloscope resets to the desired setup state. In addition, many function generators, signal generators, data acquisition systems, and test systems also provide similar state recording and calling functions.
尽管现有技术中的设备已经具有了设备设置状态保存和调出功能,但是,由于使用该功能时,仍需要在多极菜单选项指引下,经过多个步骤才能完成,操作起来仍然十分麻烦。Although the equipment in the prior art has the function of saving and recalling the equipment setting state, when using this function, it still needs to be completed through multiple steps under the guidance of multi-level menu options, and the operation is still very troublesome.
本发明的目的在于:提供一种不同于现有技术的,具有设置状态转换功能的测试设备。The purpose of the present invention is to provide a testing device with a setting state conversion function different from the prior art.
本发明的另一个目的在于:为本发明的一种具有设置状态转换功能的测试设备提供一种控制方法。Another object of the present invention is to provide a control method for a test device with a setting state transition function of the present invention.
发明内容Contents of the invention
本发明的一种具有设置状态转换功能的测试设备具有一个工作部件、一个与所述的工作部件相连接的控制部件、一个与所述的控制部件相连接的键盘单元,一个与所述的控制部件相连接的状态存储器,键盘单元中具有一个与所述的控制部件相连接的状态转换按键,所述的状态转换按键可以产生状态存储指令或状态调用指令,所述的控制部件对所述的状态存储指令敏感、在状态存储器中保存当前测试设备的设置状态;所述的控制部件对所述的状态调用指令敏感、依照所述的状态存储器中保存的内容,对所述的测试设备的执行状态设置。A test device with setting state conversion function of the present invention has a working part, a control part connected with the working part, a keyboard unit connected with the control part, and a keyboard unit connected with the control part. The state memory connected to the parts, the keyboard unit has a state transition button connected to the control part, the state transition key can generate a state storage instruction or a state call instruction, and the control part has a The state storage instruction is sensitive, and the setting state of the current test equipment is saved in the state memory; the control unit is sensitive to the state call instruction, and the execution of the test equipment is executed according to the content stored in the state memory. Status settings.
本发明所述的测试设备可以是信号采集装置,如数字示波器、荧光示波器、 数字多用表、数字繁用表、信号分析仪和信号采集设备。本发明所述的测试设备也可以是信号发生装置,如精密数字电源、基准信号源、数字信号发生器、函数发生器、各种波形发生器(如正弦信号发生器)、脉冲信号发生器等,本发明所述的测试设备也可以是综合测试设备,如具有波形显示功能的信号发生器、由示波器和信号发生器电源系统等共同组成的测试系统,本发明所述的测试设备也可以是那些由计算机控制的测试设备,如虚拟示波器(由测量电路和计算机系统组成,在计算机的控制下完成数据采集和测量,通过计算机的屏幕显示测试结果,或还包括波形和波形数据等)等。本发明所述的测试设备也可以是那些插卡式仪器构成的测试设备或测试系统,如利用VXI、PCI总线结构构成的测试设备。Test equipment of the present invention can be signal acquisition device, as digital oscilloscope, fluorescent oscilloscope, digital multimeter, digital multimeter, signal analyzer and signal acquisition equipment. The test equipment of the present invention can also be a signal generating device, such as a precision digital power supply, a reference signal source, a digital signal generator, a function generator, various waveform generators (such as a sinusoidal signal generator), a pulse signal generator, etc. , the test equipment of the present invention can also be a comprehensive test equipment, such as a signal generator with a waveform display function, a test system composed of an oscilloscope and a signal generator power supply system, etc., and the test equipment of the present invention can also be Those test equipment controlled by computer, such as virtual oscilloscope (composed of measurement circuit and computer system, complete data acquisition and measurement under the control of computer, display test results through computer screen, or also include waveform and waveform data, etc.). The test equipment described in the present invention can also be the test equipment or test system formed by those plug-in instruments, such as the test equipment formed by VXI and PCI bus structures.
本发明所述的控制部件可以是单片微处理器或FPGA门阵电路构成,也可以是由个人台式计算机、移动式计算机、单板机或插卡式计算机构成。The control unit of the present invention can be composed of a single-chip microprocessor or FPGA gate array circuit, and can also be composed of a personal desktop computer, a mobile computer, a single-board computer or a plug-in computer.
在本发明的一种具有设置状态转换功能的测试设备中,所述的状态转换按键既可以产生状态存储指令,也可以产生状态调用指令,即,用一个按键提供两个中断指令,以方便用户的使用。In a kind of test equipment with setting state transition function of the present invention, the state transition button can generate state storage instruction, and can also generate state call instruction, that is, two interrupt instructions are provided with one button, so as to facilitate the user usage of.
在本发明所述的一种具有设置状态转换功能的测试设备中,所述的控制部件可以依照所述的状态转换按键输出信号的时间长短区分该信号是状态存储指令还是状态调用指令。所述的测试设备可以具有一个时间阈值,所述的控制部件可以对于状态转换按键输出的超过时间阈值的中断指令,执行状态存储步骤;所述的控制部件可以对于状态转换按键输出的短于时间阈值的中断指令,执行状态调用步骤。In the test device with the function of setting state transition according to the present invention, the control unit can distinguish whether the signal is a state storage instruction or a state call instruction according to the time length of the state transition button outputting the signal. The test equipment may have a time threshold, and the control unit may perform a state storage step for an interrupt command output by the state transition key that exceeds the time threshold; the control unit may output a state transition key that is shorter than the time The interrupt instruction of the threshold value executes the state call step.
为了实现上述的功能,在接收到由所述的键盘单元发出的中断指令后,所述的控制部件可以执行如下的控制步骤:In order to realize the above functions, after receiving the interrupt command sent by the keyboard unit, the control unit can perform the following control steps:
首先,执行按键种类判断步骤;First, execute the step of judging the type of button;
然后,当按键种类为所述的状态转换按键时,判断按键发出的中断指令是状态存储指令还是状态调用指令;Then, when the button type is the described state transition button, it is judged whether the interrupt instruction sent by the button is a state storage instruction or a state call instruction;
最后,当按键发出的中断指令是状态存储指令,执行相应的状态存储步骤,当按键发出的中断指令是状态调用指令,执行相应的状态调用步骤。Finally, when the interrupt command sent by the key is a state storage command, the corresponding state storage step is executed; when the interrupt command sent by the button is a state call command, the corresponding state call step is executed.
对于上述的控制步骤,还可以在执行按键种类判断步骤之前,增加一个中断计时步骤,统计按键中断指令的时间长度;For the above-mentioned control steps, it is also possible to add an interrupt timing step to count the time length of the button interrupt command before performing the button type judgment step;
在执行按键种类判断步骤之后,当按键种类为所述的状态转换按键时,判 断按键中断指令的时间长度是否超出时间阈值,并依照按键中断指令的时间长度是否超出时间阈值,判断状态转换按键发出的中断指令是状态存储指令还是状态调用指令;After executing the key type judgment step, when the key type is the state transition key, judge whether the time length of the key interruption command exceeds the time threshold, and judge the state transition key according to whether the time length of the key interruption command exceeds the time threshold Whether the interrupt instruction issued is a state storage instruction or a state call instruction;
对于上述的控制步骤,可以将超过时间阈值的中断指令,判断为状态存储指令,执行状态存储步骤;将短于时间阈值的中断指令判断为状态调用指令,执行状态调用步骤。For the above control steps, an interrupt command exceeding the time threshold may be judged as a state storage command, and the state storage step may be executed; an interrupt command shorter than the time threshold may be judged as a state call command, and the state call step may be executed.
本发明所述的状态转换按键可以是安装在面板上的物理按键,也可以是显示在测试设备的显示屏幕上的虚拟按键。The state transition button in the present invention can be a physical button installed on the panel, or a virtual button displayed on the display screen of the testing device.
本发明所述的一种具有设置状态转换功能的测试设备具有状态转换快捷和使用方便的特点、用户既可以用一键保存的方式将当前测试设备的设置状态保存起来,还可以用一键恢复的方式将已经保存起来的、用户自己设置的设置状态调取出来。The test equipment with the setting state conversion function of the present invention has the characteristics of quick state conversion and convenient use, and the user can save the current setting state of the test equipment by one-key saving, and can also restore it by one-key In this way, the saved and user-configured setting state is retrieved.
附图说明:Description of drawings:
附图1所示为本发明最佳实施例所例举的示波器1的结构示意图。Accompanying drawing 1 shows the structure diagram of the oscilloscope 1 exemplified by the preferred embodiment of the present invention.
附图2所示为本发明最佳实施例所例举的示波器1的键盘中断信息处理程序100的示意图。Figure 2 is a schematic diagram of the keyboard interrupt
附图3所示为本发明最佳实施例所选用的示波器1的状态存储程序105的示意图。Figure 3 is a schematic diagram of the
附图4所示为本发明最佳实施例所选用的示波器1执行状态调用程序106的示意图。FIG. 4 is a schematic diagram of the
具体实施方式:Detailed ways:
为了进一步说明本发明的一种具有设置状态转换功能的测试设备,下面列举本发明所选用的最佳实施例。In order to further illustrate a test device with a setting state conversion function of the present invention, the best embodiments selected by the present invention are listed below.
在本发明所选用的最佳实施例中,本发明所述的一种具有设置状态转换功能的测试设备是由数字示波器1构成,参照附图1。In the preferred embodiment selected by the present invention, a test device with setting state transition function described in the present invention is composed of a digital oscilloscope 1, referring to accompanying drawing 1 .
在本发明所选用的最佳实施例中,本发明所述的控制部件是控制单元2,控制单元2由一个CPU构成、本发明所述的工作部件是由与控制单元2相连接的数据采集单元3、键盘单元4、显示单元5、通信单元6、通用信息存储单元8 和状态信息存储单元7组成。In the selected preferred embodiment of the present invention, control part of the present invention is control unit 2, and control unit 2 is made of a CPU, working part of the present invention is to be connected with control unit 2 Unit 3, keyboard unit 4, display unit 5, communication unit 6, general information storage unit 8 and state information storage unit 7.
作为一个举例,所述的控制单元2,也可以是由单片微处理器构成、也可以是由数字信号处理单元(DSP)构成,也可以是由FPGA门阵电路构成,也可以是由个人台式计算机、移动式计算机、单板机或插卡式计算机构成,在某些时候,也可以是由处理器,如DSP和FPGA混合组成的中央处理单元。As an example, the control unit 2 can also be made of a single-chip microprocessor, or can be made of a digital signal processing unit (DSP), or can be made of an FPGA gate array circuit, or can be made of a personal computer. It is composed of desktop computer, mobile computer, single-board computer or plug-in computer, and in some cases, it can also be a central processing unit composed of processors, such as DSP and FPGA.
作为又一个举例,为了提升示波器1的波形显示、数据采集、数据统计分析、数据存储或还包括数据通信的速度,控制单元2也可以是由多个控制器组成,比如,由多个单片微处理器或由门阵列FPGA器件构成的控制部件来组成,以便并行处理上述的全部操作或部分操作,从而提升示波器1的信息处理速度。As yet another example, in order to improve the waveform display, data acquisition, data statistical analysis, data storage or data communication speed of the oscilloscope 1, the control unit 2 can also be composed of multiple controllers, such as multiple single-chip A microprocessor or a control unit composed of a gate array FPGA device is used to process all or part of the above-mentioned operations in parallel, thereby increasing the information processing speed of the oscilloscope 1 .
在本发明所述的最佳实施例中,键盘单元4是一个物理键盘,即实物键盘,它与控制单元2相连接,使用者通过设置在示波器1的面板上的键盘单元4可以对数字示波器1进行设置,比如完成示波器的工作状态的设置,通道数、采样速率、触发电平、显示内容、显示方式、通信方式设置等。In the preferred embodiment described in the present invention, keyboard unit 4 is a physical keyboard, i.e. physical keyboard, and it is connected with control unit 2, and the user can be arranged on the digital oscilloscope by keyboard unit 4 on the panel of oscilloscope 1 1 Make settings, such as completing the setting of the working state of the oscilloscope, the number of channels, sampling rate, trigger level, display content, display mode, communication mode settings, etc.
作为又一个举例,示波器1的键盘也是采用虚拟键盘,即通过计算机屏幕或示波器屏幕呈现给用户的键盘界面,用户通过鼠标,计算机键盘、或触摸屏幕、甚至其他遥控设备来控制、按动或触发这些虚拟键盘上的虚拟按键。As yet another example, the keyboard of the oscilloscope 1 also uses a virtual keyboard, that is, a keyboard interface presented to the user through a computer screen or an oscilloscope screen. virtual keys on these virtual keyboards.
在本发明所选用的最佳实施例中,通用信息存储单元8可以用来存储来自数据采集单元3的波形数据、来自控制单元2的分析数据、控制单元2的控制程序和各个部件和功能的状态信息等。In the preferred embodiment selected by the present invention, the general information storage unit 8 can be used to store the waveform data from the data acquisition unit 3, the analysis data from the control unit 2, the control program of the control unit 2 and the description of each component and function. status information, etc.
在本最佳实施例中,存储单元8控制单元2相连接,可以是全部或部分的由铁电存储器构成,铁电存储(NvRam)方式可以保证在断电状态下,设置状态信息不丢失。In this preferred embodiment, the storage unit 8 is connected to the control unit 2, and may be wholly or partly composed of ferroelectric memory, and the ferroelectric storage (NvRam) mode can ensure that the setting state information is not lost in the power-off state.
在本最佳实施例中,本发明所述的状态存储器是由存储单元7构成,存储单元7与控制单元2相连接,也是由铁电存储器构成,以保证在断电状态下,设置状态信息不丢失。In this preferred embodiment, the state memory of the present invention is made up of storage unit 7, and storage unit 7 is connected with control unit 2, is also made of ferroelectric memory, to ensure that under power-off state, setting state information not lost.
随着技术的不断进步与发展,也可以采用包含所述功能的其它类型的存储器来构成存储单元7或8。With continuous progress and development of technology, other types of memory including the above functions can also be used to form the storage unit 7 or 8 .
在本最佳实施例中,所述的显示单元5与控制单元2相连接,可以用于显示数据采集单元3测量到的波形,控制单元2输出的分析数据、示波器1的设置状态等内容。In this preferred embodiment, the display unit 5 is connected with the control unit 2, and can be used to display the waveform measured by the data acquisition unit 3, the analysis data output by the control unit 2, the setting status of the oscilloscope 1, and the like.
在本最佳实施例中,通信单元6可以用于建立示波器1与外部设备的通信,通信单元6可以包括有网口,通过该网口,示波器1可以直接连接局域网或广域网,以便外部设备对示波器1进行远程控制或实现相互之间的数据传输,通信单元6还可以具有USB口、232串口和GPIB仪器专用接口等,通过这些接口,示波器1可以与其他设备实现互联或通信,比如实现两台测试设备间的通信、数据共享,又比如借助这些接口,计算机可以方便的将多台测试设备组合在一起形成一个大型的测试系统,比如将信号源、电压源、多用表、示波器组合在一起,形成一个综合测试系统。In this preferred embodiment, the communication unit 6 can be used to establish communication between the oscilloscope 1 and external devices, and the communication unit 6 can include a network port, through which the oscilloscope 1 can be directly connected to a local area network or a wide area network, so that external devices can communicate with each other. The oscilloscope 1 performs remote control or realizes mutual data transmission. The communication unit 6 can also have a USB port, a 232 serial port, and a GPIB instrument-specific interface. Through these interfaces, the oscilloscope 1 can be interconnected or communicated with other devices, such as realizing two Communication and data sharing between test equipment, and for example, with the help of these interfaces, the computer can easily combine multiple test equipment together to form a large-scale test system, such as combining signal sources, voltage sources, multimeters, and oscilloscopes. , forming a comprehensive test system.
在本最佳实施例中,示波器1的数据采集单元3的主要的功能是采集被测设备或部件的波形信号,其结构会因示波器的功能和性能的不同而有所不同,比如数据采集单元3会因为示波器的通道数量、频率范围、测试精度、采样速率等不同,而具有不同的结构。又比如,当示波器1为荧光示波器、便携式示波器时,结构也会有所不同,在比如,当在示波器上增加较多地分析功能、其他参数的测试功能,如直流测量能力和信号输出能力时,如增加了函数发生器时,其结构更会有所不同,因这些都是本领域的技术人员熟知的技术内容,所以,不再对其细节进行赘述。In this preferred embodiment, the main function of the data acquisition unit 3 of the oscilloscope 1 is to collect the waveform signal of the device under test or components, and its structure will be different due to the different functions and performances of the oscilloscope, such as the data acquisition unit 3 will have different structures due to the number of channels, frequency range, test accuracy, sampling rate, etc. of the oscilloscope. For another example, when the oscilloscope 1 is a fluorescent oscilloscope or a portable oscilloscope, the structure will also be different. For example, when more analysis functions and other parameter test functions are added to the oscilloscope, such as DC measurement capability and signal output capability , if a function generator is added, its structure will be different, because these are all technical contents well known to those skilled in the art, so the details will not be repeated here.
在本发明所述的最佳实施例中,具有一个状态转换按键,该状态转换按键与示波器1上的其他按键和旋钮一样,是位于示波器1的操作面板上的一个普通按键,与其他按键一起构成了键盘单元4,该状态转换按键的操作方式也可以选用与别的功能按钮、旋钮、按键相同的方式。在物理结构上,该状态转换按键是位于操作面板上的键盘阵列中。因,键盘单元4与控制单元2相互连接,当按动键盘单元4中的一个按键时,键盘单元4会产生一个键盘中断信息或称为键盘指令信息输入到控制单元2。In the preferred embodiment of the present invention, there is a state transition key, which is the same as other keys and knobs on the oscilloscope 1, and is an ordinary key located on the operation panel of the oscilloscope 1, together with other keys The keyboard unit 4 is formed, and the operation mode of the state conversion key can also be selected in the same manner as other function buttons, knobs and keys. In terms of physical structure, the state transition key is located in the keyboard array on the operation panel. Therefore, the keyboard unit 4 and the control unit 2 are connected to each other. When a key in the keyboard unit 4 is pressed, the keyboard unit 4 will generate a keyboard interrupt message or a keyboard instruction message and input it to the control unit 2 .
在示波器1工作时,控制单元2对键盘单元4输出的键盘中断信息敏感,执行键盘中断信息处理程序100,参见附图2。When the oscilloscope 1 is working, the control unit 2 is sensitive to the keyboard interruption information output by the keyboard unit 4, and executes the keyboard interruption
在本发明选用的最佳实施例中,控制单元2在接收到来自键盘单元4的键盘中断信息后,执行键盘中断信息处理程序100,首先执行中断计时步骤101,统计键盘中断信息的持续时间,然后,进入按键种类判断步骤102,根据键值判断键盘中断信号是产生于普通按键还是所述的状态转换按键,当该键盘中断信号产生于普通按键时,控制单元2执行普通键值处理步骤103,当该中断信号产生于状态转换按键时,控制单元2进入计时查询步骤104,以判断来自所述的状 态转换按键的中断信号的时间长短,当该中断信号的持续时间大于一个特定的门槛时间值时,控制单元2进入状态存储程序105,在存储单元7中保存示波器1的设置状态,当该中断信号的持续时间短于所述的特定的门槛时间值时,控制单元2执行状态调用程序106,参照存储单元7中保存的设置状态,对示波器1进行设置处理。In the preferred embodiment of the present invention, control unit 2 executes keyboard interruption
在本发明选用的最佳实施例中,所述的门槛时间值选为3秒,即,当来自所述的状态转换按键的键盘中断信号的时间长度长于3秒钟时,控制单元2判断该信号为状态存储指令,执行状态存储程序105,当来自状态转换按键的键盘中断信号的时间长度短于3秒钟时,控制单元2判断该信号为状态调用指令,执行状态调用程序106。In the preferred embodiment selected by the present invention, the threshold time value is selected as 3 seconds, that is, when the time length of the keyboard interrupt signal from the state transition button is longer than 3 seconds, the control unit 2 judges that the The signal is a state storage instruction, and the
在本发明的最佳实施例中,当连续多次长时间按下所述的状态转换按键,且每次按键时间超过3秒钟时,控制单元2将多次执行状态存储程序105。当连续多次短时间按下所述的状态转换按键时,控制单元2将多次执行状态调用程序106。In the preferred embodiment of the present invention, when the state transition button is pressed for a long time continuously, and each time the button is pressed for more than 3 seconds, the control unit 2 will execute the
本实施例所选用的门槛时间值是可以根据需要加以调整的,比如调整为2秒或4秒。The threshold time value selected in this embodiment can be adjusted as required, for example, adjusted to 2 seconds or 4 seconds.
作为又一个实施例,根据需要,在对来自所述的状态转换按键的键盘中断信号的时间长度进行判断时,也可以将短于门槛时间值的键盘中断信号判断为状态存储指令,而将长于门槛时间值的键盘中断信号判断为状态调用指令。As yet another embodiment, as needed, when judging the time length of the keyboard interrupt signal from the state transition button, the keyboard interrupt signal shorter than the threshold time value can also be judged as a state storage instruction, and will be longer than The keyboard interrupt signal with the threshold time value is judged as a state calling instruction.
作为又一个举例说明,在一些应用场合,本实施例中所述的中断计时步骤101,也可以改为设置在计时查询步骤104之前,仅针对来自状态转换按键的键盘中断信号进行时间统计。As yet another example, in some application occasions, the interrupt
作为举例说明,利用一个状态转换按键发出两个不同中断指令、即状态存储指令和状态调用指令的方法有多种:As an example, there are many ways to use one state transition button to issue two different interrupt instructions, namely state storage instruction and state call instruction:
比如,通过按键的按动次数的不同,来区分状态存储指令和状态调用指令,连续按动按键两次,对应于发出状态存储指令,仅按动一次,对应于状态调用指令。For example, the state storage instruction and the state call instruction are distinguished by the number of times the button is pressed. Pressing the button twice in a row corresponds to sending the state storage instruction, and pressing the button only once corresponds to the state call instruction.
又比如,利用交替方法来分辨是状态存储指令还是状态调用指令,比如一次是状态存储指令,下一次是状态调用指令,不断地循环。使用这种交替方式时,可以在按键上辅助使用灯光,比如灯光亮时,表示用户再次按动按键,发出的信号是状态调用指令。对于虚拟键盘,也可以用按键的颜色或按键上的文 字来表示当前按键发出指令会是状态存储指令还是状态调用指令。Another example is to use an alternate method to distinguish whether it is a state storage instruction or a state call instruction, such as a state storage instruction once, and a state call instruction next time, and the cycle continues. When using this alternate method, you can use lights on the buttons to assist. For example, when the lights are on, it means that the user presses the button again, and the signal sent is a state call command. For the virtual keyboard, the color of the button or the text on the button can also be used to indicate whether the instruction sent by the current button will be a state storage instruction or a state call instruction.
在本发明选用的最佳实施例中,在控制单元2进入状态存储程序105后,依次执行如下三个步骤、第一个步骤是清除步骤200,参见图3,在此步骤中,在控制单元2的控制下,对存储单元7中保存的状态信息进行清除,然后,执行设置状态信息读取步骤201,在此步骤中,控制单元2从示波器1的存储单元8中将关于示波器1状态信息调出,然后执行状态信息存储步骤202,将从存储单元8中获取的关于示波器1状态保存在存储单元7中。In the preferred embodiment selected by the present invention, after the control unit 2 enters the
在本发明选用的最佳实施例中,所述的示波器1的状态设置信息包括如下的三个方面的信息:In the preferred embodiment selected by the present invention, the state setting information of the oscilloscope 1 includes the following three aspects of information:
1.普通功能的状态信息:如打开声音,打开通道数字滤波,顺序改变当前仪器使用语言,仪器界面设置等。这类功能信息通常是用函数形式来保存的。执行设置状态信息读取步骤201时,控制单元2是将存储单元8中保存的对应的函数调用状态取出来,然后,在状态信息存储步骤202中,再将这些函数的调用状态信息保存在存储单元7中。1. Status information of common functions: such as turning on the sound, turning on the digital filter of the channel, changing the language of the current instrument in sequence, setting the interface of the instrument, etc. This type of functional information is usually stored in the form of a function. When executing the setting state information reading step 201, the control unit 2 is to take out the corresponding function calling state preserved in the storage unit 8, and then, in the state information storing step 202, save the calling state information of these functions in the storage Unit 7.
2.功能调整信息:比如波形亮度调整信息,网格亮度信息,触发灵敏度信息、通道偏移量,系统时基信息等。这类状态信息往往是一个数值,执行设置状态信息读取步骤201时,控制单元2是将存储单元8中保存的对应数值取出来,然后,在状态信息存储步骤202中,再将这些数值保存在存储单元7中的对应的存储单元中。2. Function adjustment information: such as waveform brightness adjustment information, grid brightness information, trigger sensitivity information, channel offset, system time base information, etc. This type of state information is often a numerical value. When executing the setting state information reading step 201, the control unit 2 takes out the corresponding numerical values stored in the storage unit 8, and then stores these numerical values in the state information storage step 202. in the corresponding storage unit in storage unit 7 .
3.外设功能状态信息:这类功能信息是对外部某一硬件进行读写操作,比如对外部U盘存储文件,操作打印机打印等。这类功能信息通常也是用函数形式来保存的。但在调用这类函数时,被调出的函数会自行判断当前硬件设备是否支持,然后再进行操作。同样,执行设置状态信息读取步骤201时,控制单元2是将存储单元8中保存的对应函数的调用状态取出来,然后,在状态信息存储步骤202中,再将这些函数的调用状态信息保存在存储单元7中。3. Peripheral function status information: This type of function information is to read and write an external hardware, such as storing files on an external U disk, operating a printer to print, etc. This type of functional information is usually also stored in the form of a function. But when this type of function is called, the called out function will judge whether the current hardware device supports it, and then perform the operation. Similarly, when executing the setting state information reading step 201, the control unit 2 is to take out the calling state of the corresponding function preserved in the storage unit 8, and then, in the state information storing step 202, save the calling state information of these functions In storage unit 7.
在本发明选用的最佳实施例中,在控制单元2进入状态调用程序106后,执行状态信息类型判断步骤301,参见图4,首先控制单元2访问存储单元7,对其信息进行类型判断,对属于普通功能的状态信息,控制单元2执行函数调用步骤302,从存储单元7中调用对应的函数,以便设置示波器1的普通功能状态。对于功能调整状态信息,控制单元2执行数值调用步骤303,从存储单元7中取出数值信息,以便对示波器1中需要调整的部件进行设置。对于外设功能 状态信息,控制单元2执行函数调用步骤304,以便对外设功能状态进行设置。In the preferred embodiment that the present invention selects, after control unit 2 enters
状态调用程序106在执行设备的状态设置之前,还执行一个出错判断步骤305,用以判断对示波器1执行状态转换是否可行,在没有发现错误时,执行状态设置步骤306,直接对示波器1的状态进行重新设置。在执行错误判断步骤发现错误时,比如对于普通功能的状态信息,当示波器1处在交替触发模式下,新的状态设置要调出延迟扫描,出错判断步骤305就会判断出错,然后,执行错误处理步骤307,对于不同的错误可以有不同的处理方式,比如对于上述的错误,错误处理步骤307首先在屏幕上提示用户当前操作不可用,然后,将所有已经转换的状态恢复到调用之前的状态。又比如对于功能调整信息,当调整参数值超出当前示功能所具有的极限值时,错误处理步骤307会首先在屏幕上提示用户调整已到极限,然后以当前的极限值进行参数调整。又比如Roll模式下试图调整触发电平,很明显这个调整值是不可用的,此时错误处理步骤307会在屏幕上提示用户当前操作不可用,而不进行任何操作。又比如对于外设功能状态信息,在外设断开或者与外设通讯出现问题的情况下,执行调用打印机的状态设置就会使出错判断步骤305报错,并执行错误处理程序307,错误处理程序307会在屏幕上提示用户查找外设连接出现问题,并将系统状态恢复到函数调用前的状态。
在本最佳实施例中,在不出错的情况下,执行状态调用键值处理步骤106与调用一个函数一样方便,举例来说,用户可以利用状态转换按键,一键将数字滤波功能保存起来,然后输入各种信号之后,再利用状态转换按键一键将该数字滤波功能调出,这样用户就可以从屏幕上迅速、直观的观察到通道数字滤波功能打开前后,输入信号的变化;比如,用户将通道“粘滞”功能存入状态转换按键,就可以通过短按一次该键,直接观察到在调整通道偏移量时粘滞功能的打开与关闭对其的影响。In this preferred embodiment, under the condition of not making mistakes, it is as convenient to execute the state calling key
本实施例所述的一种示波器1具有状态转换快捷和使用方便的特点、用户既可以用“一键保存”的方式将当前测试设备的设置状态保存起来,还可以用“一键恢复”的方式将已经保存起来的、用户自己设置的设置状态调取出来。在应用于不同的应用环境时,本实施例所述的示波器1也可以设计成仅具有“一键保存”或“一键恢复”功能。如仅具有“一键恢复”功能,而采用与现有技术相同的方法来实现示波器1的设置状态保存功能,比如利用下拉菜单方式,一步一步的进入设备的设置状态保存菜单,或一步一步地对设备的状态进行选择和保存。The oscilloscope 1 described in this embodiment has the characteristics of fast state transition and convenient use. The user can save the current setting state of the test equipment in the "one-key save" mode, and can also use the "one-key restore" mode. The method is used to recall the saved setting state set by the user. When applied to different application environments, the oscilloscope 1 described in this embodiment can also be designed to only have a "one-key save" or "one-key restore" function. If it only has the "one-key recovery" function, the same method as the prior art is used to realize the setting state saving function of the oscilloscope 1, such as using the pull-down menu mode to enter the setting state saving menu of the device step by step, or step by step Select and save the state of the device.
在本实施例中,示波器1仅仅采用了一个状态转换按键,在实际应用中,也可以为示波器1设计多个所述的控制按键,以便保存多个设置状态,使用户在调用设置状态时,有更多地选择。如:可以在显示器屏幕上设计多个虚拟的状态转换按键,用于保存和调用不同的设置状态,在保存和调出设置状态时,可以通过选择的不同的虚拟状态转换按键保存和调出不同的设置状态。In this embodiment, the oscilloscope 1 only uses one state transition button. In practical applications, multiple control buttons can also be designed for the oscilloscope 1, so as to save multiple setting states, so that when the user invokes the setting state, There are more options. For example: multiple virtual state transition keys can be designed on the display screen to save and recall different setting states. When saving and recalling the setting states, different virtual state transition keys can be selected to save and recall different setting status.
作为本发明的又一个实施例,所述的测试设备可以是荧光示波器、存储示波器、数字多用表、数字万用表、信号分析仪等类型的信号采集设备;本发明所述的测试设备也可以是精密数字电源、基准信号源、数字信号发生器、函数发生器、各种波形发生器(如正弦信号发生器)、脉冲信号发生器等类的信号发生装置;本发明所述的测试设备也可以是综合测试设备,如具有波形显示功能的信号发生器、由示波器和信号发生器电源系统等共同组成的测试系统,本发明所述的测试设备也可以是那些由计算机控制的测试设备,如虚拟示波器(有测试硬件和计算机系统组成,在计算机的控制下完成数据采集和测量,通过计算机的屏幕显示测量结果,或还包括波形和波形数据等)等。本发明所述的测试设备也可以是那些插卡式仪器构成的测试设备或测试系统,如利用VXI、PCI总线结构构成的测试设备。As yet another embodiment of the present invention, the test equipment can be fluorescent oscilloscopes, storage oscilloscopes, digital multimeters, digital multimeters, signal analyzers and other types of signal acquisition equipment; the test equipment described in the present invention can also be precision Signal generating devices such as digital power supply, reference signal source, digital signal generator, function generator, various waveform generators (such as sinusoidal signal generators), pulse signal generators; test equipment described in the present invention can also be Comprehensive test equipment, such as a signal generator with a waveform display function, a test system composed of an oscilloscope and a signal generator power supply system, etc., the test equipment of the present invention can also be those controlled by a computer, such as a virtual oscilloscope (Consists of test hardware and computer system, completes data acquisition and measurement under the control of the computer, displays the measurement results through the computer screen, or also includes waveforms and waveform data, etc.) etc. The test equipment described in the present invention can also be the test equipment or test system formed by those plug-in instruments, such as the test equipment formed by VXI and PCI bus structures.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2008102117118A CN101685107B (en) | 2008-09-23 | 2008-09-23 | Testing device with setting state converting function and control method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2008102117118A CN101685107B (en) | 2008-09-23 | 2008-09-23 | Testing device with setting state converting function and control method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101685107A CN101685107A (en) | 2010-03-31 |
| CN101685107B true CN101685107B (en) | 2011-08-10 |
Family
ID=42048368
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2008102117118A Active CN101685107B (en) | 2008-09-23 | 2008-09-23 | Testing device with setting state converting function and control method thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101685107B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102841685A (en) * | 2011-06-24 | 2012-12-26 | 北京普源精电科技有限公司 | Measurement device with keyboard |
| CN103176065B (en) * | 2011-12-21 | 2016-08-10 | 北京普源精电科技有限公司 | There is the data acquisition unit of multiple function setting button |
| CN103176008B (en) * | 2011-12-22 | 2017-08-25 | 北京普源精电科技有限公司 | A kind of oscillograph and its implementation with controllable measurement function |
| CN102798745A (en) * | 2012-06-13 | 2012-11-28 | 郑州麦科信电子技术有限公司 | Design method of menu control system of digital oscilloscope |
| CN104374969A (en) * | 2013-08-17 | 2015-02-25 | 苏州普源精电科技有限公司 | Digital oscilloscope allowing numeric parameter input |
| CN103475401B (en) * | 2013-09-18 | 2017-02-01 | 北京北方烽火科技有限公司 | Down-going wave beam forming method and device |
| CN115856384B (en) * | 2022-12-28 | 2026-03-24 | 深圳市梦源格物科技有限公司 | An oscilloscope and its control method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1452875A1 (en) * | 2003-02-25 | 2004-09-01 | Tektronix Inc. | Oscilloscope that has constraint control for timebase and display parameters |
| GB2424078A (en) * | 2005-03-07 | 2006-09-13 | Acbel Polytech Inc | Power supply performance display |
| CN200956040Y (en) * | 2006-08-22 | 2007-10-03 | 王悦 | a digital oscilloscope |
| CN101131419A (en) * | 2007-09-29 | 2008-02-27 | 上海市计量测试技术研究院 | Calibration and Verification Method of Frequency Bandwidth of Digital Oscilloscope |
-
2008
- 2008-09-23 CN CN2008102117118A patent/CN101685107B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1452875A1 (en) * | 2003-02-25 | 2004-09-01 | Tektronix Inc. | Oscilloscope that has constraint control for timebase and display parameters |
| GB2424078A (en) * | 2005-03-07 | 2006-09-13 | Acbel Polytech Inc | Power supply performance display |
| CN200956040Y (en) * | 2006-08-22 | 2007-10-03 | 王悦 | a digital oscilloscope |
| CN101131419A (en) * | 2007-09-29 | 2008-02-27 | 上海市计量测试技术研究院 | Calibration and Verification Method of Frequency Bandwidth of Digital Oscilloscope |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101685107A (en) | 2010-03-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101685107B (en) | Testing device with setting state converting function and control method thereof | |
| CN101435842A (en) | Multifunctional comprehensive test system | |
| CN114167132B (en) | Power consumption detection method and device of wireless terminal, electronic equipment and storage medium | |
| CN101839930B (en) | A kind of have the measurement apparatus of configuration file management function, system and configuration file copying method | |
| CN112834864A (en) | Waveform acquisition method, device, waveform acquisition device and storage medium | |
| CN102393301B (en) | Flexibility testing system of engine | |
| WO2025044383A1 (en) | Signal analysis interaction method, apparatus, electronic device and storage medium | |
| CN113849089A (en) | User interface control apparatus and method for controlling user interface | |
| CN207198217U (en) | A kind of multifunctional virtual oscillograph based on expansible platform | |
| CN104374968B (en) | A kind of mixing oscillograph with Multifunctional knob | |
| CN110501546A (en) | A kind of oscillograph | |
| CN102053188B (en) | Digital oscilloscope with label display function and control method thereof | |
| CN106646212A (en) | Multi-button detection device and detection method | |
| CN107562590A (en) | Safe display unit Response Time Test System and method | |
| CN207036154U (en) | A kind of sensor performance detection means based on FPGA | |
| CN106771563B (en) | Board card power testing method, device and system | |
| CN116559624A (en) | A chip testing method, system, device and storage medium | |
| CN113777376B (en) | Triggering system and triggering method of oscilloscope | |
| CN117074749A (en) | An oscilloscope signal waveform display processing method, device and oscilloscope | |
| CN104374969A (en) | Digital oscilloscope allowing numeric parameter input | |
| CN102116800A (en) | A multi-resistance measuring method and measuring device satisfying wireless signal output | |
| CN206292323U (en) | Many key detection devices | |
| CN106970756B (en) | Application tool control method and mobile terminal | |
| CN206226462U (en) | A kind of data communication tester | |
| CN108073832B (en) | A data security protection method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| ASS | Succession or assignment of patent right |
Free format text: FORMER OWNER: WANG TIEJUN LI WEISEN Owner name: BEIJING RIGOL TECHNOLOGIES, INC. Free format text: FORMER OWNER: WANG YUE Effective date: 20110915 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20110915 Address after: 102206 Beijing City, Shahe Town, step on the river village, No. 156 Patentee after: Beijing Rigol Technologies, Inc. Address before: 102206 Beijing City, Shahe Town, step on the river village, No. 156 Co-patentee before: Wang Tiejun Patentee before: Wang Yue Co-patentee before: Li Weisen |
