CN102467090A - Measurement resource control method and measurement resource control system - Google Patents

Measurement resource control method and measurement resource control system Download PDF

Info

Publication number
CN102467090A
CN102467090A CN2010105455768A CN201010545576A CN102467090A CN 102467090 A CN102467090 A CN 102467090A CN 2010105455768 A CN2010105455768 A CN 2010105455768A CN 201010545576 A CN201010545576 A CN 201010545576A CN 102467090 A CN102467090 A CN 102467090A
Authority
CN
China
Prior art keywords
surveying instrument
instrument
control
surveying
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
Application number
CN2010105455768A
Other languages
Chinese (zh)
Other versions
CN102467090B (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.)
Rigol Technologies Inc
Original Assignee
Rigol Technologies Inc
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 Rigol Technologies Inc filed Critical Rigol Technologies Inc
Priority to CN201010545576.8A priority Critical patent/CN102467090B/en
Publication of CN102467090A publication Critical patent/CN102467090A/en
Application granted granted Critical
Publication of CN102467090B publication Critical patent/CN102467090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention discloses a measurement resource control method and a measurement resource control system. The measurement resource control system is used for controlling a plurality of measuring instruments and comprises a measuring instrument connecting part, an input part, a control command query part and an instrument control part, wherein the measuring instrument connecting part is used for establishing connection with the measuring instruments; the input part is used for selecting at least one instrument from the measuring instruments as a selected measuring instrument and inputting a control item; the control command query part is used for querying one control command corresponding to the selected measuring instrument and the control item from a control command database according to the selected measuring instrument and the control item; and the instrument control part is used for transmitting the control command to the selected measuring instrument. The measurement resource control method and the measurement resource control system disclosed by the invention can be used for carrying out same control operations for different measuring instruments, so that the control operation for the measuring instruments is more convenient.

Description

