CN113945734A - Method for inputting and displaying component measurement pin - Google Patents

Method for inputting and displaying component measurement pin Download PDF

Info

Publication number
CN113945734A
CN113945734A CN202111208971.1A CN202111208971A CN113945734A CN 113945734 A CN113945734 A CN 113945734A CN 202111208971 A CN202111208971 A CN 202111208971A CN 113945734 A CN113945734 A CN 113945734A
Authority
CN
China
Prior art keywords
pin
data
input
inputting
discontinuous
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.)
Granted
Application number
CN202111208971.1A
Other languages
Chinese (zh)
Other versions
CN113945734B (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.)
Changzhou Tonghui Electronics Co ltd
Original Assignee
Changzhou Tonghui Electronics 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 Changzhou Tonghui Electronics Co ltd filed Critical Changzhou Tonghui Electronics Co ltd
Priority to CN202111208971.1A priority Critical patent/CN113945734B/en
Publication of CN113945734A publication Critical patent/CN113945734A/en
Application granted granted Critical
Publication of CN113945734B publication Critical patent/CN113945734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G01R1/025General constructional details concerning dedicated user interfaces, e.g. GUI, or dedicated keyboards
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Tests Of Electronic Circuits (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a method for inputting and displaying a component measurement pin, which comprises the following steps: (1) compiling a carrier for editing in a display interface; (2) receiving an input pin number by using a control available for editing; (3) after all pin numbers are obtained, processing the edited pin information by using an algorithm; (4) and displaying the finally available data processed according to the algorithm in the edited control. According to the method for inputting and displaying the component measurement pin, the pin input mode can be realized, so that the interface design is simpler and more visual, and the device can be clear at a glance; in the aspect of input use, the method is simpler, is convenient to check, avoids repeatedly input pins, reduces repeated input operation, improves input experience, improves input correctness, and ensures final measurement correctness.

Description

Method for inputting and displaying component measurement pin
The technical field is as follows:
the invention relates to the technical field of electronic measurement, in particular to a method for inputting and displaying a component measurement pin.
Background art:
in terms of component measurement, the conventional input pin method is performed under the following test conditions:
1. input of a pin, using a controllable editing input box;
2. in the case of more than one pin input, multiple input boxes are used, or a table with multiple cells is built.
The pins are input in a given input frame or table unit, and corresponding pins need to be input in a plurality of input carriers according to the number of the pins of the component to be tested. The existing components are more and more complex, such as components such as network transformers, the total number of pins is small, even dozens of pins, and for the numerous pins, when a carrier capable of inputting the pins is designed, most area of a display screen can be filled by a large number of editable controls, and when a page cannot be displayed completely, the remaining content can be displayed only by using a page turning or scroll bar dragging display mode; in terms of user use, a large number of pins are input, which is a highly repetitive and troublesome operation, and input redundancy or errors are easily generated in the input process.
The invention content is as follows:
in order to solve the technical problems, the invention provides a method for inputting and displaying a component measurement pin, which can reduce repeated input operation, improve the input accuracy and ensure the final measurement accuracy.
The invention is used based on a programming language, and any one of C, C + + and the like can be used.
The invention provides a method for inputting and displaying a component measurement pin, which comprises the following steps:
(1) writing a carrier for editing in a display interface, such as an edit box or an editable cell in a table and other similar controls;
(2) using the control for editing to receive the input pin number;
the input pins can be combined in the following ways:
a, inputting discontinuous pin numbers, and directly using separators to separate the pin numbers, wherein symbols such as a or symbol and a symbol are used as separators;
b, directly inputting serial pin numbers, and connecting the serial pin numbers by using a connector between the initial pin number and the final pin number, wherein the connector can be a sign such as- 'or-'; the serial pin numbers can also be input according to the method of the step A;
c, inputting a discontinuous pin number and a continuous pin number simultaneously, wherein the continuous pin number and the continuous pin number are separated by using a separator, the discontinuous pin number is input according to the method of the step A, and the continuous pin number is input according to the method of the step B;
(3) after all pin numbers are obtained, the edited pin information can be processed by using a specific algorithm, wherein the algorithm comprises the following contents:
a, processing illegally input data including data exceeding the pin number range of the device and unrecognizable characters, and the like to form a normal data combination which is readable in specification;
b, processing redundant data to remove repeated identical data;
c, sequencing according to the obtained new data, wherein the sequencing can be from small to large or from large to small according to the actual application environment;
d, using the sorted data, transmitting part of or all the data to the measuring unit module for final measurement according to the use environment of the measuring component;
(4) the final available data processed according to the algorithm will be displayed in the edited control as follows:
firstly, when only discontinuous data exists, numbers are displayed by separating separators;
connecting head and tail numbers by a connector when only continuous data exists;
when continuous data and discontinuous data exist, the continuous data segment and the discontinuous data are separated by a separator, the remaining discontinuous data are displayed according to the first step, and the continuous data blocks are displayed according to the second step;
fourthly, displaying all data according to the size direction of the requirement;
data with letters is firstly classified according to letters and then displayed according to the four modes.
The method is used for inputting and displaying the pin number, so that the designed operation interface is simpler and clearer, the operation is simpler, and the method is more convenient and quicker when continuous data is used.
The method can not only be applied to pin numbering, but also can be applied to places needing to input continuous data, such as an input operation page and the like.
The invention has the beneficial effects that: according to the method for inputting and displaying the component measurement pin, the pin input mode can be realized, so that the interface design is simpler and more visual, and the device can be clear at a glance; in the aspect of input use, the method is simpler, is convenient to check, avoids repeatedly input pins, reduces repeated input operation, improves input experience, improves input correctness, and ensures final measurement correctness.
The specific implementation mode is as follows:
the following detailed description of the preferred embodiments of the present invention is provided to enable those skilled in the art to more readily understand the advantages and features of the present invention and to clearly define the scope of the invention.
The invention provides a method for inputting and displaying a component measurement pin, which comprises the following concrete implementation steps:
1. creating a control element for editing through programming, such as a cell in a table or other editing frame;
2. in an editable table cell or an edit box, a user inputs pin numbers of the tested components, such as data "1, 3, 5" and the like;
3. when inputting the pin number, there are several different cases:
when discontinuous data is input, a pin number is separated from the pin number by inputting a separation symbol, and the use of the separation symbol is not limited to punctuation marks such as commas, for example, input data of "21, 5, 9";
when the continuous data is input, a connection symbol is input between the first pin number and the last pin number for connection, the use of the connection symbol is not limited to some symbols such as wave numbers and the like, for example, data 9-2 is input, and in addition, the data 9-2 can also be input according to 2, 3, 4, 5, 6, 7, 8 and 9;
c, inputting a separation symbol to separate discontinuous data and continuous data segments, such as input data of 2, 5-7, 9';
4. after the input is finished, executing a processing function, wherein the function performs the following processing according to the information in the edit box:
a. processing abnormal data, such as the number of pins is out of range, the total number of pins is actually 48, but a number of 49 or more is input, and the operation can select to discard the data or automatically defaults to the maximum number 48;
b. processing repeated data, wherein only one of two identical numbers is adopted;
c. sorting the obtained data by using an arbitrary sorting method;
d. storing the finally obtained data in a variable array and transmitting the data to a measurement module for use;
the final data obtained as above is displayed in an edit box or cell where the data will be displayed in the simplest manner used throughout step 3: for example, the input data "7, 3, 5, 4, 12-10" will be finally displayed as "3-5, 7, 10-12"; and 3-5, 7, 10-12 can be directly input to achieve the optimal effect.
The input and display method is simple and clear, namely, the complex process of continuously inputting pin numbers in a plurality of cells is avoided, and the checking fatigue after the input is finished is also avoided, so that the accuracy of final measurement is improved.
While particular embodiments of the present invention have been described in the foregoing specification, the various illustrations do not limit the spirit of the invention, and one of ordinary skill in the art, after reading the description, can make modifications and alterations to the particular embodiments described above without departing from the spirit and scope of the invention.

Claims (4)

1. A method for inputting and displaying a component measurement pin is characterized by comprising the following steps:
(1) compiling a carrier for editing in a display interface;
(2) receiving an input pin number by using a control available for editing;
(3) after all pin numbers are obtained, processing the edited pin information by using an algorithm;
(4) and displaying the finally available data processed according to the algorithm in the edited control.
2. The method for inputting and displaying the component measurement pin according to claim 1, wherein in the step (2), the pin is input in a manner comprising:
a, inputting discontinuous pin numbers and directly separating the pin numbers by using separators;
b, directly inputting serial pin numbers, and connecting the serial pin numbers by using a connector between the initial pin number and the ending pin number; inputting serial pin numbers according to the method of the step A;
and C, inputting a discontinuous pin number and a continuous pin number simultaneously, wherein the continuous pin number and the discontinuous pin number are separated by using a separator, the discontinuous pin number is input according to the method of the step A, and the continuous pin number is input according to the method of the step B.
3. The method for component measurement pin input and display of claim 2, wherein in step (3), the algorithm comprises the steps of:
a, processing illegally input data including data exceeding the pin number range of the device and unrecognizable characters to form a normatively readable normal data combination;
b, processing redundant data to remove repeated identical data;
c, sequencing from small to large or from large to small according to the obtained new data;
and d, using the sorted data, using part of or all of the data according to the using environment of the measuring component, and transmitting the data to the measuring unit module for final measurement.
4. The method for inputting and displaying the component measurement pin according to claim 3, wherein in the step (4), the finally available data processed according to the algorithm is displayed in the edited control in the following way:
firstly, when only discontinuous data exists, numbers are displayed by separating separators;
connecting head and tail numbers by a connector when only continuous data exists;
when continuous data and discontinuous data exist, the continuous data segment and the discontinuous data are separated by a separator, the remaining discontinuous data are displayed according to the first step, and the continuous data blocks are displayed according to the second step;
fourthly, displaying all data according to the size direction of the requirement;
data with letters is firstly classified according to letters and then displayed according to the four modes.
CN202111208971.1A 2021-10-18 2021-10-18 Method for inputting and displaying component measurement pins Active CN113945734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111208971.1A CN113945734B (en) 2021-10-18 2021-10-18 Method for inputting and displaying component measurement pins

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111208971.1A CN113945734B (en) 2021-10-18 2021-10-18 Method for inputting and displaying component measurement pins

Publications (2)

Publication Number Publication Date
CN113945734A true CN113945734A (en) 2022-01-18
CN113945734B CN113945734B (en) 2024-05-14

Family

ID=79330959

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111208971.1A Active CN113945734B (en) 2021-10-18 2021-10-18 Method for inputting and displaying component measurement pins

Country Status (1)

Country Link
CN (1) CN113945734B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0660137A (en) * 1992-08-06 1994-03-04 Fujitsu Ltd Circuit diagram editer
US20030051209A1 (en) * 1998-12-31 2003-03-13 Microsoft Corporation System and method for editing a spreadsheet via an improved editing and cell selection model
JP2007257327A (en) * 2006-03-23 2007-10-04 Mitsubishi Electric Corp Design support device, design support method and design support program
JP2008032732A (en) * 2007-08-13 2008-02-14 Advantest Corp Pin number converting device
JP2009282723A (en) * 2008-05-22 2009-12-03 Casio Comput Co Ltd Object editing device and program
CN103310033A (en) * 2012-02-07 2013-09-18 株式会社理光 Editing system
CN104462631A (en) * 2013-09-24 2015-03-25 纬创资通股份有限公司 Circuit diagram generating device and circuit diagram generating method
CN110941744A (en) * 2019-11-14 2020-03-31 广州江南科友科技股份有限公司 Data list adder and adding method
CN112395840A (en) * 2020-11-13 2021-02-23 唐山恒智天成科技有限公司 Engineering data management system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0660137A (en) * 1992-08-06 1994-03-04 Fujitsu Ltd Circuit diagram editer
US20030051209A1 (en) * 1998-12-31 2003-03-13 Microsoft Corporation System and method for editing a spreadsheet via an improved editing and cell selection model
JP2007257327A (en) * 2006-03-23 2007-10-04 Mitsubishi Electric Corp Design support device, design support method and design support program
JP2008032732A (en) * 2007-08-13 2008-02-14 Advantest Corp Pin number converting device
JP2009282723A (en) * 2008-05-22 2009-12-03 Casio Comput Co Ltd Object editing device and program
CN103310033A (en) * 2012-02-07 2013-09-18 株式会社理光 Editing system
CN104462631A (en) * 2013-09-24 2015-03-25 纬创资通股份有限公司 Circuit diagram generating device and circuit diagram generating method
CN110941744A (en) * 2019-11-14 2020-03-31 广州江南科友科技股份有限公司 Data list adder and adding method
CN112395840A (en) * 2020-11-13 2021-02-23 唐山恒智天成科技有限公司 Engineering data management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈超原 等: "数字电路与逻辑设计", 31 August 2019, 华中科技大学出版社, pages: 244 - 247 *

Also Published As

Publication number Publication date
CN113945734B (en) 2024-05-14

Similar Documents

Publication Publication Date Title
CN107977637A (en) A kind of intelligently reading system of more topic types
CN108628741A (en) Webpage test method, device, electronic equipment and medium
CN107229750A (en) table data processing method, device, storage medium and processor
US4677585A (en) Method for obtaining common mode information and common field attribute information for a plurality of card images
CN107797754A (en) The method and device and medium product that a kind of text replicates
CN108733644A (en) A kind of text emotion analysis method, computer readable storage medium and terminal device
CN107741972A (en) A kind of searching method of picture, terminal device and storage medium
CN106650720A (en) Method, device and system for network marking based on character recognition technology
CN112434568A (en) Drawing identification method and device, storage medium and computing equipment
US20050114096A1 (en) Method, system and computer program product for automatically generating a subset of task-based components from engineering and maintenance data
CN109670183A (en) A kind of calculation method, device, equipment and the storage medium of text importance
CN113945734A (en) Method for inputting and displaying component measurement pin
CN110826306B (en) Data acquisition method and device, computer readable storage medium and electronic equipment
CN107203525A (en) The treating method and apparatus of database
CN108038125A (en) Automatic control methods, device, equipment and the storage medium of fund system test value
US20120046931A1 (en) Multiple power-supply simulation result analyzer and method of analyzing the same
CN106648367A (en) Touch reading method and touch reading device
CN115658617A (en) Signal visualization analysis processing method and system based on MATLAB/App Designer development
CN103186672B (en) file ordering method and device thereof
KR102466701B1 (en) Electronic device capable of line break in sentence unit on spreadsheet and operating method thereof
US20210318949A1 (en) Method for checking file data, computer device and readable storage medium
CN110554872B (en) Data processing method based on reader SDK and reader SDK
CN107506340A (en) A kind of data transfer device and system
CN106708793A (en) Annotation subscript recognition method, device and electronic equipment
Hamza et al. Text mining: A survey of Arabic root extraction algorithms

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