CN102467092A - Communication control method of computer and measuring instrument and system thereof - Google Patents
Communication control method of computer and measuring instrument and system thereof Download PDFInfo
- Publication number
- CN102467092A CN102467092A CN2010105348959A CN201010534895A CN102467092A CN 102467092 A CN102467092 A CN 102467092A CN 2010105348959 A CN2010105348959 A CN 2010105348959A CN 201010534895 A CN201010534895 A CN 201010534895A CN 102467092 A CN102467092 A CN 102467092A
- Authority
- CN
- China
- Prior art keywords
- surveying instrument
- command set
- english alphabet
- control
- command
- 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
- User Interface Of Digital Computer (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a communication control method of a computer and a measuring instrument and a system thereof. The method comprises the following steps: a call step (S51): according to a selected measuring instrument model, calling a command set of a measuring instrument corresponding to the measuring instrument model; an automatic matching step (S52): according to an input instruction word, selecting a plurality of control commands comprising the instruction word from the command set; an execution step (S53): according to the control command selected from the control commands, generating a control signal of the measuring instrument. The system comprises a call part (81), an automatic matching part (82) and an execution part (83). According to the method and the system in the invention, a mnemonic prompt function is provided for a user, the user is helped to rapidly and accurately write a needed command, communication control efficiency of the measuring instrument is raised, and a memory problem to the command is solved.
Description
Technical field
The present invention relates to the control method and the system of a kind of computing machine and surveying instrument, particularly relate to the communicating control method and the system of a kind of computing machine and surveying instrument.
Background technology
In Industrial Engineering and education of science field, measuring testing tool all is indispensable basic tool in the links such as experiment, manufacturing production, test, and for example oscillograph, multimeter, frequency spectrograph, signal source all are the multimeters of using always.Along with the continuous development of science and technology, surveying instrument is also transformed to the digital measurement instrument by the analogue measurement instrument.Digitized surveying instrument has the not available advantage of a lot of analogue measurement instruments, for example is convenient to store, conveniently carry out data analysis and calculating, strong interference immunity or the like.In addition; The advantage that digital measuring instrument also has a uniqueness is exactly; It can be connected with computing machine easily, forms a measuring system, utilizes computing machine rich in natural resources and strong functions to come surveying instrument is controlled and measurement result is carried out more complex processing.
With reference to Fig. 1, present measuring system 1 comprises a computing machine 11 and at least one surveying instrument 12, and each surveying instrument 12 is connected with computing machine 11 through an interface 13.Computing machine 11 can be the equipment that PC (PC), server (server) or the client (client) that is connected to server etc. have data operation and processing capacity.Surveying instrument 12 is the equipment with data acquisition function and actual measurement function, for example is oscillograph, multimeter, frequency spectrograph, signal source, also can be to measure integrated circuit board, even can also be sensor etc.Interface 13 can be vxi bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth, and serial ports comprises USB interface, RS232 etc.
Because the diversity of interface 13, computing machine 11 generally all can mounting interface drivers 111, for example VISA (Virtual Instrument Software Architecture) drives, and is used to shield the difference that different interface 13 is brought.Computing machine 11 can carry out corresponding operation to surveying instrument 12 through order based on interface drive program 111.Different commands is used for surveying instrument 12 is carried out different operation; This operation comprise to the control of surveying instrument 12, to the parameter of surveying instrument 12 be configured, from surveying instrument 12 reading of data etc., be illustrated with SCPI (Standard Commands for Programmable Instruments) order here.
The SCPI order is various, and the user controls, measurement result is carried out various computings different surveying instrument 12 for ease, and computing machine 11 also comprises at least one application program.Application program can be based on interface drive program 111 and SCPI command set 112; Use programming language tools such as VC, VB, LabVIEW etc.; Develop completion by developer, user oneself or other people, be used for that 11 pairs of surveying instruments of control computer 12 carry out various operations and measurement data is handled etc.For example, with reference to Fig. 2, shown in Fig. 2 is that the order send window 21 at interface 2 is sent in the SCPI order of the disclosed application program of prior art of national instrument (NI) company; With reference to Fig. 3, shown in Fig. 3 is the order receive window 31 of SCPI order reception interface 3 of the disclosed application program of prior art of national instrument (NI) company.With reference to Fig. 4, shown in Fig. 4 is the SCPI order send window 41 and SCPI order receive window 42 of application interface 4 of the disclosed application program of prior art of Agilent (Agilent) company.
The application program that country instrument (NI) company and Agilent (Agilent) company provides difference but with regard to basic function, all provide input, transmission, the transmission of SCPI order to show, receive, basic functions such as reception demonstration to some extent on type of service.Use the method for these functions need take the SCPI Command Reference that instrument is supported, the order that inquiry needs in the SCPI Command Reference as required, manual then being input in the SCPI order input frame.
Though SCPI is a standard criterion, it has only stipulated to constitute the call format of SCPI order in order to guarantee its expansibility flexibly, and work is further ununified to the content function, so the SCPI command set between the different instruments of different vendor has nothing in common with each other.Remembering these orders is the very heavy things of part, and along with the reinforcement of instrumental function, old order maybe be no longer suitable, and new order meeting constantly increases.
The SCPI command set almost covers the most function of surveying instrument, has just grasped its most function and can realize the Long-distance Control surveying instrument so grasped the SCPI command set of a surveying instrument, uses the surveying instrument function fast.The SCPI command set is a kind of effective means that can the quick control instrument; But need be in the SCPI Command Reference in the above-mentioned prior art order that needs of inquiry; Manual then being input in the SCPI order input frame; Reduced the Communication Control efficient of surveying instrument lowly, increased the weight of memory burden order.
Summary of the invention
Low for solving prior art to the Communication Control efficient of surveying instrument, reach problem to the memory burden of order, the present invention provides the communicating control method of a kind of computing machine and surveying instrument, comprises the steps:
An invocation step: according to a surveying instrument model of selecting, call the command set with the corresponding surveying instrument of said surveying instrument model,
One matees step automatically: according to the instruction word of input, from said command set, select a plurality of control commands that comprise said instruction word,
Execution in step:, produce the control signal of said surveying instrument according to a control command of from said a plurality of control commands, selecting.
In one embodiment of the invention, said automatic coupling step according to the English alphabet of an input, is selected its first letter all control commands identical with said English alphabet from said command set.
In one embodiment of the invention, said automatic coupling step is according to the English alphabet string of an input, by selecting its first English alphabet string all control commands identical with said English alphabet string in the said command set.
In one embodiment of the invention, said automatic coupling step with the tabulation display mode, is selected described control command from said command set.
In one embodiment of the invention, said invocation step is called title and the corresponding command set of said surveying instrument model.
In one embodiment of the invention, said invocation step is called title and the identical command set of said surveying instrument model.
Low for solving prior art to the Communication Control efficient of surveying instrument, reach problem to the memory burden of SCPI order, the present invention also provides the communication control system of a kind of computing machine and surveying instrument, comprising:
One is called parts: be used for according to a surveying instrument model of selecting, call the command set with the corresponding surveying instrument of said surveying instrument model,
An automatic matching block: be used for instruction word, from said command set, select a plurality of control commands that comprise said instruction word according to input,
Execution unit: be used for the control command that foundation is selected from said a plurality of control commands, produce the control signal of said surveying instrument.
In one embodiment of the invention, said automatic matching block is used for the English alphabet according to an input, from said command set, selects its first letter all control commands identical with said English alphabet.
In one embodiment of the invention, said automatic matching block is used for the English alphabet string according to an input, by selecting its first English alphabet string all control commands identical with said English alphabet string in the said command set.
In one embodiment of the invention, said automatic matching block is used for from said command set, selecting described control command with the tabulation display mode.
In one embodiment of the invention, the said parts that call are used to call title and the corresponding command set of said surveying instrument model.
In one embodiment of the invention, the said parts that call are used to call title and the identical command set of said surveying instrument model.
The communicating control method of computing machine of the present invention and surveying instrument and system have following beneficial effect at least:
Owing to when input command, the mnemonic(al) prompt facility is provided to the user, help the order that the user fills in rapidly and accurately to be needed, improved Communication Control efficient to surveying instrument, solved a memory difficult problem to order.
Description of drawings
Fig. 1 is the modular structure synoptic diagram of present measuring system 1
Fig. 2 is that the synoptic diagram at interface 2 is sent in the SCPI order of the disclosed application program of national instrument (NI) company
Fig. 3 is the synoptic diagram of the SCPI order reception interface 3 of the disclosed application program of national instrument (NI) company
Fig. 4 is the synoptic diagram of the application interface 4 of the disclosed application program of Agilent (Agilent) company
Fig. 5 is the process flow diagram 5 of the communicating control method of computing machine of the present invention and surveying instrument
Fig. 6 is the synoptic diagram of application interface 6 of application program of first embodiment of the communicating control method of computing machine of the present invention and surveying instrument
Fig. 7 is the synoptic diagram of application interface 7 of application program of first embodiment of the communicating control method of computing machine of the present invention and surveying instrument
Fig. 8 is the synoptic diagram 8 of the communication control system of computing machine of the present invention and surveying instrument
Fig. 9 is the synoptic diagram of application interface 9 of application program of second embodiment of the communicating control method of computing machine of the present invention and surveying instrument
Figure 10 is the synoptic diagram at interface 10 of application program of second embodiment of the communicating control method of computing machine of the present invention and surveying instrument
Embodiment
Introduce embodiment of the present invention below in conjunction with accompanying drawing
With reference to Fig. 5; Process flow diagram 5 comprises an invocation step S51, an automatic coupling step S52, an execution in step S53; Invocation step S51: according to a surveying instrument model of selecting; Call the command set with the corresponding surveying instrument of said surveying instrument model, mate step S52 automatically:, from said command set, select a plurality of control commands that comprise said instruction word according to the instruction word of input; Execution in step S53:, produce the control signal of said surveying instrument according to a control command of from said a plurality of control commands, selecting.In conjunction with Fig. 6, when opening application interface 6, system has obtained the current surveying instrument model that is connected with computing machine automatically, and for example the surveying instrument model of this moment is BS123, and at this moment, application program will be called the command set identical with the BS123 title.As illustrating; Also can call and the corresponding command set of BS123 title; Such as, during claiming, the call instruction set name comprises the command set of BS123, comprise the command set of BS during perhaps the call instruction set name is claimed; How corresponding command set is with the surveying instrument model, depends on to call preceding setting to the command set title.With reference to Fig. 7, English alphabet of input in order input window 61, for example W with the tabulation display mode, finds out the first letter all control commands identical with English alphabet W in said command set.Search procedure is searched in command set exactly from front to back one by one, as illustrating, also can search one by one to preceding from ordering to concentrate from the back, as illustrating, also can search one by one to both sides from the centre of command set.In the first letter all control commands identical with English alphabet W; Select an order of wanting; For example want to choose order ": WAVeform:FORmat? " Just order in the tabulation mid point ": WAVeform:FORmat? ", this moment, application program produced a control signal to surveying instrument immediately.
As illustrating, also can in order input window 61, import an English alphabet string, in said command set, find out first English alphabet string all control commands identical again with said English alphabet string.
With reference to Fig. 8, the present embodiment control system comprises that one is called the automatic matching block of parts 81,82, an execution unit 83.Call parts 81: be used for according to a surveying instrument model of selecting; Call command set with the corresponding surveying instrument of said surveying instrument model; Automatic matching block 82: be used for instruction word according to input; From said command set, select a plurality of control commands that comprise said instruction word, execution unit 83: be used for the control command that foundation is selected from said a plurality of control commands, produce the control signal of said surveying instrument.
Automatically matching block 82 is used for the English alphabet according to an input, from said command set, selects its first letter all control commands identical with said English alphabet.Automatically matching block 82 is used for the English alphabet string according to an input, by selecting its first English alphabet string all control commands identical with said English alphabet string in the said command set.Automatically matching block 82 is used for from said command set, selecting described control command with the tabulation display mode.Call parts 81, be used to call title and the corresponding command set of said surveying instrument model.Call parts 81, be used to call title and the identical command set of said surveying instrument model.
With reference to Fig. 9, when needs are changed or add the command set database, the Base of status bar among Fig. 6 63 is switched to Advanced; Application interface 9 just occurred, interpolation hurdle 91 is changed in the order of clicking in the application interface 9, interface shown in Figure 10 10 will occur; Clicking BS123.rscpi both can add the command set database that name is called BS123.rscpi in the system to; Combine Fig. 6 again, when opening application interface 6, system has obtained the current surveying instrument model BS123 that is connected with computing machine automatically; At this moment, application program will be called the command set identical with the BS123 title.With reference to Fig. 7, English alphabet of input in order input window 61, for example W with the tabulation display mode, finds out the first letter all control commands identical with English alphabet W in said command set.In the first letter all control commands identical with English alphabet W; Select an order of wanting; For example want to choose order ": WAVeform:FORmat? " Just order in the tabulation mid point ": WAVeform:FORmat? ", this moment, application program produced a control signal to surveying instrument immediately.
The present invention provides the mnemonic(al) prompt facility to the user when input command, help the order that the user fills in rapidly and accurately to be needed, and has improved the Communication Control efficient to surveying instrument, has solved the memory difficult problem to order.Especially solved the problem that is difficult to remember for the different instrument orders of different vendor.Make the user when using different instrument, can realize the quick typing operation of ordering easily.Can support the use rapidly and efficiently of any manufacturer, any model instrument, reduce user's use cost, improve user's use accuracy.
Though described embodiment of the present invention in conjunction with accompanying drawing, those of ordinary skills can make various distortion and modification within the scope of the appended claims.
Claims (12)
1. the communicating control method of computing machine and surveying instrument is characterized in that, comprises the steps:
An invocation step: according to a surveying instrument model of selecting, call the command set with the corresponding surveying instrument of said surveying instrument model,
One matees step automatically: according to the instruction word of input, from said command set, select a plurality of control commands that comprise said instruction word,
Execution in step:, produce the control signal of said surveying instrument according to a control command of from said a plurality of control commands, selecting.
2. method according to claim 1 is characterized in that, said automatic coupling step according to the English alphabet of an input, is selected its first letter all control commands identical with said English alphabet from said command set.
3. method according to claim 1 is characterized in that, said automatic coupling step is according to the English alphabet string of an input, by selecting its first English alphabet string all control commands identical with said English alphabet string in the said command set.
4. according to claim 2 or 3 described methods, it is characterized in that said automatic coupling step with the tabulation display mode, is selected described control command from said command set.
5. according to claim 2 or 3 described methods, it is characterized in that said invocation step is called title and the corresponding command set of said surveying instrument model.
6. according to claim 2 or 3 described methods, it is characterized in that said invocation step is called title and the identical command set of said surveying instrument model.
7. the communication control system of computing machine and surveying instrument is characterized in that, comprising:
One is called parts: be used for according to a surveying instrument model of selecting, call the command set with the corresponding surveying instrument of said surveying instrument model,
An automatic matching block: be used for instruction word, from said command set, select a plurality of control commands that comprise said instruction word according to input,
Execution unit: be used for the control command that foundation is selected from said a plurality of control commands, produce the control signal of said surveying instrument.
8. system according to claim 1 is characterized in that, said automatic matching block is used for the English alphabet according to an input, from said command set, selects its first letter all control commands identical with said English alphabet.
9. system according to claim 1 is characterized in that, said automatic matching block is used for the English alphabet string according to an input, by selecting its first English alphabet string all control commands identical with said English alphabet string in the said command set.
10. according to claim 2 or 3 described systems, it is characterized in that said automatic matching block is used for from said command set, selecting described control command with the tabulation display mode.
11., it is characterized in that the said parts that call are used to call title and the corresponding command set of said surveying instrument model according to claim 2 or 3 described systems.
12., it is characterized in that the said parts that call are used to call title and the identical command set of said surveying instrument model according to claim 2 or 3 described systems.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010534895.9A CN102467092B (en) | 2010-11-03 | 2010-11-03 | The communicating control method of computing machine and surveying instrument and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010534895.9A CN102467092B (en) | 2010-11-03 | 2010-11-03 | The communicating control method of computing machine and surveying instrument and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102467092A true CN102467092A (en) | 2012-05-23 |
CN102467092B CN102467092B (en) | 2016-04-06 |
Family
ID=46070830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010534895.9A Active CN102467092B (en) | 2010-11-03 | 2010-11-03 | The communicating control method of computing machine and surveying instrument and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102467092B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1829127A (en) * | 2006-04-20 | 2006-09-06 | 北京星河亮点通信软件有限责任公司 | Method for building communication terminal test instrumentation control platform based on microkernel |
CN101539836A (en) * | 2009-04-30 | 2009-09-23 | 广东国笔科技股份有限公司 | Human-machine interface interactive system and method |
CN101799764A (en) * | 2009-12-31 | 2010-08-11 | 芯通科技(成都)有限公司 | Realization method of instrument module common port |
-
2010
- 2010-11-03 CN CN201010534895.9A patent/CN102467092B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1829127A (en) * | 2006-04-20 | 2006-09-06 | 北京星河亮点通信软件有限责任公司 | Method for building communication terminal test instrumentation control platform based on microkernel |
CN101539836A (en) * | 2009-04-30 | 2009-09-23 | 广东国笔科技股份有限公司 | Human-machine interface interactive system and method |
CN101799764A (en) * | 2009-12-31 | 2010-08-11 | 芯通科技(成都)有限公司 | Realization method of instrument module common port |
Also Published As
Publication number | Publication date |
---|---|
CN102467092B (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Jerome | Virtual instrumentation using LabVIEW | |
US7703032B2 (en) | Binding a GUI element to live measurement data | |
CN102722440B (en) | A kind of debugging apparatus of embedded system executable code, adjustment method and embedded system | |
CN106155906B (en) | A kind of bank's host close beta system and method | |
CN104751690A (en) | Automatic analog electronic technology experiment data testing and correcting system and method thereof | |
CN102455701B (en) | Programmable logic controller (PLC) automatic testing platform using programmable relay structure | |
CN107042513B (en) | Machining robot system | |
CN103218940B (en) | Novel intelligent electronic teaching testing system | |
CN113068452B (en) | Method for constructing software development platform of automatic test system | |
CN106093897B (en) | A kind of the test system and test method of radar system | |
CN103257277A (en) | Multifunctional virtual instrument based on constant flow source and control method | |
CN201392602Y (en) | Program control instrument virtual experiment system with network control and management functions | |
CN101930065A (en) | Automatic detection method of multifunctional electric meter | |
CN110749814A (en) | Automatic testing system and method for chip IC sample | |
CN102467372B (en) | One kind measurement resource control system and measurement resource control method | |
CN102467092A (en) | Communication control method of computer and measuring instrument and system thereof | |
CN117146874A (en) | Auxiliary measurement display device, computer program product, measurement server, measurement system and method | |
CN102467090B (en) | A kind of measurement resource control method and measurement resource control system | |
CN102467369B (en) | Measurement resource control system and measurement resource control method | |
CN114062887B (en) | Quantum chip testing method, device and system and storage medium | |
Postina et al. | Gap analysis of application landscapes | |
Xuewu et al. | Design and implementation of data acquisition system based on Agilent 3458A | |
Chen et al. | Design of automatic hydraulic test bench based on LabVIEW | |
CN107250933B (en) | Positioning control device | |
CN102075261A (en) | Method and system for automatically testing millimeter-wave front end |
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 |