A kind of measurement resource control method and measurement resource control system
Technical field
The present invention relates to a kind of measurement resource control system and measure resource control method, particularly relate to a kind of run on computing machine, be used to manage the measurement resource control system of a plurality of surveying instruments and the measurement resource control method of employing thereof.
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.
Because above-mentioned advantage, the measuring system of being made up of computing machine and surveying instrument is by extensive studies and development.What deserves to be mentioned is,, make surveying instrument such as oscillograph in measuring system, only play the effect of data acquisition, and data processing of itself and Presentation Function become a kind of waste because computing machine possesses powerful data processing and Presentation Function.Therefore, measuring integrated circuit board gives birth to therefrom.Measure integrated circuit board and also be considered to be a kind of surveying instrument, different with oscillograph etc. is, it only possesses the effect of data acquisition, and itself does not carry out the processing or the demonstration of data.In use; Measuring integrated circuit board generally need be plugged on the IO interface of computing machine; For example, the measurement integrated circuit board can pass through VXI (VME extensions for Instrumentation) bus, PXI (PCI extensions for Instrumentation) bus, GPIB (General Purpose Interface Bus) and computer by serial (serial port) or parallel port (parallel port) is connected with computing machine.
Can know that according to above-mentioned introduction please with reference to Fig. 1, present measuring system 1 comprises a computing machine 11 and at least one surveying instrument 12, 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, can be surveying instrument, 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 drives, and is used to shield the difference that different interface 13 is brought.Computing machine 11 can pass on various command to carry out corresponding operation to surveying instrument 12 based on interface drive program 111 through normalized SCPI command set 112.SCPI command set 112 comprises many SCPI order, and different SCPI orders are 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.
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 14.Application program 14 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, please with reference to Fig. 2, shown in Fig. 2 is the display interface 1490 that is applied to the application program of the disclosed frequency spectrograph of a kind of prior art.Display interface 1490 has a plurality of input windows 1491, and the user can import the various operations to surveying instrument 12 through input window 1491 easily, and replaces directly sending the SCPI order to surveying instrument 12; Display interface 1490 also has a waveform display window 1492, is used for the form of figure line computing machine 11 being shown from the measurement data that surveying instrument 12 obtains.
Please with reference to Fig. 3, computing machine 11 comprises CPU114, internal memory 115, hard disk 116 and bus 117.CPU114, internal memory 115, hard disk 116 are connected with bus 117 respectively, and accomplish communication through bus 117.Application program 14 is a kind of executable programs, not by operation the time, is to be stored in the hard disk 116 usually.Be called and when moving, after the user opened the instruction of this application program 14 through the operating system input of computing machine 11, this application program 14 was loaded in the middle of the internal memory 115, just can be carried out by CPU114.
But because SCPI command set that each company developed and incompatible, therefore, two application programs 14 that the function of different company's exploitation is identical are owing to be based on SCPI command set separately, and are therefore also incompatible.This just causes, and the user need use the application program of A company exploitation to come the oscillograph that A company produces is for example grabbed the screen operation, and needs to use the application program of B company exploitation to come the oscillograph that B company produces is for example grabbed the screen operation, by that analogy.Under a lot of situation; User's computer has connected many surveying instruments based on different SCPI command sets that different company produces; If the user need carry out same operation to all surveying instruments, for example grab the screen operation, just have to open one by one the pairing application program of each surveying instrument; And operate each application program one by one and realize so very shirtsleeve operation of script, therefore traditional application program uses comparatively inconvenience.
Summary of the invention
Use and a plurality of surveying instruments to be carried out same operation need open a plurality of application programs and cause awkward problem in order to solve prior art, the present invention provides a kind of and can carry out identical control operation and make operation measure resource control system comparatively easily a plurality of surveying instruments.
Simultaneously, the present invention also provides the measurement resource control method that said measurement resource control system is adopted.
A kind of measurement resource control system is used to control a plurality of surveying instruments, and said measurement resource control system comprises: a surveying instrument link is used for connecting with a plurality of surveying instruments; An input block is used for selecting at least one as selected surveying instrument from said a plurality of surveying instruments, and imports a control item; Control command inquiry parts are used for according to said selected surveying instrument and said control item, and inquiry obtains the control command of a said selected surveying instrument of correspondence and said control item in a control command data storehouse; An instrument control assembly is used for said control command is sent to said selected surveying instrument.
Measure in the embodiment of resource control system in the present invention, said control command data storehouse comprise a plurality of control items and with the corresponding keyword of said a plurality of control items, the surveying instrument of the corresponding control of said control item represented in said keyword.
Measure in the embodiment of resource control system in the present invention, said surveying instrument link comprises: a surveying instrument is searched parts, is used to produce the said original address of said surveying instrument; A surveying instrument identification component is used for sending order according to said original address to said surveying instrument, obtains the instrument essential information of said surveying instrument, produces corresponding instrument sign according to said instrument essential information; Surveying instrument list producing parts are used to produce a surveying instrument tabulation, and said surveying instrument tabulation demonstrates said surveying instrument with said instrument sign.
Measure in the embodiment of resource control system in the present invention; Said input block comprises: a surveying instrument alternative pack; Be used for selecting at least one as selected surveying instrument, and obtain the term of the said selected surveying instrument of expression according to the instrument essential information of said selected surveying instrument from said a plurality of surveying instruments; A control item input block is used to import a control item.
Measure in the embodiment of resource control system in the present invention; Said control command inquiry parts comprise: a searching part; Be used for according to said term and said control item the inquiry keyword identical in said control command data storehouse with said term; A decision means is used to judge whether to retrieve the keyword identical with said term, if retrieved, then extracts the pairing control command of keyword that retrieves, if do not retrieve, then imports a control command; Study parts are used for the control command of described importing is saved to said control command data storehouse, and said term are saved to said control command data storehouse as the keyword of correspondence.
A kind of measurement resource control method is used to control a plurality of surveying instruments, and said measurement resource control method comprises: a surveying instrument Connection Step connects with a plurality of surveying instruments; An input step is selected at least one as selected surveying instrument from said a plurality of surveying instruments, and is imported a control item; A control command query steps, according to said selected surveying instrument and said control item, inquiry obtains the control command of a said selected surveying instrument of correspondence and said control item in a control command data storehouse; An instrument controlled step is sent to said selected surveying instrument with said control command.
Measure in the embodiment of resource control method in the present invention, said control command data storehouse comprise a plurality of control items and with the corresponding keyword of said a plurality of control items, the surveying instrument of the corresponding control of said control item represented in said keyword.
Measure in the embodiment of resource control method in the present invention, said surveying instrument Connection Step comprises: a surveying instrument finding step produces the said original address of said surveying instrument; A surveying instrument identification step sends order according to said original address to said surveying instrument, obtains the instrument essential information of said surveying instrument, produces corresponding instrument sign according to said instrument essential information; A surveying instrument list producing step produces a surveying instrument tabulation, and said surveying instrument tabulation demonstrates said surveying instrument with said instrument sign.
Measure in the embodiment of resource control method in the present invention; Said input step comprises: a surveying instrument is selected step; From said a plurality of surveying instruments, select at least one as selected surveying instrument, and obtain the term of the said selected surveying instrument of expression according to the instrument essential information of said selected surveying instrument; A control item input step is imported a control item.
Measure in the embodiment of resource control method in the present invention, said control command query steps comprises: a searching step, and according to said term and said control item, the inquiry keyword identical in said control command data storehouse with said term; A determining step judges whether to retrieve the keyword identical with said term, if retrieved, then extracts the pairing control command of keyword that retrieves, if do not retrieve, then imports a control command; A learning procedure is saved to said control command data storehouse with the control command of described importing, and said term is saved to said control command data storehouse as the keyword of correspondence.
Measurement resource control system of the present invention has following beneficial effect at least with the measurement resource control method:
Measurement resource control system of the present invention and measurement resource control method; Owing to set up the control command data storehouse; Therefore the present invention measures resource control system and can be directed against different surveying instruments; The corresponding different commands of retrieval is accomplished different surveying instruments is carried out identical control operation in the control command data storehouse, and it is comparatively convenient to make the control operation of a plurality of surveying instruments.
In addition; Measure resource control system and also possess the self-teaching function with the measurement resource control method; Be the order that do not have of control command data storehouse can be in the process that the user manually imports by " self-teaching " in the control command data storehouse; Like this, make that order and corresponding keyword and the control item in the control command data storehouse obtained expansion, enrich gradually to guarantee the control operation function of measuring resource control system.
Description of drawings
Fig. 1 is a kind of modular structure synoptic diagram of traditional measuring system.
Fig. 2 is a kind of display interface synoptic diagram of existing application program.
Fig. 3 is a kind of modular structure synoptic diagram of traditional calculating machine.
Fig. 4 is that the present invention measures the modular structure synoptic diagram that resource control system first embodiment is applied to a measuring system.
Fig. 5 is the structural representation of the computing machine that measuring system adopted among Fig. 4.
Fig. 6 comprises a plurality of command sets of order and the synoptic diagram of surveying instrument matching relationship.
Fig. 7 is that the present invention measures the flow chart of steps of carrying out when resource control system first embodiment is worked.
Fig. 8 is the display interface synoptic diagram that the present invention measures resource control system first embodiment.
Fig. 9 is the surface chart that the present invention measures the gpib interface parameter setting of resource control system first embodiment.
Figure 10 is the surface chart that the present invention measures the RS232 interface parameters setting of resource control system first embodiment.
Figure 11 is the display interface figure that the present invention measures the on-line instrument tabulation of resource control system first embodiment.
Figure 12 is the synoptic diagram that the present invention measures function menu in resource control system first embodiment.
Figure 13 is the synoptic diagram that the present invention measures control command data storehouse in resource control system first embodiment.
Figure 14 is the module diagram that the present invention measures resource control system first embodiment.
Embodiment
Introduce first embodiment that the present invention measures resource control system below.
Please refer to Fig. 4, measure resource control system 4 and be applied in the measuring system 2.Measuring system 2 comprises a plurality of measurement resources 20 and the measurement resource control system 4 that is used to manage and control these a plurality of measurement resources 20.In this embodiment, these a plurality of measurement resources 20 are a plurality of surveying instruments 22, comprise surveying instrument 221,222,223,224.In other embodiment, these a plurality of measurement resources 20 comprise a plurality of surveying instruments and a plurality of application resource, and this application resource can be application program in one embodiment.
Surveying instrument 22 is the equipment with data acquisition function, can be oscillograph, multimeter, frequency spectrograph, signal source, also can be to measure integrated circuit board, even can also be sensor etc.Measuring resource control system 4 is realized by computing machine and operation measurement resource control system software on computers.Computing machine can be the equipment that PC, panel computer, server or the client that is connected to server etc. have data operation and processing capacity.Surveying instrument 22 is connected with measurement resource control system 4 through interface, and interface can be vxi bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth.
Please with reference to Fig. 5, in the middle of this embodiment, the computing machine 41 that measurement resource control system 4 is adopted comprises CPU414, internal memory 415, storer 416, bus 417, display screen 418 and peripheral hardware 419.CPU414, internal memory 415, storer 416 are connected with bus 417 respectively; Display screen 418 is connected with bus 417 through video card 419; Peripheral hardware 419 links to each other with bus 417 through various interface, and CPU414, internal memory 415, storer 416, display screen 418 and peripheral hardware 419 are accomplished through bus 417 and communicated by letter.Storer 416 is made up of hard disk, can also be flash memory, CD, disk etc. certainly.Peripheral hardware 419 comprises mouse, keyboard etc.
Please with reference to Fig. 6, in this embodiment, surveying instrument the 221,222,223, the 224th, different surveying instruments; Surveying instrument 221 is supported first command set; Surveying instrument 222 is supported second command set, and surveying instrument 223 is supported the 3rd command set, and surveying instrument 224 is supported the 4th command set.Order in the command set is sent to corresponding surveying instrument just can be operated by measuring equipment accordingly.In first command set first order is used for measuring equipment 221 and grabs the screen operation; In second command set second order is used for measuring equipment 222 and grabs the screen operation; In the 3rd command set the 3rd order is used for measuring equipment 223 and grabs the screen operation, and the order of the 4th in the 4th command set is used for measuring equipment 224 and grabs the screen operation.Simultaneously, each command set also comprises other orders that are used to realize other control operations.
The measurement resource control system 4 of first embodiment can be accomplished the screen of grabbing of surveying instrument 221,222,223,224 is operated under the situation of not opening surveying instrument 221,222,223,224 corresponding application program.Below just in detail introduce and measure resource control system 4 and how to accomplish.
Please, measure resource control system 4 and carry out following steps with reference to Fig. 7:
Step S11, surveying instrument Connection Step connect with a plurality of surveying instruments.Wherein, step S11 comprises step S111, step S112 and step S113:
Step S111, instrument finding step: the said original address that produces said surveying instrument;
The work of step S111 comprises the original searching work of accomplishing instrument resource, promptly find 41 that be connected with computing machine, be in the surveying instrument 22 that (is also referred to as presence) under the open state, and obtain an original address.Because surveying instrument 22 can link to each other with computing machine 41 through different interfaces, therefore to different interfaces, its obtain manner of searching mode and original address also is not quite similar.
Type of service according to interface is divided three classes the mode of searching: the first kind: search automatically, the plug and play mode triggers finding step, for example the USB-TMC interface; Second type: semi-automatic searching needs manual triggers finding step or configure trigger condition to trigger finding step, for example the LAN-VX-11 interface; The 3rd type: manually search, the mode that connects instrument through the input configuration data realizes searching, for example the RS232 interface.
For searching automatically; With the USB-TMC interface is the example explanation; Be based on Universal Serial Bus Test and Measurement Class Specification (USBTMC) and Universal Serial Bus Test and Measurement Class, Subclass USB488 Specification (USBTMC-USB488).Surveying instrument 22 connects computing machine 41 back operation systems (for example Windows) can be its installing drive (Windows Vista and 7 can install automatically, and other versions need manual installation).After accomplishing drive installation; Measure the action triggers that the measured instrument 22 of resource control system 4 meetings connects computing machines 41; The USB-TMC that measurement resource control system 4 calls VISA searches the address information that function obtains the USB-TMC interface, and this address information is exactly this original address.
Searching for semi-automatic, is example explanation with the LAN interface, is based on searching of LAN interface instrument that VX-11 agreement and mDNS agreement accomplish.Because there are two cover agreements on existing LAN interface upper strata and deposit (VX-11 and mDNS) so its mode of searching is had two covers.
For VX-11 interface instrument, the mode of searching is accepted the response of this message within a certain period of time for searching message to inner transmission of LAN, and the IP of response is regarded as surveying instrument to be determined, and the IP of this response constitutes this original address.Please with reference to Fig. 8, have " LAN " button 140 on the display interface of measurement resource control system 4, the user should trigger step S11 by " LAN " button 140 through clicking.
To with mDNS interface instrument (satisfy this agreement and also satisfy the VX-11 agreement); The instrument of mDNS interface is supporting also to support the mode of searching based on mDNS on the above-mentioned basis of searching mode; Promptly when satisfying the equipment access network of mDNS agreement, measure resource control system 4 and can receive the connection request report of this equipment; Measure resource control system 4 and obtain this resource information through this report, this resource information constitutes this original address.Measure resource control system 4 and also comprise a regularly online situation authentication function of resource, can remove this surveying instrument 22 automatically if there is mDNS equipment to break off connection measurement resource control system 4.
For manually searching, be the example explanation with the gpib interface, be based on searching of IEEE488.1 and IEEE488.2 agreement completion.Please with reference to Fig. 9, the user connects instrument through input GPIB parameter in window 150, and the parameter of input constitutes this original address 151.
For manually searching, be the example explanation with the RS232 interface, be based on searching that EIA 232 standards accomplish.Please with reference to Figure 10, the user connects instrument through input RS232 parameter in window 160, and the parameter of input constitutes this original address.
Step S112, instrument Connection Step: send order according to said original address to said surveying instrument, obtain the instrument essential information of said surveying instrument, produce said instrument sign according to said instrument essential information.
Measure resource control system 4 and connect instrument according to this original address, carry out communication with this instrument, the content of communication is to send the SCPI order to surveying instrument 22, promptly " * IDN? " Order.This order is the basic command in the SCPI standard, to certain original address sends " * IDN? " Order and can not respond this order thinks that promptly this original address is unusual, then is not identified as surveying instrument 22 thereby refuses record, otherwise promptly by record.At " * IDN? " Can obtain the instrument essential information in the return data of order; This instrument essential information has the form of SCPI standard definition; Resolve this instrument essential information and can obtain corresponding trade name and be, instrument model name, instrument sequence number, instrument version number etc., and with at least a portion of this instrument essential information instrument sign as this surveying instrument 22.
For example: the original address that step S11 produces is: USB0::0x0400::0x09C4::DSA1A113600019::INSTR; Step S12 then sends to original address USB0::0x0400::0x09C4::DSA1A113600019::INSTR: " * IDN? " The instrument essential information that meets with a response: " XXXX; DSA1030A, DSA1A113600019,00.01.03.01.01 ".Obtain " manufacturer's information: " XXXX ", " model name: DSA1030A " etc. through resolving this instrument essential information.
Please, in this embodiment, measure resource control system 4 with the instrument sign 220 of this type information as this surveying instrument 22 with reference to Figure 11.For example, the original address in the previous example is: the instrument of the surveying instrument 22 of USB0::0x0400::0x09C4::DSA1A113600019::INSTR is designated " DSA1030A ".Again for example, the instrument of another surveying instrument sign 220 is " DS1204B ".In other embodiments, this instrument sign can also comprise trade name in this instrument essential information, instrument sequence number, instrument version number etc., perhaps can also comprise this original address.
Step S113, surveying instrument list producing step: produce a surveying instrument tabulation, said surveying instrument tabulation demonstrates said surveying instrument with said instrument sign.
Please with reference to Figure 11; Measure resource control system 4 and on display interface, produce an on-line instrument tabulation 410; On-line instrument tabulation 410 comprises whole instrument signs 220 that step S11 produces; Why adopt instrument sign 220 to represent the advantage of a surveying instrument to be: only represent surveying instrument very not directly perceived with original address, the user is difficult to remember what surveying instrument which original address represents.For example the instrument among Figure 11 sign " DS1204B ", " DSA1030A " demonstrate very intuitively be connected with computing machine 41 which surveying instrument 22 all arranged.Each instrument identifies 220 unique correspondences and a surveying instrument that has connected 22, and each also unique correspondence of 220 while of instrument sign an original address.
Step S12, input step are selected at least one as selected surveying instrument from said a plurality of surveying instruments, and are imported a control item.Wherein, step S12 comprises step S121 and S122:
Step S121, surveying instrument are selected step, from said a plurality of surveying instruments, select at least one as selected surveying instrument, and obtain the term of the said selected surveying instrument of expression according to the instrument essential information of said selected surveying instrument;
Please, measure the instrument selection instruction that resource control system 4 receives user's input, come from on-line instrument tabulation 410, to select an instrument sign 220 with reference to Figure 12.The user has selected instrument sign 220, has just selected corresponding surveying instrument 22 as selected surveying instrument.In this embodiment, the user imports this instrument selection instruction through the mode of 410 instrument sign 220 in the click on-line instrument tabulation, selected instrument sign 2201 for the surveying instrument of DSA1030A as selected surveying instrument.Certainly, the user can also import this instrument selection instruction through peripheral hardwares such as keyboards.
Measure resource control system 4 term of essential information acquisition according to selected surveying instrument, in this embodiment, this term is the model name of this selected surveying instrument.For example, instrument sign 2201 is exactly DSA1030A for the term of the surveying instrument of DSA1030A.
Step S122, control item input step are imported a control item.
Please with reference to Figure 12; In this embodiment; The user is through the right button of clicking the mouse on the instrument sign of choosing at mouse 2201; Can make measurement resource control system 4 set up a function menu 240, comprise a plurality of control items 2401,2402,2403 on the function menu 240, each control item 2401,2402,2403 is used to represent to carry out a kind of control of function to selected surveying instrument.The user for example selects control item 2401 through selecting a control item with mouse at function menu 240, and realizing importing will be to the operation of a control item of selected surveying instrument enforcement.
In other embodiment, a plurality of control items 2401,2402,2403 can be used as the lasting first-class user of treating of display interface that is presented at of several soft-key buttons and click selection, and need not to set up function menu 240.
Step S13, control command query steps, according to said selected surveying instrument and said control item, inquiry obtains the control command of a said selected surveying instrument of correspondence and said control item in a control command data storehouse.Step S13 comprises step S131, S132 and S133:
Step S131, searching step, according to said term and said control item, the inquiry keyword identical in said control command data storehouse with said term;
Please with reference to Figure 13; Measure in the resource control system 4 and have a control command data storehouse 43; The content in control command data storehouse 43 is a look-up table (Look Up Table), comprises embarking on journey into the content that row are arranged, and first row 431 are orders; This order not only comprises first to fourth order that is used to realize grabbing the screen function, also comprises other orders.Secondary series 432 be with first row 431 in the corresponding keyword of each line command, this keyword representes which kind of instrument the order of same row is used for controlling.In this embodiment, this keyword is the model name of the surveying instrument controlled of corresponding command.The 3rd row 433 be with first row 431 in the corresponding control item of each line command, each control item is represented the function that can control surveying instrument with the order of delegation.That is, order, keyword and the control item of each row all are corresponding.
For example, in this embodiment, first row, 441 first row 431 in control command data storehouse 43 are first orders, and first row, 441 secondary series 432 are DSA1030A, and first row 441 the 3rd row 433 are to grab screen; Second row, 442 first row 431 are second orders, and second row, 442 secondary series 432 are model name of the pairing surveying instrument of second command set, and second row 442 the 3rd row 433 are to grab screen; By that analogy.So, according to term and the control item that step S12 obtains, just can retrieve first order of first row, 441 first row 431.
In this embodiment, control command data storehouse 43 is 416 li of storeies that the form with file is kept at computing machine 41, be prone to lose because storer 416 is non-power-failures, so control command data storehouse 43 also is that non-power-failure is prone to lose.
In addition; What be worth explanation is; If the control operation to surveying instrument that measurement resource control system 4 is used to realize has only one, when for example only grabbing screen, control command data storehouse 43 need not to comprise the 3rd row 443 with regard to having only first row 441 with secondary series 442 again so.
Step S132, determining step judge whether to retrieve the keyword identical with said term, if retrieved, then extract the pairing control command of keyword that retrieves, if do not retrieve, then import a control command;
If term and control item according to step S12 obtains retrieve corresponding command in control command data storehouse 43, then extract this order and wait for next step application.If do not retrieve corresponding command in control command data storehouse 43, so, measure resource control system 4 and set up a user interface, the prompting user manually imports a newer command that is not documented in the control command data storehouse 43.In this embodiment, the mode that manually imports is to utilize keyboard input newer command in the window of user in user interface.In other embodiment, can also import this newer command by another file.
Step S133, learning procedure are saved to said control command data storehouse with the control command of described importing, and said term is saved to said control command data storehouse as the keyword of correspondence.
Measure resource control system 4 and in control command data storehouse 43, open up new delegation; The newer command that step S132 is imported is kept at first row; The term that step S12 is produced is kept at secondary series as keyword, and the control item that step S12 is produced is kept at the 3rd row.Like this, just accomplished the learning process to newer command, that is, when producing this term and control item through step S12 once more, step S131 just can retrieve corresponding command in control command data storehouse 43.
Step S14, instrument controlled step are sent to said selected surveying instrument with said control command.
The newer command that the order that step S132 is extracted perhaps imports is sent to selected surveying instrument, and like this, selected surveying instrument just can have been carried out corresponding control operation.
In an other embodiment, the user selects a plurality of surveying instruments as selected surveying instrument in step S121, in step S122, selects a steering order, for example grabs screen, hopes these a plurality of selected surveying instruments are grabbed the screen operation.In step S121, the essential information of measuring 4 these a plurality of selected surveying instruments of basis of resource control system obtains a plurality of terms so.In step S131, measure 4 corresponding these a plurality of terms of basis of resource control system and common control item and retrieve successively and a plurality of term corresponding command.
Please with reference to Figure 14, in order to realize above-mentioned steps, measurement resource control system 4 of the present invention comprises a surveying instrument link M11, an input block M12, a control command inquiry parts M13 and an instrument control assembly M14.Surveying instrument link M11 is used for connecting with a plurality of surveying instruments; Input block M12 is used for selecting at least one as selected surveying instrument from said a plurality of surveying instruments, and imports a control item; Control command inquiry parts M13 is used for according to said selected surveying instrument and said control item, and inquiry obtains the control command of a said selected surveying instrument of correspondence and said control item in a control command data storehouse; Instrument control assembly M14 is used for said control command is sent to said selected surveying instrument.
Surveying instrument link M11 comprises that a surveying instrument searches parts M111, a surveying instrument identification component M112 and a surveying instrument list producing parts M113.Surveying instrument is searched the said original address that parts M111 is used to produce said surveying instrument; Surveying instrument identification component M112 is used for sending order according to said original address to said surveying instrument, obtains the instrument essential information of said surveying instrument, produces corresponding instrument sign according to said instrument essential information; Surveying instrument list producing parts M113 is used to produce a surveying instrument tabulation, and said surveying instrument tabulation demonstrates said surveying instrument with said instrument sign.
Input block M12 comprises a surveying instrument alternative pack M121 and a control item input block M122.Surveying instrument alternative pack M121 is used for selecting at least one as selected surveying instrument from said a plurality of surveying instruments, and obtains the term of the said selected surveying instrument of expression according to the instrument essential information of said selected surveying instrument; Control item input block M122 is used to import a control item.
Control command inquiry parts M13 comprises a searching part M131, a decision means M132 and a study parts M133.Searching part M131 is used for according to said term and said control item, the inquiry keyword identical with said term in said control command data storehouse; Decision means M132 is used to judge whether to retrieve the keyword identical with said term, if retrieved, then extracts the pairing control command of keyword that retrieves, if do not retrieve, then imports a control command; Study parts M133 is used for the control command of described importing is saved to said control command data storehouse, and said term is saved to said control command data storehouse as the keyword of correspondence.
Measurement resource control system 4 of the present invention and measurement resource control method; Owing to set up control command data storehouse 43; Control command data storehouse 43 has not only comprised the order of a plurality of different command collection that are applicable to a plurality of different measuring instruments, also comprised corresponding with each order, be used for representing which kind of instrument keyword the order with delegation is used for controlling.Preferably; Also comprise corresponding with each order, as to be used for representing the function that to control surveying instrument with the order of delegation control item; Therefore the present invention measures resource control system 4 and can carry out identical control operation to different surveying instruments, and it is comparatively convenient to make the control operation of a plurality of surveying instruments.
In addition; Measure resource control system 4 and also possess the self-teaching function with the measurement resource control method; Be the order that do not have of control command data storehouse 43 can be in the process that the user manually imports by " self-teaching " in control command data storehouse 43; Like this, make that order and corresponding keyword and the control item in the control command data storehouse 43 obtained expansion, enrich gradually to guarantee the control operation function of measuring resource control system 4.
Above-mentioned embodiment has been described in realization in order to demonstrate the invention.But other variations of the present invention and modification are conspicuous to those skilled in the art, and any modification/variation in disclosed essence of the present invention and cardinal rule scope perhaps imitates conversion all to belong to claim protection domain of the present invention.

