CN110865221B - Measurement channel selection method and device - Google Patents

Measurement channel selection method and device Download PDF

Info

Publication number
CN110865221B
CN110865221B CN201911174097.7A CN201911174097A CN110865221B CN 110865221 B CN110865221 B CN 110865221B CN 201911174097 A CN201911174097 A CN 201911174097A CN 110865221 B CN110865221 B CN 110865221B
Authority
CN
China
Prior art keywords
trigger signal
test
target
trigger
determining
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
Application number
CN201911174097.7A
Other languages
Chinese (zh)
Other versions
CN110865221A (en
Inventor
方凌兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Anchenxin Information Technology Co ltd
Original Assignee
Vtron Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vtron Group Co Ltd filed Critical Vtron Group Co Ltd
Priority to CN201911174097.7A priority Critical patent/CN110865221B/en
Publication of CN110865221A publication Critical patent/CN110865221A/en
Application granted granted Critical
Publication of CN110865221B publication Critical patent/CN110865221B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R13/00Arrangements for displaying electric variables or waveforms
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R1/00Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
    • G01R1/02General constructional details
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention relates to the technical field of electronic measurement, in particular to a method and a device for selecting a measurement channel. When detecting that a trigger sends a trigger signal, determining a target test channel corresponding to the trigger signal, and starting a counter to count the trigger signal; starting a timer to time, and acquiring a current count value in a counter when the timing time of the timer reaches a preset counting time; judging whether the counting value is a test value or not; and if the count value is a test value, starting the target test channel, and setting test parameters of a target waveform curve corresponding to the target test channel, wherein the test parameters are used for testing the target waveform curve. By applying the method, the process of setting the test parameters for the target waveform curve is realized through the trigger signal of the trigger, a technician does not need to select a test channel needing to set the test parameters from the menu bar after clicking the menu bar, the time for setting the test parameters is saved, and the working efficiency of the technician is improved.

Description

Measurement channel selection method and device
Technical Field
The invention relates to the technical field of electronic measurement, in particular to a method and a device for selecting a measurement channel.
Background
With the development of scientific technology, in the field of electronic measurement technology, electronic measurement instruments such as oscilloscopes are generally used to display waveform curves converted from various electrical signals such as voltage and current. In the process of displaying the wave curves of the respective signals by the electronic measuring instrument, it is necessary to set test parameters of each wave curve by the electronic measuring instrument to detect the signal quality of the electric signals corresponding to the wave curves.
In the prior art, in the process of setting the test parameters of each waveform curve, a technician is required to search a menu bar set by a channel on the electronic measurement instrument, and after the menu bar is opened, the channel corresponding to the waveform curve to be tested is selected and selected in the menu bar. In the prior art, when a channel is selected to set test parameters, a menu bar needs to be opened to select the corresponding channel, so that time is wasted, and the working efficiency of technicians is reduced.
Disclosure of Invention
In view of this, the present invention provides a method for selecting a measurement channel, which can improve the testing efficiency of the tester.
The invention also provides a measuring channel selection device which is used for ensuring the realization and the application of the method in practice.
In a first aspect, the present application provides a measurement channel selection method, including:
when detecting that a trigger sends a trigger signal to test equipment, determining a target test channel corresponding to the trigger signal, and starting a preset counter to count the trigger signal;
starting a preset timer to time, and acquiring a current count value in the counter when the timing time of the timer reaches a preset counting time;
judging whether the counting value is a preset test value or not, wherein the test value represents that the trigger signal is used for setting test parameters for a target waveform curve corresponding to the target test channel;
and if the count value is the test value, starting a target test channel corresponding to the trigger signal, and setting test parameters of a target waveform curve corresponding to the target test channel, wherein the test parameters are used for testing the target waveform curve.
Optionally, the determining the target test channel corresponding to the trigger signal includes:
determining a signal type of the trigger signal;
judging whether the trigger signal is a pressure trigger signal or not according to the signal type; the pressure trigger signal is a preset trigger signal sent by a pressure gauge, and the pressure gauge is arranged in the trigger;
if the trigger signal is a pressure trigger signal, determining that the trigger is a key module arranged on the test equipment;
and determining a key number corresponding to the key module, and determining a target test channel corresponding to the pressure trigger signal according to the key number.
Optionally, the method further includes:
if the trigger signal is not a pressure trigger signal, determining that the trigger is an operation module for external connection of the test equipment, wherein the operation module is used for clicking and selecting a waveform curve for setting test parameters on a display page of the test equipment;
determining a click area selected by the operation module on the display page, and judging whether the click area is in an effective area; the effective area comprises a plurality of waveform display sub-areas, and each waveform display sub-area is an area where a corresponding waveform curve is displayed on the display page;
if the clicking area is in the effective area, determining a waveform display sub-area to which the clicking area belongs in the effective area;
and determining a target test channel corresponding to the trigger signal based on the waveform display sub-region.
Optionally, the method further includes:
and if the count value is not the test value, starting a target test channel corresponding to the trigger signal, and displaying a menu bar corresponding to the target test channel.
Optionally, after obtaining the current count value in the counter, the method further includes:
and sending a count zero clearing instruction to the counter so that the counter clears the count value when receiving the count zero clearing instruction.
In a second aspect, the present application provides a measurement channel selection apparatus, comprising:
the signal processing module is used for determining a target test channel corresponding to a trigger signal and starting a preset counter to count the trigger signal when the trigger is detected to send the trigger signal to test equipment;
the timing module is used for starting a preset timer to time and acquiring the current count value in the counter when the timing time of the timer reaches the preset counting time;
the judging module is used for judging whether the counting value is a preset test value or not, and the test value represents that the trigger signal is used for setting test parameters for a target waveform curve corresponding to the target test channel;
and the parameter setting module is used for starting a target test channel corresponding to the trigger signal and setting test parameters of a target waveform curve corresponding to the target test channel if the count value is the test numerical value, wherein the test parameters are used for testing the target waveform curve.
Optionally, when determining the target test channel corresponding to the trigger signal, the signal processing module is specifically configured to:
determining a signal type of the trigger signal;
judging whether the trigger signal is a pressure trigger signal or not according to the signal type; the pressure trigger signal is a preset trigger signal sent by a pressure gauge, and the pressure gauge is arranged in the trigger;
if the trigger signal is a pressure trigger signal, determining that the trigger is a key module arranged on the test equipment;
and determining a key number corresponding to the key module, and determining a target test channel corresponding to the pressure trigger signal according to the key number.
Optionally, the signal processing module is further configured to:
if the trigger signal is not a pressure trigger signal, determining that the trigger is an operation module for external connection of the test equipment, wherein the operation module is used for clicking and selecting a waveform curve for setting test parameters on a display page of the test equipment;
determining a click area selected by the operation module on the display page, and judging whether the click area is in an effective area; the effective area comprises a plurality of waveform display sub-areas, and each waveform display sub-area is an area where a corresponding waveform curve is displayed on the display page;
if the clicking area is in the effective area, determining a waveform display sub-area to which the clicking area belongs in the effective area;
and determining a target test channel corresponding to the trigger signal based on the waveform display sub-region.
Optionally, the apparatus further comprises:
and the display module is used for starting a target test channel corresponding to the trigger signal and displaying a menu bar corresponding to the target test channel when the counting value is not the test value.
Optionally, the apparatus further comprises:
and the clearing module is used for sending a count clearing instruction to the counter after the current count value in the counter is obtained, so that the counter clears the count value when receiving the count clearing instruction.
In a third aspect, the present application provides a storage medium, where the storage medium includes stored instructions, where when the instructions are executed, the storage medium controls a device in which the storage medium is located to execute the above-mentioned measurement channel selection method.
In a fourth aspect, the present application provides an electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the above-described measurement channel selection method.
Compared with the prior art, the invention has the following advantages:
the invention provides a measuring channel selection method, which comprises the following steps: when a trigger is detected to send a trigger signal to test equipment, determining a target test channel corresponding to the trigger signal, and starting the counter to count the trigger signal; starting a preset timer to time, and acquiring a current count value in the counter when the timing time of the timer reaches a preset counting time; judging whether the counting value is a preset test value or not, wherein the test value represents that the trigger signal is used for setting test parameters for a target waveform curve corresponding to the target test channel; and if the count value is the test value, starting a target test channel corresponding to the trigger signal, and setting test parameters of a target waveform curve corresponding to the target test channel, wherein the test parameters are used for testing the target waveform curve. By applying the method, the process of setting the test parameters for the target waveform curve is realized through the trigger signal of the trigger, a technician does not need to click the menu bar and then select the test channel needing to set the test parameters from the menu bar, the time for setting the test parameters is saved, and the working efficiency of the technician is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 shows a flow chart of a measurement channel selection method provided in the present application;
FIG. 2 is a flow chart illustrating a target test channel corresponding to a determination trigger signal provided herein;
FIG. 3 is a block diagram illustrating a measurement channel selection apparatus provided in the present application;
fig. 4 shows a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions, and the terms "comprises", "comprising", or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The present invention is applicable in numerous general purpose or special purpose test equipment environments or configurations. For example: personal computers, server computers, oscilloscopes, waveform display devices, test environments that include any of the above devices or equipment, and the like.
The embodiment of the invention provides a measurement channel selection method, which can be applied to a test process of channel parameters, wherein an execution main body of the method can be a processor of test equipment, and a method flow chart of the method is shown in fig. 1 and specifically comprises steps S101-S104. Wherein:
s101: when the trigger is detected to send a trigger signal to the test equipment, a target test channel corresponding to the trigger signal is determined, and a preset counter is started to count the trigger signal.
It will be appreciated that a trigger is an intermediary through which a user interacts with the test device, i.e. the user sends a trigger signal to the test device through the trigger. Specifically, the user sends a trigger signal of the target test channel to the test device through the trigger to trigger a test process of the test device on the target test channel.
In the embodiment of the present invention, the test device may include a counter, and after the test device receives the trigger signal of the target test channel, the counter arranged in the test device is started to count the trigger signal, so as to obtain a counting result of the trigger signal.
For example: the user sends a trigger signal to the test equipment through the trigger for the first time, the counter deployed in the test equipment counts the trigger signal to be 1, and when the user sends the trigger signal through the trigger item test equipment again, the counter deployed in the test equipment accumulates the trigger signal, namely 2. The trigger signals are counted in this manner.
It should be noted that the trigger may be disposed in the testing device and integrated with the testing device; or may be a separate trigger independent of the test equipment and not specifically described herein.
S102: and starting a preset timer to time, and acquiring the current count value in the counter when the timing time of the timer reaches the preset counting time.
It is understood that a preset timer is also one of the modules in the test device, and a counting time is set in the timer, that is, the corresponding set counting time in the counting process of the counter. And when the timing time of the timer reaches the counting time, ending the timing of the timer.
Specifically, after the test device receives the trigger signal, the test device starts the counter to perform a counting operation on the trigger signal, and starts the timer to perform a timing operation on a counting process of the counter, and determines a count value corresponding to the trigger signal by combining the counter and the timer. Namely, a preset timing duration is set in the timer, and when the timer reaches the preset timing duration, a count value corresponding to the trigger signal at the current moment of the counter is extracted.
For example: the user initiates a trigger signal to the test equipment for the first time through the trigger, after the test equipment receives the trigger signal, the test equipment starts the counter to count the trigger signal, the count value is 1, and simultaneously, the timer is started to time according to the preset counting time. If the user does not send the trigger signal to the test equipment any more in the timing process, the count value of the counter is 1; if the user initiates a trigger signal to the test equipment through the trigger again in the timing process, at the moment, the counter adds 1, namely 2, on the basis of the original count value; and when the timing is finished, extracting a count value corresponding to the trigger signal in the counter.
It should be noted that the count value of the counter may be other values, and is not specifically described here.
S103: and judging whether the count value is a preset test value or not, wherein the test value represents the trigger signal and is used for setting test parameters for a target waveform curve corresponding to the target test channel.
In the embodiment of the present invention, before the target waveform curve is set with each test parameter, it is determined whether the count value of the counter is a preset test value. It can be understood that there is a preset binding relationship between the test parameter setting process of the target waveform curve and a preset test value, the test value is a condition for setting the test parameter for the target waveform curve, and whether the target test channel meets the condition for setting the test parameter is determined by judging the count value.
It should be noted that each test parameter in the target waveform curve can be displayed in the test device only by configuring, and a target test channel of the test parameter needs to be configured in the configuration process of the test parameter, so that the test parameter can display the parameter of the target waveform curve.
S104: and if the count value is a test value, starting a target test channel corresponding to the trigger signal, and setting test parameters of a target waveform curve corresponding to the target test channel, wherein the test parameters are used for testing the target waveform curve.
In the embodiment of the present invention, a preset binding relationship exists between the test parameter setting process of the target waveform curve and a preset test value, that is, when the count value of the trigger signal corresponding to the target test channel is the preset test value, the test parameter setting of the target waveform curve is performed to indicate that the current target test channel needs to be bound with a channel item in the test parameter setting interface of the target waveform curve, and the target test channel is filled in the channel item in the test parameter setting interface of the target waveform curve, so as to complete the binding.
It should be noted that there may be a plurality of test parameters of the target waveform curve, and when the trigger signal count value corresponding to the target test channel is the preset test value, the channel items in the test parameter setting interface of all the target waveform curves are bound with the target test channel.
For example: the target waveform curve corresponds to 6 test parameters, namely P1-P6. Each test parameter corresponds to a channel entry to be filled in. And when the trigger signal count value corresponding to the target test channel is a preset test value, filling the target test channel into the channel items from P1 to P6 to complete the test parameter configuration of the target waveform curve.
According to the technical scheme, the invention provides a measuring channel selection method, which comprises the following steps: when detecting that the trigger sends a trigger signal to the test equipment, determining a target test channel corresponding to the trigger signal, and starting a counter to count the trigger signal; starting a preset timer to time, and acquiring a current count value in a counter when the timing time of the timer reaches a preset counting time; judging whether the counting value is a preset test value or not, wherein the test value represents a trigger signal and is used for setting test parameters for a target waveform curve corresponding to a target test channel; and if the count value is a test value, starting a target test channel corresponding to the trigger signal, and setting test parameters of a target waveform curve corresponding to the target test channel, wherein the test parameters are used for testing the target waveform curve. By applying the method, the process of setting the test parameters for the target waveform curve is realized through the trigger signal of the trigger, a technician does not need to click the menu bar and then select the test channel needing to set the test parameters from the menu bar, the time for setting the test parameters is saved, and the working efficiency of the technician is improved.
For the convenience of understanding of the above embodiments, the present application provides practical application processes of the above embodiments.
A user sends a trigger signal to test equipment through a trigger, after the test equipment receives the trigger signal, a counter is started to count the trigger signal, a timer is started to time the counting process, and when the timer finishes the timing function, the number of times of the trigger signal accumulated currently in the counter, namely the count value of the counter, is extracted; judging the counting value, and if the counting value is a preset test value, setting a target test channel as a channel item of each test parameter of the target waveform curve; if the count value is not the preset test value, the target test channel is selected, and experience functions such as display, target test channel moving and the like can be provided for the user.
In an example, in addition to the above-mentioned S101-S104, the measurement channel selection method provided by the present application may further include:
and if the count value is not the test value, starting a target test channel corresponding to the trigger signal, and displaying a menu bar corresponding to the target test channel.
It is understood that the count value is not the predetermined test value, and indicates that the count value extracted from the counter is not equal to the test value. For example: the count value is 1, etc. This case indicates that the user does not perform the setting of the test parameters of the target waveform curve. And in order to facilitate the experience of the user, when the counting value is not the test value, selecting the target test channel. Different experience functions can be set based on the selected target test channel, for example: when the trigger is a key module arranged on the test equipment, the function of displaying the target test channel is provided according to the selected target test channel; and when the trigger is an operation module connected with the external of the test equipment, providing a function of moving the target test channel for the user according to the selected target test channel. The user can have better test experience when using the test equipment to test the target test channel.
It is understood that different triggers are different from the triggers with which the user interacts, the types of the generated trigger signals are different, and the specific process for determining the target test channel corresponding to the trigger signal is also different. To this end, the present application provides two types of triggers for illustration.
In one example, referring to fig. 2, in step S101, a specific process when determining a target test channel corresponding to a trigger signal includes:
s201: the signal type of the trigger signal is determined.
Before determining the target test channel corresponding to the trigger signal, it is necessary to determine how the trigger signal is generated, and the embodiments of the present application describe in detail a generation process of the trigger signal.
The signal type of the trigger signal may include various implementations, for example: pressure trigger signals, operation instruction trigger signals, and the like.
S202: judging whether the trigger signal is a pressure trigger signal or not according to the signal type; the pressure trigger signal is a preset trigger signal sent by a pressure gauge, and the pressure gauge is arranged in the trigger.
S203: and if the trigger signal is a pressure trigger signal, determining that the trigger is a key module arranged on the test equipment.
It will be appreciated that the key module is a trigger for a built-in pressure gauge which generates a pressure trigger signal when a user presses the key module.
S204: and determining a key number corresponding to the key module, and determining a target test channel corresponding to the pressure trigger signal according to the key number.
It should be noted that the number of the key modules is the same as the number of the channels, and corresponds to one another. For example: the channel 1 corresponds to the key module 1, and after a user determines a target test channel to be tested, the user only needs to click the key module corresponding to the target test channel, and the key module generates a trigger signal to indicate the test equipment to complete a corresponding indication step. For example: indicating the test equipment to complete the setting process of the test parameters; or instruct the test equipment to complete the process of selecting the target test channel.
After the test equipment receives the pressure trigger signal, the step of setting the test parameters in the above embodiment is continuously completed.
In addition to the pressure trigger signals described above, the present application also provides non-pressure trigger signals, specifically as follows:
in one example, the specific process of determining the target test channel corresponding to the trigger signal includes:
and if the trigger signal is not the pressure trigger signal, determining the trigger as an operation module for carrying out external connection on the test equipment, wherein the operation module is used for clicking and selecting a waveform curve for carrying out test parameter setting on a display page of the test equipment.
It will be appreciated that the operational module is a device separate from the test device, for example: a mouse.
It should be noted that, a display page is further provided in the test equipment, and is used for displaying the waveform curves of the channels.
The user can select the waveform curve in the display page through the operation module, determine the selected target waveform curve and the target test channel corresponding to the target waveform curve, and based on the display page, when the user clicks the target waveform curve, an operation instruction trigger signal is generated and sent to the test equipment.
Determining a click area selected by an operation module on a display page, and judging whether the click area is in an effective area; the effective area comprises a plurality of waveform display sub-areas, and each waveform display sub-area is an area where the corresponding waveform curve is displayed on a display page.
And if the clicking area is in the effective area, determining a waveform display sub-area to which the clicking area belongs in the effective area.
It should be noted that the target waveform curve has a click region, and the click region includes any point of the target waveform curve on the display page, that is, the waveform display sub-region.
It is understood that the operation instruction trigger signal can be generated by clicking operation of the user at any point of the waveform display sub-region.
And determining a target test channel corresponding to the trigger signal based on the waveform display sub-region.
In the method provided by the implementation of the invention, the count value of the trigger signal extracted from the counter also indicates the end of the counting process of the trigger signal of the current target test channel. In order to avoid confusion with the next counting process of the target test channel trigger signal. The test equipment in the application also comprises a zero clearing module. The method comprises the following specific steps:
in one example, after obtaining the current count value in the counter, the method further includes:
and sending a count clear instruction to the counter so that the counter clears the count value when receiving the count clear instruction.
It will be appreciated that the count value in the counter is extracted, indicating that the counting process is complete. At the moment, the test equipment starts a zero clearing module to clear the count value in the counter. Specifically, after the count value is extracted from the counter, the test equipment starts a zero clearing module, and the zero clearing module generates a zero clearing instruction and sends the zero clearing instruction to the counter to instruct the counter to complete zero clearing of the count value.
The present application provides a device for testing parameters, see fig. 3, the device comprising: a signal processing module 301, a timing module 302, a judging module 303 and a parameter setting module 304. Wherein:
the signal processing module 301 is configured to, when it is detected that the trigger sends a trigger signal to the test device, determine a target test channel corresponding to the trigger signal, and start a preset counter to count the trigger signal.
The timing module 302 is configured to start a preset timer to time, and obtain a current count value in the counter when the timing time of the timer reaches a preset counting time.
And the judging module is used for judging whether the counting value is a preset test value or not, and the test value representation triggering signal is used for setting test parameters for a target waveform curve corresponding to the target test channel.
The parameter setting module 303 is configured to, if the count value is a test value, start a target test channel corresponding to the trigger signal, and set a test parameter of a target waveform curve corresponding to the target test channel, where the test parameter is used to test the target waveform curve.
As can be seen from the above technical solutions, the present invention provides a measurement channel selection apparatus, which specifically includes: the device comprises a signal processing module, a timing module, a judging module and a parameter setting module. Wherein: the signal processing module is used for determining a target test channel corresponding to a trigger signal when the trigger is detected to send the trigger signal to the test equipment, and starting the counter to count the trigger signal; the timing module is used for starting a preset timer to time and acquiring the current count value in the counter when the timing time of the timer reaches the preset counting time; the judging module is used for judging whether the counting value is a preset test value or not, and the test value represents that the trigger signal is used for setting test parameters for a target waveform curve corresponding to the target test channel; and the parameter setting module is used for starting a target test channel corresponding to the trigger signal and setting test parameters of a target waveform curve corresponding to the target test channel if the count value is the test numerical value, wherein the test parameters are used for testing the target waveform curve. By applying the device, the process of setting the test parameters of the target waveform curve is realized through the trigger signal of the trigger, a technician does not need to click the menu bar and then select the test channel needing to set the test parameters from the menu bar, the time for setting the test parameters is saved, and the working efficiency of the technician is improved.
In one example, when determining the target test channel corresponding to the trigger signal, the signal processing module is specifically configured to:
the signal type of the trigger signal is determined.
Judging whether the trigger signal is a pressure trigger signal or not according to the signal type; the pressure trigger signal is a preset trigger signal sent by a pressure gauge, and the pressure gauge is arranged in the trigger.
And if the trigger signal is a pressure trigger signal, determining that the trigger is a key module arranged on the test equipment.
And determining a key number corresponding to the key module, and determining a target test channel corresponding to the pressure trigger signal according to the key number.
In one example, the signal processing module is further to:
and if the trigger signal is not the pressure trigger signal, determining the trigger as an operation module for carrying out external connection on the test equipment, wherein the operation module is used for clicking and selecting a waveform curve for carrying out test parameter setting on a display page of the test equipment.
Determining a click area selected by an operation module on a display page, and judging whether the click area is in an effective area; the effective area comprises a plurality of waveform display sub-areas, and each waveform display sub-area is an area where the corresponding waveform curve is displayed on a display page.
And if the clicking area is in the effective area, determining a waveform display sub-area to which the clicking area belongs in the effective area.
And determining a target test channel corresponding to the trigger signal based on the waveform display sub-region.
In one example, the measurement channel selection apparatus further includes:
and the display module is used for starting the target test channel corresponding to the trigger signal and displaying the menu bar corresponding to the target test channel when the count value is not the test value.
In one example, the measurement channel selection apparatus further includes:
and the clearing module is used for sending a count clearing instruction to the counter after the current count value in the counter is acquired, so that the counter clears the count value when receiving the count clearing instruction.
The specific implementation procedures and derivatives thereof of the above embodiments are within the scope of the present invention.
The embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the device where the storage medium is located is controlled to execute the measurement channel selection method.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 3, which specifically includes a memory 401 and one or more instructions 402, where the one or more instructions 402 are stored in the memory 401 and configured to be executed by one or more processors 403 to perform the following operations for executing the one or more instructions 402:
when the trigger is detected to send a trigger signal to the test equipment, a target test channel corresponding to the trigger signal is determined, and a preset counter is started to count the trigger signal.
And starting a preset timer to time, and acquiring the current count value in the counter when the timing time of the timer reaches the preset counting time.
And judging whether the count value is a preset test value or not, wherein the test value represents the trigger signal and is used for setting test parameters for a target waveform curve corresponding to the target test channel.
And if the count value is a test value, starting a target test channel corresponding to the trigger signal, and setting test parameters of a target waveform curve corresponding to the target test channel, wherein the test parameters are used for testing the target waveform curve.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both.
To clearly illustrate this interchangeability of hardware and software, various illustrative components and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for measuring channel selection, comprising:
when detecting that a trigger sends a trigger signal to test equipment, determining a target test channel corresponding to the trigger signal, and starting a preset counter to count the trigger signal; the trigger signal is a pressure trigger signal or an operation instruction trigger signal, and the pressure trigger signal is a trigger signal generated by a trigger when a user presses the trigger built in the test equipment; the operation instruction trigger signal is a trigger signal generated by an operation module when a user clicks and selects a waveform curve in a display page of the test equipment by using the operation module;
starting a preset timer to time, and acquiring a current count value in the counter when the timing time of the timer reaches a preset counting time;
judging whether the counting value is a preset test value or not, wherein the test value represents that the trigger signal is used for setting test parameters for a target waveform curve corresponding to the target test channel;
and if the count value is the test value, starting a target test channel corresponding to the trigger signal, and setting test parameters of a target waveform curve corresponding to the target test channel, wherein the test parameters are used for testing the target waveform curve.
2. The method of claim 1, wherein the determining the target test channel to which the trigger signal corresponds comprises:
determining a signal type of the trigger signal;
judging whether the trigger signal is a pressure trigger signal or not according to the signal type; the pressure trigger signal is a preset trigger signal sent by a pressure gauge, and the pressure gauge is arranged in the trigger;
if the trigger signal is a pressure trigger signal, determining that the trigger is a key module arranged on the test equipment;
and determining a key number corresponding to the key module, and determining a target test channel corresponding to the pressure trigger signal according to the key number.
3. The method of claim 2, further comprising:
if the trigger signal is not a pressure trigger signal, determining that the trigger is an operation module for external connection of the test equipment, wherein the operation module is used for clicking and selecting a waveform curve for setting test parameters on a display page of the test equipment;
determining a click area selected by the operation module on the display page, and judging whether the click area is in an effective area; the effective area comprises a plurality of waveform display sub-areas, and each waveform display sub-area is an area where a corresponding waveform curve is displayed on the display page;
if the clicking area is in the effective area, determining a waveform display sub-area to which the clicking area belongs in the effective area;
and determining a target test channel corresponding to the trigger signal based on the waveform display sub-region.
4. The method of claim 1, further comprising:
and if the count value is not the test value, starting a target test channel corresponding to the trigger signal, and displaying a menu bar corresponding to the target test channel.
5. The method of claim 1, wherein obtaining the current count value in the counter further comprises:
and sending a count zero clearing instruction to the counter so that the counter clears the count value when receiving the count zero clearing instruction.
6. A measurement channel selection apparatus, comprising:
the signal processing module is used for determining a target test channel corresponding to a trigger signal and starting a preset counter to count the trigger signal when the trigger is detected to send the trigger signal to test equipment; the trigger signal is a pressure trigger signal or an operation instruction trigger signal, and the pressure trigger signal is a trigger signal generated by a trigger when a user presses the trigger built in the test equipment; the operation instruction trigger signal is a trigger signal generated by an operation module when a user clicks and selects a waveform curve in a display page of the test equipment by using the operation module;
the timing module is used for starting a preset timer to time and acquiring the current count value in the counter when the timing time of the timer reaches the preset counting time;
the judging module is used for judging whether the counting value is a preset test value or not, and the test value represents that the trigger signal is used for setting test parameters for a target waveform curve corresponding to the target test channel;
and the parameter setting module is used for starting a target test channel corresponding to the trigger signal and setting test parameters of a target waveform curve corresponding to the target test channel if the count value is the test numerical value, wherein the test parameters are used for testing the target waveform curve.
7. The apparatus according to claim 6, wherein the signal processing module, when determining the target test channel corresponding to the trigger signal, is specifically configured to:
determining a signal type of the trigger signal;
judging whether the trigger signal is a pressure trigger signal or not according to the signal type; the pressure trigger signal is a preset trigger signal sent by a pressure gauge, and the pressure gauge is arranged in the trigger;
if the trigger signal is a pressure trigger signal, determining that the trigger is a key module arranged on the test equipment;
and determining a key number corresponding to the key module, and determining a target test channel corresponding to the pressure trigger signal according to the key number.
8. The apparatus of claim 7, wherein the signal processing module is further configured to:
if the trigger signal is not a pressure trigger signal, determining that the trigger is an operation module for external connection of the test equipment, wherein the operation module is used for clicking and selecting a waveform curve for setting test parameters on a display page of the test equipment;
determining a click area selected by the operation module on the display page, and judging whether the click area is in an effective area; the effective area comprises a plurality of waveform display sub-areas, and each waveform display sub-area is an area where a corresponding waveform curve is displayed on the display page;
if the clicking area is in the effective area, determining a waveform display sub-area to which the clicking area belongs in the effective area;
and determining a target test channel corresponding to the trigger signal based on the waveform display sub-region.
9. The apparatus of claim 6, further comprising:
and the display module is used for starting a target test channel corresponding to the trigger signal and displaying a menu bar corresponding to the target test channel when the counting value is not the test value.
10. The apparatus of claim 6, further comprising:
and the clearing module is used for sending a count clearing instruction to the counter after the current count value in the counter is obtained, so that the counter clears the count value when receiving the count clearing instruction.
CN201911174097.7A 2019-11-26 2019-11-26 Measurement channel selection method and device Active CN110865221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911174097.7A CN110865221B (en) 2019-11-26 2019-11-26 Measurement channel selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911174097.7A CN110865221B (en) 2019-11-26 2019-11-26 Measurement channel selection method and device

Publications (2)

Publication Number Publication Date
CN110865221A CN110865221A (en) 2020-03-06
CN110865221B true CN110865221B (en) 2021-05-14

Family

ID=69656313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911174097.7A Active CN110865221B (en) 2019-11-26 2019-11-26 Measurement channel selection method and device

Country Status (1)

Country Link
CN (1) CN110865221B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114325547B (en) * 2021-12-24 2024-05-03 上海御渡半导体科技有限公司 Detection device and method for ATE (automatic test equipment) test channel

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU599216A1 (en) * 1976-12-03 1978-03-25 Отделение Азербайджанского Научно-Исследовательского Института Энергетики Им. И.Г.Есьмана Operator conductivity measuring arrangement
US4631697A (en) * 1983-08-11 1986-12-23 Duffers Scientific, Inc. Signal controlled waveform recorder
EP1956379A1 (en) * 2007-02-12 2008-08-13 Tektronix, Inc. Indicia for channels collected into a group
CN101945052A (en) * 2010-09-27 2011-01-12 广东威创视讯科技股份有限公司 Matrix seek method and device for signal switching
CN102033149A (en) * 2009-09-17 2011-04-27 特克特朗尼克公司 Mixed signal acquisition system for a measurement instrument
CN102543046A (en) * 2011-12-15 2012-07-04 广东威创视讯科技股份有限公司 Signal path searching method
CN104661022A (en) * 2015-03-04 2015-05-27 广东威创视讯科技股份有限公司 Multi-signal-channel automatic detection system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU599216A1 (en) * 1976-12-03 1978-03-25 Отделение Азербайджанского Научно-Исследовательского Института Энергетики Им. И.Г.Есьмана Operator conductivity measuring arrangement
US4631697A (en) * 1983-08-11 1986-12-23 Duffers Scientific, Inc. Signal controlled waveform recorder
EP1956379A1 (en) * 2007-02-12 2008-08-13 Tektronix, Inc. Indicia for channels collected into a group
CN102033149A (en) * 2009-09-17 2011-04-27 特克特朗尼克公司 Mixed signal acquisition system for a measurement instrument
CN101945052A (en) * 2010-09-27 2011-01-12 广东威创视讯科技股份有限公司 Matrix seek method and device for signal switching
CN102543046A (en) * 2011-12-15 2012-07-04 广东威创视讯科技股份有限公司 Signal path searching method
CN104661022A (en) * 2015-03-04 2015-05-27 广东威创视讯科技股份有限公司 Multi-signal-channel automatic detection system and method

Also Published As

Publication number Publication date
CN110865221A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN110210180B (en) Motor information display method and device and computer equipment
KR101738076B1 (en) Partial discharge remote diagnosis system for displaying reliability of partial discharge diagnosis
CN110865221B (en) Measurement channel selection method and device
CN108181492A (en) A kind of oscilloscope signal processing method, device and oscillograph
KR101151742B1 (en) Portable System for Diagnosis of Partial Discharge
CN101832813A (en) Noise and Vibration-Measuring System based on virtual instrument technique
CN112054822A (en) Bluetooth test method and device, electronic equipment and storage medium
CN112285496A (en) Quantitative method and system for partial discharge of high-voltage electrical equipment
CN114047378B (en) Signal voltage detection method, system, equipment and server
CN106405254B (en) Low-frequency-band electromagnetic environment analysis method and device
CN109009051A (en) Method for measuring heart rate, device, equipment and storage medium
KR20190020233A (en) Simulated signal generating Apparatus and method for partial discharge simulation
KR20110034281A (en) Method and analysis system for diagnosising exclusive vibration in generator stator windings
CN112255994B (en) Real-time response test method and device for control system
CN106352974B (en) A kind of digital sound level meter pulse weighted method and device
US11762480B2 (en) Key determination method for metal key
CN103869128B (en) Digital oscilloscope triggering method and digital oscilloscope with Trigger Function
CN109765411B (en) Waveform display device and historical waveform statistical method
CN110609243B (en) Method and system for testing CPU power supply efficiency and related components
CN103176155A (en) Detection method and device of measuring instrument
CN207036154U (en) A kind of sensor performance detection means based on FPGA
CN107192550B (en) Order analysis system
CN107765126A (en) A kind of method, apparatus and terminal of monitoring terminal surge
US11536769B2 (en) Method for operating a test system and operation assistance apparatus
CN103713756B (en) Object identification method and the electronic equipment of application the method on a kind of touch screen

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240401

Address after: Room 05, 27th Floor, Building 1, Guannan Fuxing Pharmaceutical Park, No. 58 Guanggu Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province, 430000 (Wuhan Area of Free Trade Zone)

Patentee after: Wuhan Anchenxin Information Technology Co.,Ltd.

Country or region after: China

Address before: 233 Kezhu Road, Guangzhou hi tech Industrial Development Zone, Guangdong 510670

Patentee before: VTRON GROUP Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right