CN103678233A - System and method for measuring serial communication in real time - Google Patents
System and method for measuring serial communication in real time Download PDFInfo
- Publication number
- CN103678233A CN103678233A CN201310651737.5A CN201310651737A CN103678233A CN 103678233 A CN103678233 A CN 103678233A CN 201310651737 A CN201310651737 A CN 201310651737A CN 103678233 A CN103678233 A CN 103678233A
- Authority
- CN
- China
- Prior art keywords
- real
- interface
- serial communication
- module
- time
- 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.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention provides a system and method for measuring serial communication in real time. The system comprises a computer, a serial communication card and a device to be detected. The computer comprises a central processing unit, a display device, an input and output device and a PCI expansion serial communication card, wherein the device to be detected is connected with the computer through the PCI expansion serial communication card. Compared with the prior art, the system and method for measuring the serial communication in real time have the friendliness of a human-computer interaction interface and can guarantee the real-time performance of data collecting and device controlling.
Description
Technical field
The present invention relates to industrial communication field, relate in particular to a kind of serial communication card real-time and method.
Background technology
Along with the increase of equipment under test measure of precision, the complexity that testing process, test data are processed continues to increase, and the arithmetic capability of TT&C system, real-time are had higher requirement.VxWorks, C/OS-II, RT-Linux, QNX are four kinds of more popular real time operating systems instantly.VxWorks, C/OS-II, RT-Linux, QNX are outstanding hard real time operating system, have their own characteristics each: the measurement index value of VxWorks is best; C/OS-II is the shortest and the most pithy; RT-Linux supports the rewriting of scheduling strategy; QNX supports Distributed Application.But these systems all can not be combined with windows platform.And RTX compares the combination that the most outstanding advantage is it and windows platform with similar real time operating system, have exploitation debugging efficiency high with real-time two large advantages.
Therefore be necessary to provide a kind of new serial communication card real-time and method to solve the problems referred to above.
Summary of the invention
The present invention relates to a kind of serial communication card real-time.
To achieve the above object of the invention, the invention provides a kind of serial communication card real-time, it is characterized in that, comprise: computing machine, serial communication card and tested equipment, wherein, computing machine comprises central processing unit, display device, input-output device, and PCI extended serial port address card, and equipment under test is connected with computing machine by PCI extended serial port address card;
Wherein, described computing machine also comprises interface entity module, TT&C system functional entity module and communication entity module;
Described interface entity module, presents to user by the software program interface of TT&C system, and processes user's operation, and user's operation is passed to TT&C system;
Described TT&C system functional entity module, controls and processes system under test (SUT) status information to system under test (SUT);
Described communication entity module, carries out data sharing by interface process and real-time extension process by shared drive, by shared events, carries out message informing and response.Communication entity module also defines by the communication mechanism of shared drive and shared events and notification message interface, by communication entity module, carries out the operation to serial communication card.
The present invention also provides a kind of serial communication card real-time investigating method, it is characterized in that, comprises interface process module and real-time extension process module,
Wherein said interface process module comprises the steps: interface initialization; Start real-time extension process; User's input; Notice real-time extension serial communication card; Refresh interface; System closing;
Described real-time extension process module comprises the steps: to start real-time extension process; Start interprocess communication; If receive the notice of described interface process module, carry out serial port setting, open reception timer, close functions such as receiving timer.
Compared with prior art, serial communication card real-time provided by the present invention and method, compare the most outstanding advantage and be the combination of it and windows platform with similar real time operating system, have exploitation debugging efficiency high with real-time two large advantages.And the feature such as the PC based on windows platform, has type selecting simple, and arithmetic capability is strong, favorable expandability, compares with embedded computer and has obvious advantage.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing relevant of the present invention in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the mechanism map of the present invention's serial communication card real-time one embodiment;
Fig. 2 is the interface process module process flow diagram of real-time investigating method one embodiment of the present invention's serial communication card;
Fig. 3 is the real-time extension process module process flow diagram of real-time investigating method one embodiment of the present invention's serial communication card.
Reference numeral:
Computing machine, 1; Serial communication card, 2; Tested equipment, 3.
Embodiment
Below with reference to each embodiment shown in the drawings, describe the present invention.But these embodiment do not limit the present invention, the conversion in the structure that those of ordinary skill in the art makes according to these embodiment, method or function is all included in protection scope of the present invention.
Shown in ginseng Fig. 1, a kind of serial communication card real-time provided by the present invention, comprise: computing machine 1, serial communication card 2 and tested equipment 3, wherein, computing machine comprises central processing unit, display device, input-output device, and PCI extended serial port address card, equipment under test is connected with computing machine by PCI extended serial port address card;
Wherein, described computing machine also comprises interface entity module, TT&C system functional entity module and communication entity module;
Described interface entity module, presents to user by the software program interface of TT&C system, and processes user's operation, and user's operation is passed to TT&C system;
Described TT&C system functional entity module, controls and processes system under test (SUT) status information to system under test (SUT);
Described communication entity module, carries out data sharing by interface process and real-time extension process by shared drive, by shared events, carries out message informing and response.Communication entity module also defines by the communication mechanism of shared drive and shared events and notification message interface, by communication entity module, carries out the operation to serial communication card.
With reference to shown in Fig. 2 to Fig. 3, the present invention also provides a kind of serial communication card real-time investigating method, it is characterized in that, comprises interface process module and real-time extension process module,
Wherein said interface process module comprises the steps: the initialization of S11 interface; S12 starts real-time extension process; S13 user's input; S14 notice real-time extension serial communication card; S15 refreshes interface; S16 system closing;
Described real-time extension process module comprises the steps: that S21 starts real-time extension process; S22 starts interprocess communication; If S23 receives the notice of described interface process module, carry out serial port setting, open reception timer, close functions such as receiving timer.
Serial communication card real-time and method that the present embodiment provides, system software program is comprised of interface process and real-time extension (RTX) process, interface process is equivalent to operate in the upper procedure of Windows layer, uses OO MFC technology to write.Real-time extension (RTX) process is equivalent to operate in the bottom real-time program of RTX layer, uses 500us timer to carry out data transmit-receive, can meet the requirement of real-time.Interface process and real-time extension (RTX) process is carried out data sharing by shared drive, by shared events, carries out message informing and message response.
Serial communication card real-time provided by the present invention and method, compare the most outstanding advantage and be the combination of it and windows platform with similar real time operating system, have exploitation debugging efficiency high with real-time two large advantages.And the feature such as the PC based on windows platform, has type selecting simple, and arithmetic capability is strong, favorable expandability, compares with embedded computer and has obvious advantage.
Be to be understood that, although this instructions is described according to embodiment, but not each embodiment only comprises an independently technical scheme, this narrating mode of instructions is only for clarity sake, those skilled in the art should make instructions as a whole, technical scheme in each embodiment also can, through appropriately combined, form other embodiments that it will be appreciated by those skilled in the art that.
Listed a series of detailed description is above only illustrating for feasibility embodiment of the present invention; they are not in order to limit the scope of the invention, all disengaging within equivalent embodiment that skill spirit of the present invention does or change all should be included in protection scope of the present invention.
Claims (2)
1. a serial communication card real-time, it is characterized in that, comprise: computing machine, serial communication card and tested equipment, wherein, computing machine comprises central processing unit, display device, input-output device, and PCI extended serial port address card, equipment under test is connected with computing machine by PCI extended serial port address card;
Wherein, described computing machine also comprises interface entity module, TT&C system functional entity module and communication entity module;
Described interface entity module, presents to user by the software program interface of TT&C system, and processes user's operation, and user's operation is passed to TT&C system;
Described TT&C system functional entity module, controls and processes system under test (SUT) status information to system under test (SUT);
Described communication entity module, interface process and real-time extension process are carried out to data sharing by shared drive, by shared events, carry out message informing and response, communication entity module also defines by the communication mechanism of shared drive and shared events and notification message interface, by communication entity module, carries out the operation to serial communication card.
2. for the real-time investigating method of serial communication card of system described in claim 1, it is characterized in that, comprise interface process module and real-time extension process module,
Wherein said interface process module comprises the steps: interface initialization; Start real-time extension process; User's input; Notice real-time extension serial communication card; Refresh interface; System closing;
Described real-time extension process module comprises the steps: to start real-time extension process; Start interprocess communication; If receive the notice of described interface process module, carry out serial port setting, open reception timer, close functions such as receiving timer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310651737.5A CN103678233A (en) | 2013-12-06 | 2013-12-06 | System and method for measuring serial communication in real time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310651737.5A CN103678233A (en) | 2013-12-06 | 2013-12-06 | System and method for measuring serial communication in real time |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103678233A true CN103678233A (en) | 2014-03-26 |
Family
ID=50315849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310651737.5A Pending CN103678233A (en) | 2013-12-06 | 2013-12-06 | System and method for measuring serial communication in real time |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103678233A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109313623A (en) * | 2017-11-15 | 2019-02-05 | 深圳配天智能技术研究院有限公司 | Switch the method and device of serial data transmission state |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050254464A1 (en) * | 2002-05-24 | 2005-11-17 | Patel Krishnakant M | Advanced voice services architecture framework |
CN102468985A (en) * | 2010-11-01 | 2012-05-23 | 北京神州绿盟信息安全科技股份有限公司 | Method and system for carrying out penetration test on network safety equipment |
CN102486642A (en) * | 2010-12-02 | 2012-06-06 | 镇江市海达科技有限公司 | Integrated track positioning system of working ship |
CN202404164U (en) * | 2011-11-23 | 2012-08-29 | 陕西特恩电子科技有限公司 | Power supply system processor simulation system |
CN103034234A (en) * | 2012-12-18 | 2013-04-10 | 天津光电通信技术有限公司 | Real-time full-automatic precise instrument test equipment |
CN202903966U (en) * | 2012-09-05 | 2013-04-24 | 上海艾展电子有限公司 | Automatic breaker test platform |
-
2013
- 2013-12-06 CN CN201310651737.5A patent/CN103678233A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050254464A1 (en) * | 2002-05-24 | 2005-11-17 | Patel Krishnakant M | Advanced voice services architecture framework |
CN102468985A (en) * | 2010-11-01 | 2012-05-23 | 北京神州绿盟信息安全科技股份有限公司 | Method and system for carrying out penetration test on network safety equipment |
CN102486642A (en) * | 2010-12-02 | 2012-06-06 | 镇江市海达科技有限公司 | Integrated track positioning system of working ship |
CN202404164U (en) * | 2011-11-23 | 2012-08-29 | 陕西特恩电子科技有限公司 | Power supply system processor simulation system |
CN202903966U (en) * | 2012-09-05 | 2013-04-24 | 上海艾展电子有限公司 | Automatic breaker test platform |
CN103034234A (en) * | 2012-12-18 | 2013-04-10 | 天津光电通信技术有限公司 | Real-time full-automatic precise instrument test equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109313623A (en) * | 2017-11-15 | 2019-02-05 | 深圳配天智能技术研究院有限公司 | Switch the method and device of serial data transmission state |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8984349B2 (en) | Method and system for automating the process of testing a device | |
Jakhete et al. | Implementation of Smart Restaurant with e-menu Card | |
CN103885868B (en) | The test macro of simulation USB hot plug process and device | |
US11403202B2 (en) | Power monitoring system for virtual platform simulation | |
RU2018121436A (en) | MODULAR SYSTEM AND METHOD FOR EXCHANGE OF INFORMATION AND / OR ENERGY BETWEEN MODULE SYSTEM MODULES | |
US20150234768A1 (en) | Hot removing an i/o module with multiple hot plug slots | |
CN101876825B (en) | Human-computer interface device of small PLC | |
CN110502464A (en) | A kind of hot-swappable processing method, device, equipment, system and readable storage medium storing program for executing | |
US20150149842A1 (en) | Test device and method using a separate control module for test | |
TW201432470A (en) | Remote interaction with electronic devices | |
CN109407655B (en) | Method and device for debugging chip | |
CN103268302A (en) | Interface expanding circuit, interface expanding connecting method and embedded system | |
CN104484127A (en) | Data storage and distribution system of hardware-in-the-loop radar simulation system | |
TW201423387A (en) | System and method for testing a plurality of SAS expanders synchronously | |
CN103678233A (en) | System and method for measuring serial communication in real time | |
CN102508757A (en) | Serial port debugging realization method of Linux system | |
US9619359B2 (en) | Server and device for analyzing a signal thereof | |
CN102799510A (en) | PLC simulator based on reconfigurable components | |
CN205158067U (en) | Industrial test device based on ETX module | |
CN204068425U (en) | Intelligent substation telecontrol communication machine | |
CN202795364U (en) | Dynamically reconfigurable test measuring instrument | |
CN106406154B (en) | debugging system and control method thereof | |
CN103049214B (en) | Magnetic disc array card and there is the disc array system of extended function | |
CN101470650A (en) | Method and apparatus for checking computer mainboard | |
CN104346208A (en) | Emulator system and emulation chip |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140326 |
|
WD01 | Invention patent application deemed withdrawn after publication |