Claims (10)

1. measure resource control system for one kind, be used to control a plurality of surveying instruments, it is characterized in that said measurement resource control system comprises:
A surveying instrument link is used for connecting with a plurality of surveying instruments;
An input block is used for selecting at least one as selected surveying instrument from said a plurality of surveying instruments, and imports a control item;
Control command inquiry parts are used for according to said selected surveying instrument and said control item, and inquiry obtains the control command of a said selected surveying instrument of correspondence and said control item in a control command data storehouse;
An instrument control assembly is used for said control command is sent to said selected surveying instrument.
2. measurement resource control system according to claim 1 is characterized in that: said control command data storehouse comprise a plurality of control items and with the corresponding keyword of said a plurality of control items, the surveying instrument of the corresponding control of said control item represented in said keyword.
3. measurement resource control system according to claim 2 is characterized in that: said surveying instrument link comprises:
A surveying instrument is searched parts, is used to produce the said original address of said surveying instrument;
A surveying instrument identification component is used for sending order according to said original address to said surveying instrument, obtains the instrument essential information of said surveying instrument, produces corresponding instrument sign according to said instrument essential information;
Surveying instrument list producing parts are used to produce a surveying instrument tabulation, and said surveying instrument tabulation demonstrates said surveying instrument with said instrument sign.
4. measurement resource control system according to claim 3 is characterized in that: said input block comprises:
A surveying instrument alternative pack is used for selecting at least one as selected surveying instrument from said a plurality of surveying instruments, and obtains the term of the said selected surveying instrument of expression according to the instrument essential information of said selected surveying instrument;
A control item input block is used to import a control item.
5. measurement resource control system according to claim 4 is characterized in that: said control command inquiry parts comprise:
A searching part is used for according to said term and said control item, the inquiry keyword identical with said term in said control command data storehouse;
A decision means is used to judge whether to retrieve the keyword identical with said term, if retrieved, then extracts the pairing control command of keyword that retrieves, if do not retrieve, then imports a control command;
Study parts are used for the control command of described importing is saved to said control command data storehouse, and said term are saved to said control command data storehouse as the keyword of correspondence.
6. measure resource control method for one kind, be used to control a plurality of surveying instruments, it is characterized in that said measurement resource control method comprises:
A surveying instrument Connection Step connects with a plurality of surveying instruments;
An input step is selected at least one as selected surveying instrument from said a plurality of surveying instruments, and is imported a control item;
A control command query steps, according to said selected surveying instrument and said control item, inquiry obtains the control command of a said selected surveying instrument of correspondence and said control item in a control command data storehouse;
An instrument controlled step is sent to said selected surveying instrument with said control command.
7. measurement resource control method according to claim 6 is characterized in that: said control command data storehouse comprise a plurality of control items and with the corresponding keyword of said a plurality of control items, the surveying instrument of the corresponding control of said control item represented in said keyword.
8. measurement resource control method according to claim 7 is characterized in that: said surveying instrument Connection Step comprises:
A surveying instrument finding step produces the said original address of said surveying instrument;
A surveying instrument identification step sends order according to said original address to said surveying instrument, obtains the instrument essential information of said surveying instrument, produces corresponding instrument sign according to said instrument essential information;
A surveying instrument list producing step produces a surveying instrument tabulation, and said surveying instrument tabulation demonstrates said surveying instrument with said instrument sign.
9. measurement resource control method according to claim 8 is characterized in that: said input step comprises:
A surveying instrument is selected step, from said a plurality of surveying instruments, selects at least one as selected surveying instrument, and obtains the term of the said selected surveying instrument of expression according to the instrument essential information of said selected surveying instrument;
A control item input step is imported a control item.
10. measurement resource control method according to claim 9 is characterized in that: said control command query steps comprises:
A searching step, according to said term and said control item, the inquiry keyword identical in said control command data storehouse with said term;
A determining step judges whether to retrieve the keyword identical with said term, if retrieved, then extracts the pairing control command of keyword that retrieves, if do not retrieve, then imports a control command;
A learning procedure is saved to said control command data storehouse with the control command of described importing, and said term is saved to said control command data storehouse as the keyword of correspondence.
CN201010545576.8A 2010-11-16 2010-11-16 A kind of measurement resource control method and measurement resource control system Active CN102467090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010545576.8A CN102467090B (en) 2010-11-16 2010-11-16 A kind of measurement resource control method and measurement resource control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010545576.8A CN102467090B (en) 2010-11-16 2010-11-16 A kind of measurement resource control method and measurement resource control system

