CN102945007A - Method for monitoring GPI (general purpose input) action - Google Patents
Method for monitoring GPI (general purpose input) action Download PDFInfo
- Publication number
- CN102945007A CN102945007A CN2012104208298A CN201210420829A CN102945007A CN 102945007 A CN102945007 A CN 102945007A CN 2012104208298 A CN2012104208298 A CN 2012104208298A CN 201210420829 A CN201210420829 A CN 201210420829A CN 102945007 A CN102945007 A CN 102945007A
- Authority
- CN
- China
- Prior art keywords
- control signal
- gpi
- signal
- action
- read back
- 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
Links
Images
Landscapes
- Monitoring And Testing Of Transmission In General (AREA)
- Catching Or Destruction (AREA)
Abstract
The invention discloses a method for monitoring GPI (general purpose input) action. The method comprises the following steps: S1, detecting a control signal; and S2, giving a read-back signal according to the detected control signal. The detected control signal is obtained by using a singlechip, a signal indicating lamp and a buzzer; and when a CPU (central processing unit) detects the control signal, the read-back signal is automatically returned to GPI control equipment. After implementation of the technical scheme, the method has the benefits as follows: when the CPU detects the action of a GPI port, the read-back signal is returned to the control equipment in time, so that the working efficiency of the equipment is improved.
Description
Technical field
The present invention relates to a kind of method of the GPI of supervising action, more particularly, relate to a kind of GPI port-action that supervises various device, and in time read back waveform is returned to the method for opertaing device according to the GPI port-action.
Background technology
Because the plurality of advantages that the GPI interface exists, present a lot of equipment all remains with the GPI control interface, especially in the broadcasting and TV field, and also be multifarious by the equipment that the GPI interface is controlled GPI, of a great variety, the triggering mode of GPI port also is not quite similar, as: high level control, low level control, positive pulse control, negative pulse control, switch often open and the length of switch is closed, and the signal retaking of a year or grade of GPI opertaing device also is roughly above-mentioned 6 kinds of states, and wherein the retaking of a year or grade of high-low level signal is modal retaking of a year or grade mode.
Because the research staff is when carrying out the design of GPI opertaing device and test, can not observe intuitively the action of GPI port, and read back waveform can not return to opertaing device timely, cause efficiency of research and development to descend, designed a kind of new method in order to address this problem us, simulate various GPI controlled devices, supervise the action of GPI opertaing device, and provide relevant read back waveform according to control signal.
Summary of the invention
The present invention is directed to the proposition of above problem, and develop a kind of method of the GPI of supervising action.
A kind of method that supervises the GPI action is characterized in that, comprises the following steps:
S1, detection control signal;
S2, provide read back waveform according to detecting control signal.
Preferably, adopt single-chip microcomputer and signal lamp and hummer to obtain the detection control signal, after CPU detects control signal, automatically read back waveform is returned to the GPI opertaing device.
Preferably, control signal comprises: high-level control signal, low level control signal, positive pulse control signal, negative pulse control signal, switch are often driven signal, switch and are often closed signal.
Preferably, read back waveform comprises: high-level control signal, low level control signal, positive pulse control signal, negative pulse control signal, switch are often driven signal, switch and are often closed signal.
Preferably, read back waveform is manually selected by toggle switch.
Implement technical scheme of the present invention, have following beneficial effect: in time read back waveform is returned to opertaing device detect the action of GPI port as CPU after, improve the work efficiency of equipment.
Description of drawings
Fig. 1 is the structural representation of GPIO of the present invention.
Embodiment
The invention provides a kind of method of the GPI of supervising action, below in conjunction with accompanying drawing technical scheme of the present invention is elaborated.
GPIO(General-purpose Input/Output Ports), general purpose I/O port.Fig. 1 is the structural representation of GPIO of the present invention, as shown in the figure, comprises power module, CPU, control signal pilot lamp, hummer, read back waveform case, read back waveform pilot lamp, toggle switch, the first string and converting unit and the second string and converting unit.
External power source provides power supply for the power module of GPIO, opertaing device is exported control signal to GPIO, it is multichannel GPI control signal, the first parallel serial conversion unit is used for reading the parallel-serial conversion of control signal, the second string and converting unit are used for string and the conversion of key scan, CPU reads control signal, control signal pilot lamp flickering display, the hummer buzzing is reported to the police, toggle switch and read back waveform button are used for manually selecting read back waveform, CPU feeds back to opertaing device with multichannel GPI read back waveform, and the read back waveform pilot lamp is used for flickering display after read back waveform sends.
The method that supervises the GPI action of the present invention comprises the following steps: S1, detects control signal; S2, provide read back waveform according to detecting control signal.Adopt single-chip microcomputer and signal lamp and hummer to obtain the detection control signal, after CPU detects control signal, automatically read back waveform is returned to the GPI opertaing device.
Control signal comprises: high-level control signal, low level control signal, positive pulse control signal, negative pulse control signal, switch are often driven signal, switch and are often closed signal.
Read back waveform comprises: high-level control signal, low level control signal, positive pulse control signal, negative pulse control signal, switch are often driven signal, switch and are often closed signal.The read back waveform of concrete which kind of pattern can manually be selected according to 8 toggle switchs above the test board, and can make amendment and toggle switch makes up mode differently provides more multi-form read back waveform to Single Chip Microcomputer (SCM) program.
Mode of operation is divided into two kinds, automatic mode and manual mode, can carry out model selection by 8 toggle switchs on the integrated circuit board, under automatic mode, if opertaing device produces control signal, the pilot lamp of related channel program has indication, after CPU detects control signal, hummer can detect control signal by prompting user, and CPU returns to read back waveform the GPI opertaing device automatically; Under the manual mode, the control of the uncontrolled signal of read back waveform, the research staff can be as required, even under the condition that does not have control signal to produce, directly by provide various multi-form read back waveforms by related key.
Implement technical scheme of the present invention, have following beneficial effect: in time read back waveform is returned to opertaing device detect the action of GPI port as CPU after, improve the work efficiency of equipment.
The above; only be the better embodiment of the present invention; but protection scope of the present invention is not limited to this; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, all should be encompassed within protection scope of the present invention.
Claims (5)
1. a method that supervises the GPI action is characterized in that, comprises the following steps:
S1, detection control signal;
S2, provide read back waveform according to detecting control signal.
2. the method that supervises the GPI action according to claim 1 is characterized in that, adopts single-chip microcomputer and signal lamp and hummer to obtain the detection control signal, automatically read back waveform is returned to the GPI opertaing device after CPU detects control signal.
3. the method that supervises the GPI action according to claim 1 is characterized in that, control signal comprises: high-level control signal, low level control signal, positive pulse control signal, negative pulse control signal, switch are often driven signal, switch and often closed signal.
4. the method that supervises the GPI action according to claim 1 is characterized in that, read back waveform comprises: high-level control signal, low level control signal, positive pulse control signal, negative pulse control signal, switch are often driven signal, switch and often closed signal.
5. the method that supervises the GPI action according to claim 4 is characterized in that, read back waveform is manually selected by toggle switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210420829.8A CN102945007B (en) | 2012-10-29 | 2012-10-29 | Method for monitoring GPI (general purpose input) action |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210420829.8A CN102945007B (en) | 2012-10-29 | 2012-10-29 | Method for monitoring GPI (general purpose input) action |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102945007A true CN102945007A (en) | 2013-02-27 |
CN102945007B CN102945007B (en) | 2015-07-08 |
Family
ID=47727958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210420829.8A Active CN102945007B (en) | 2012-10-29 | 2012-10-29 | Method for monitoring GPI (general purpose input) action |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102945007B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006055149A1 (en) * | 2004-11-17 | 2006-05-26 | Integrated Device Technology, Inc. | Systems and methods for monitoring and controlling binary state devices using a memory device |
TW200725398A (en) * | 2005-12-29 | 2007-07-01 | Inventec Corp | Labelling system and method thereof |
US20100290149A1 (en) * | 2009-05-18 | 2010-11-18 | Dell Products L.P. | Data loss prevention during a fall of a storage device |
CN201903877U (en) * | 2010-11-29 | 2011-07-20 | 大连捷成实业发展有限公司 | Device for triggering controlled equipment through GPIO (General Purpose Input/Output) port by multi modes |
CN202404580U (en) * | 2011-12-30 | 2012-08-29 | 大连捷成实业发展有限公司 | GPIO (general purpose input/output) control system |
-
2012
- 2012-10-29 CN CN201210420829.8A patent/CN102945007B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006055149A1 (en) * | 2004-11-17 | 2006-05-26 | Integrated Device Technology, Inc. | Systems and methods for monitoring and controlling binary state devices using a memory device |
TW200725398A (en) * | 2005-12-29 | 2007-07-01 | Inventec Corp | Labelling system and method thereof |
US20100290149A1 (en) * | 2009-05-18 | 2010-11-18 | Dell Products L.P. | Data loss prevention during a fall of a storage device |
CN201903877U (en) * | 2010-11-29 | 2011-07-20 | 大连捷成实业发展有限公司 | Device for triggering controlled equipment through GPIO (General Purpose Input/Output) port by multi modes |
CN202404580U (en) * | 2011-12-30 | 2012-08-29 | 大连捷成实业发展有限公司 | GPIO (general purpose input/output) control system |
Also Published As
Publication number | Publication date |
---|---|
CN102945007B (en) | 2015-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101915597A (en) | Indoor environment monitoring system | |
CN202443104U (en) | Automatic detection platform for IC card water-meter circuit board | |
CN101051409A (en) | Embedded gas surge warning instrument and its working method | |
CN102945007B (en) | Method for monitoring GPI (general purpose input) action | |
CN207908905U (en) | A kind of intelligent data acqusition system | |
CN203261930U (en) | Control device of automatic sprinkling irrigation system | |
CN105404214A (en) | Solar aerator intelligent control system and method | |
CN103968965A (en) | Temperature upper and lower limit alarm | |
CN203909271U (en) | Voltage drop tool | |
CN203164392U (en) | LED power source intelligent detection system | |
CN103606329B (en) | A kind of traffic lights experience system with result diagnostic function | |
CN204287281U (en) | A kind of hand-held signals collecting and monitor oscilloscope | |
CN201833020U (en) | Drilling and detecting integrated machine of circuit board | |
CN203455391U (en) | Logic pulse signal detection device | |
CN204679545U (en) | Level logic test pen | |
CN202411011U (en) | Battery sorting equipment adopting luminotrons to indicate battery working and sorting states | |
CN205028665U (en) | Solid state hard drives automatic tester with temperature perception | |
CN205910717U (en) | Two detection circuitry that open of metal | |
CN203218627U (en) | Energy-saving socket | |
CN202583410U (en) | Portable Chinese interface digital integrated circuit functional tester | |
CN202190360U (en) | Device capable of simulating digital product detecting operation | |
CN202533780U (en) | Workshop tool operation monitoring device | |
CN201035702Y (en) | Methane detection alarm instrument | |
CN203241737U (en) | Intelligent motor timing controller | |
CN206161611U (en) | Oil oxygen simulation detecting system |
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 | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20160325 Address after: Hi Tech Park Kehai street Dalian city Liaoning province 116023 No. 3 office building A block 3 layer Patentee after: DALIAN JIECHENG TECHNOLOGY CO., LTD. Address before: Hi Tech Park Kehai street Dalian city Liaoning province 116023 No. 3 Patentee before: Dalian GigaTec Electronics Co., Ltd. |