Publications (2)

Publication Number Publication Date
CN102467090A true CN102467090A (en) 2012-05-23
CN102467090B CN102467090B (en) 2016-08-10

Family

ID=46070829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010545576.8A Active CN102467090B (en) 2010-11-16 2010-11-16 A kind of measurement resource control method and measurement resource control system

Country Status (1)

Country Link
CN (1) CN102467090B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317616A (en) * 2014-10-13 2015-01-28 中国电子科技集团公司第四十一研究所 Data interaction method of signal generator based on Vx Works
CN105573927A (en) * 2015-12-17 2016-05-11 中国电子科技集团公司第四十一研究所 PXI equipment access method based on VISA (virtual instrument software architecture)
CN105302609B (en) * 2015-11-05 2018-10-16 中国电子科技集团公司第四十一研究所 Data resource configuring management method applied to measuring instrument

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0462409A (en) * 1990-06-30 1992-02-27 Mitsutoyo Corp Measurement assisting device
JPH04195201A (en) * 1990-11-22 1992-07-15 Hitachi Ltd Autonomously decentralized field bus system
CN1592200A (en) * 2003-05-28 2005-03-09 三星电子株式会社 Method and apparatus to remotely control electronic apparatuses over a network
CN101206625A (en) * 2006-12-22 2008-06-25 普天信息技术研究院 Data processing master control equipment, secondary equipment, system and method
CN101378554A (en) * 2007-08-30 2009-03-04 展讯通信(上海)有限公司 Method and apparatus for obtaining and updating base station position data
CN101539836A (en) * 2009-04-30 2009-09-23 广东国笔科技股份有限公司 Human-machine interface interactive system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0462409A (en) * 1990-06-30 1992-02-27 Mitsutoyo Corp Measurement assisting device
JPH04195201A (en) * 1990-11-22 1992-07-15 Hitachi Ltd Autonomously decentralized field bus system
CN1592200A (en) * 2003-05-28 2005-03-09 三星电子株式会社 Method and apparatus to remotely control electronic apparatuses over a network
CN101206625A (en) * 2006-12-22 2008-06-25 普天信息技术研究院 Data processing master control equipment, secondary equipment, system and method
CN101378554A (en) * 2007-08-30 2009-03-04 展讯通信(上海)有限公司 Method and apparatus for obtaining and updating base station position data
CN101539836A (en) * 2009-04-30 2009-09-23 广东国笔科技股份有限公司 Human-machine interface interactive system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317616A (en) * 2014-10-13 2015-01-28 中国电子科技集团公司第四十一研究所 Data interaction method of signal generator based on Vx Works
CN104317616B (en) * 2014-10-13 2018-06-19 中国电子科技集团公司第四十一研究所 A kind of signal generator data interactive method based on VxWorks
CN105302609B (en) * 2015-11-05 2018-10-16 中国电子科技集团公司第四十一研究所 Data resource configuring management method applied to measuring instrument
CN105573927A (en) * 2015-12-17 2016-05-11 中国电子科技集团公司第四十一研究所 PXI equipment access method based on VISA (virtual instrument software architecture)
CN105573927B (en) * 2015-12-17 2018-03-13 中国电子科技集团公司第四十一研究所 A kind of PXI device access methods based on VISA

Also Published As

Publication number Publication date
CN102467090B (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN102004952B (en) Measuring resource control system and measuring resource control method
US7350159B2 (en) Integrated diagnostic system
EP4046000A1 (en) Methods and systems for integrated development environment editor support with a single code base
CN111752843B (en) Method, apparatus, electronic device and readable storage medium for determining influence surface
WO2013191458A1 (en) License verification method and apparatus, and computer readable storage medium storing program therefor
CN102270133A (en) Method and equipment for showing status of page window
CN113010359B (en) Bus test system generation method, system, device and storage medium
JP2020021214A (en) Data management device, data management method, and data management program
CN101916208A (en) System and method for calling driver module in multithreading
CN102467090A (en) Measurement resource control method and measurement resource control system
CN102467372A (en) Measurement resource control system and measurement resource control method
CN208584525U (en) A kind of power station intelligence tool cabinet
CN110749814A (en) Automatic testing system and method for chip IC sample
CN112671614A (en) Associated system connectivity test method, system, device and storage medium
CN102467370B (en) Measure resource control system and measure resource control method
CN102467369A (en) Measurement resource control system and measurement resource control method
CN111740863A (en) Configuration method and system for intelligent distribution transformer terminal
JP2021086610A (en) Method and system for plant resource management and computer program product
CN116401421B (en) Chip test data query method, system, equipment and medium
CN102467368B (en) A kind of measurement resource control system and measurement resource control method
JP2001168862A (en) Network management method and system device
CN106027278A (en) Command generation method and information processing apparatus
CN102467371A (en) Measurement resource control method and measurement resource control system
EP3937024A1 (en) Control system, information processing device, and information processing program
JPH11108705A (en) File management 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