CN102467090B - A kind of measurement resource control method and measurement resource control system - Google Patents

A kind of measurement resource control method and measurement resource control system Download PDF

Info

Publication number
CN102467090B
CN102467090B CN201010545576.8A CN201010545576A CN102467090B CN 102467090 B CN102467090 B CN 102467090B CN 201010545576 A CN201010545576 A CN 201010545576A CN 102467090 B CN102467090 B CN 102467090B
Authority
CN
China
Prior art keywords
measuring instrument
instrument
control
control command
item
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.)
Active
Application number
CN201010545576.8A
Other languages
Chinese (zh)
Other versions
CN102467090A (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

Abstract

The invention discloses a kind of measurement resource control system and method, this system is used for controlling multiple measuring instrument, including measuring instrument connection member, is connected for setting up with multiple measuring instruments;Input block, for selecting at least one as selected measuring instrument from the plurality of measuring instrument, and inputs a control item;Control command inquiry parts, for according to described selected measuring instrument and described control item, in a control command data storehouse, inquiry obtains a described selected measuring instrument of correspondence and the control command of described control item;Instrument controlling parts, for sending described control command to described selected measuring instrument.The system and method for the present invention can carry out identical control operation to different measuring instruments, makes the operation of the control to multiple measuring instruments 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 relating to one Run on computer, measure resource control system and the measurement of employing thereof for manage multiple measuring instrument Resource control method.
Background technology
In industrial engineering and education of science field, measure test instrunment and be all experiment, manufacture production, test etc. Basic tool indispensable in link, such as oscillograph, circuit tester, audiofrequency spectrometer, signal source are all conventional Multimeter.Along with science and technology development, measuring instrument also by analogue measurement instrument to number Word measuring instrument converts.Digitized measuring instrument has the advantage not available for a lot of analogue measurement instrument, Such as it is easy to store, conveniently carry out data analysis and calculating, strong interference immunity etc..In addition, numeral Change measuring instrument also having a unique advantage is exactly that it can be connected with computer easily, forms one Individual measurement system, utilize computer rich in natural resources and powerful function that measuring instrument is controlled and Measurement result is carried out increasingly complex process.
Due to above-mentioned advantage, the measurement system being made up of computer and measuring instrument is by research and development widely. It is noted that process and display function owing to computer possesses powerful data so that oscillograph etc. are surveyed Measuring appratus has functioned only as the effect of data acquisition in measurement system, and the data of itself process and display Function becomes a kind of waste.Therefore, measure board to give birth to therefrom.Measure board and be also regarded as a kind of measurement Instrument, unlike oscillograph etc., it only possesses the effect of data acquisition, and itself does not carry out data Process or display.In use, measurement board is it is generally required to be plugged on the I/O interface of computer, such as, Measure board and can pass through VXI (VME extensions for Instrumentation) bus, PXI (PCI Extensions for Instrumentation) bus, GPIB (General Purpose Interface Bus), Yi Jiji The serial ports (serial port) of calculation machine or parallel port (parallel port) are connected with computer.
According to above-mentioned introduction, refer to Fig. 1, current measurement system 1 includes computer 11 He At least one measuring instrument 12, each measuring instrument 12 is connected with computer 11 by an interface 13. Computer 11 can be PC (PC), server (server) or the client (client) being connected to server Etc. the equipment with data operation and process function.Measuring instrument 12 is to have the equipment of data acquisition function, Can be measuring instrument, e.g. oscillograph, circuit tester, audiofrequency spectrometer, signal source, it is also possible to be to measure plate Card, even can also is that sensor etc..Interface 13 can be vxi bus, PXI bus, GPIB, serial ports, Parallel port or LAN mouth, serial ports includes USB interface, RS232 etc..
Due to the multiformity of interface 13, computer 11 general the most all can mounting interface driver 111, such as VISA drives, for shielding the difference that different interfaces 13 is brought.Computer 11 is based on interface driver journey Sequence 111, can pass on various order to enter measuring instrument 12 by normalized SCPI command set 112 The operation that row is corresponding.SCPI command set 112 includes a plurality of SCPI order, and different SCPI orders is for right Measuring instrument 12 carries out different operations, and this operation includes the control to measuring instrument 12, to measuring instrument The parameter of 12 carries out configuring, reading data etc. from measuring instrument 12.
SCPI order is various, and different measuring instruments 12 is controlled, to measurement result by user for convenience Carrying out various computing, computer 11 also includes at least one application program 14.Application program 14 can be based on Interface drive program 111 and SCPI command set 112, uses programming language tools such as VC, VB, LabVIEW Deng, by developer, user oneself or other people developed, be used for controlling computer 11 to measuring instrument Device 12 carries out various operation and measurement data is carried out process etc..Such as, refer to Fig. 2, shown in Fig. 2 It it is the display interface 1490 of the application program being applied to the audiofrequency spectrometer disclosed in a kind of prior art.Display circle Face 1490 has multiple input window 1491, and it is right that user can be inputted by input window 1491 easily The various operations of measuring instrument 12, and replace directly sending SCPI order to measuring instrument 12;Display interface 1490 also have a waveform display window 1492, for the form with figure line by computer 11 from measuring instrument The measurement data that device 12 obtains shows.
Refer to Fig. 3, computer 11 includes CPU114, internal memory 115, hard disk 116 and bus 117. CPU114, internal memory 115, hard disk 116 are connected with bus 117 respectively, and complete to lead to by bus 117 Letter.Application program 14 is a kind of executable program, is generally stored in when not being run in hard disk 116. When being called and run, user opens the finger of this application program 14 by the operating system input of computer 11 After order, this application program 14 is loaded in the middle of internal memory 115, just can be performed by CPU114.
But, the SCPI command set developed due to each company is the most incompatible, and therefore, different company develops Identical two application programs 14 of function by being then based on respective SCPI command set, the most incompatible. This results in, and the oscillograph that user needs the application program using company A exploitation to produce company A is carried out Such as grab screen operation, and the oscillograph needing the application program using the exploitation of B company to produce B company enters Row such as grabs screen operation, by that analogy.In the case of a lot, the computer of user is connected to multiple stage different company The measuring instrument based on different SCPI command sets produced, if user needs to carry out all measuring instruments Same operation, such as, grab screen operation, would have to open the application corresponding to each measuring instrument one by one Program, and operate each application program one by one to realize the very shirtsleeve operation of such a script, therefore Traditional application program uses more inconvenience.
Summary of the invention
Multiple measuring instruments are carried out same operation need to open multiple application journey to solve prior art application Sequence and cause awkward problem, the present invention provides a kind of can carry out identical control to multiple measuring instruments System operates and makes operation conveniently measure resource control system.
Meanwhile, the present invention also provides for the measurement resource control method that described measurement resource control system is used.
A kind of measurement resource control system, is used for controlling multiple measuring instrument, described measurement resource control system Including: a measuring instrument connection member, it is connected for setting up with multiple measuring instruments;One input block, For selecting at least one as selected measuring instrument from the plurality of measuring instrument, and input a control ?;One control command inquiry parts, for according to described selected measuring instrument and described control item, one In individual control command data storehouse, inquiry obtains a described selected measuring instrument of correspondence and the control of described control item Order;One instrument controlling parts, for sending described control command to described selected measuring instrument.
In the present invention measures an embodiment of resource control system, described control command data storehouse includes Multiple control items and the key word corresponding with the plurality of control item, described key word represents described control item pair The measuring instrument that should control.
In the present invention measures an embodiment of resource control system, described measuring instrument connection member bag Include: a measuring instrument searches parts, for producing the described original address of described measuring instrument;One survey Measuring appratus identification component, for sending order according to described original address to described measuring instrument, obtains described The instrument essential information of measuring instrument, produces corresponding identifier according to described instrument essential information;One Measuring instrument list generating section, for producing a measuring instrument list, described measuring instrument list is with institute State identifier and demonstrate described measuring instrument.
In the present invention measures an embodiment of resource control system, described input block includes: one Measuring instrument alternative pack, for selecting at least one as selected measuring instrument from the plurality of measuring instrument Device, and the inspection representing described selected measuring instrument is obtained according to the instrument essential information of described selected measuring instrument Rope word;One control item input block, for one control item of input.
In the present invention measures an embodiment of resource control system, described control command inquiry parts bag Include: a searching part, for according to described term and described control item, in described control command data Storehouse is inquired about the key word identical with described term;One judges parts, be used for judging whether to retrieve with The key word that described term is identical, if retrieved, then extracts the control corresponding to the key word retrieved System order, without retrieving, then imports a control command;One study parts, for by described The control command of importing preserve to described control command data storehouse, and using described term as corresponding pass Keyword preserves to described control command data storehouse.
A kind of measurement resource control method, is used for controlling multiple measuring instrument, described measurement resource control method Including: a measuring instrument Connection Step, set up with multiple measuring instruments and be connected;One input step, from The plurality of measuring instrument selects at least one as selected measuring instrument, and input a control item;One Individual control command query steps, according to described selected measuring instrument and described control item, a control command In data base, inquiry obtains a described selected measuring instrument of correspondence and the control command of described control item;One Instrument controlling step, sends described control command to described selected measuring instrument.
In the present invention measures an embodiment of resource control method, described control command data storehouse includes Multiple control items and the key word corresponding with the plurality of control item, described key word represents described control item pair The measuring instrument that should control.
In the present invention measures an embodiment of resource control method, described measuring instrument Connection Step bag Include: a measuring instrument finding step, produce the described original address of described measuring instrument;One measuring instrument Device identification step, sends order according to described original address to described measuring instrument, obtains described measuring instrument Instrument essential information, produce corresponding identifier according to described instrument essential information;One measuring instrument List produces step, produces a measuring instrument list, and described measuring instrument list shows with described identifier Described measuring instrument is shown.
In the present invention measures an embodiment of resource control method, described input step includes: one Measuring instrument select step, select from the plurality of measuring instrument at least one as selected measuring instrument, And the retrieval of the described selected measuring instrument of expression is obtained according to the instrument essential information of described selected measuring instrument Word;One control item input step, inputs a control item.
In the present invention measures an embodiment of resource control method, described control command query steps bag Include: a searching step, according to described term and described control item, in described control command data storehouse Inquire about the key word identical with described term;One judges step, it may be judged whether retrieve and described retrieval The key word that word is identical, if retrieved, then extracts the control command corresponding to the key word retrieved, Without retrieving, then import a control command;One learning procedure, by the control of described importing Order preserves to described control command data storehouse, and is preserved to institute as corresponding key word by described term State control command data storehouse.
The measurement resource control system of the present invention and measurement resource control method at least have the advantages that
The measurement resource control system of the present invention and measurement resource control method, owing to being additionally arranged control command number According to storehouse, therefore the present invention measure resource control system can be for different measuring instruments, at control command number According to storehouse is retrieved corresponding different order, complete different measuring instruments carries out identical control operation, Make the operation of the control to multiple measuring instruments more convenient.
It is also equipped with self-teaching function it addition, measure resource control system with measuring resource control method, i.e. controls The order that command database processed does not has can be arrived by " self-teaching " during user manually imports and be controlled In command database, so so that order in control command data storehouse and the key word of correspondence and control Item is expanded, to ensure that the control operating function measuring resource control system is gradually enriched.
Accompanying drawing explanation
Fig. 1 is the modular structure schematic diagram of a kind of traditional measurement system.
Fig. 2 is the display interface schematic diagram of a kind of existing application program.
Fig. 3 is the modular structure schematic diagram of a kind of traditional computer.
Fig. 4 be the present invention measure resource control system the first embodiment be applied to one measure system mould Block structure schematic diagram.
Fig. 5 is the structural representation measuring the computer that system is used in Fig. 4.
Fig. 6 is the schematic diagram of multiple command sets and the measuring instrument matching relationship including order.
Fig. 7 is that the present invention measures the flow chart of steps performed when resource control system the first embodiment works.
Fig. 8 is the display interface schematic diagram that the present invention measures resource control system the first embodiment.
Fig. 9 is the boundary that the present invention measures that the gpib interface parameter of resource control system the first embodiment is arranged Face figure.
Figure 10 is the RS232 interface parameters setting that the present invention measures resource control system the first embodiment Surface chart.
Figure 11 is display circle that the present invention measures the on-line instrument list of resource control system the first embodiment Face figure.
Figure 12 is that the present invention measures the schematic diagram of function menu in resource control system the first embodiment.
Figure 13 is that the present invention measures the signal in control command data storehouse in resource control system the first embodiment Figure.
Figure 14 is the module diagram that the present invention measures resource control system the first embodiment.
Detailed description of the invention
The present invention is described below and measures the first embodiment of resource control system.
Refer to Fig. 4, measure resource control system 4 and be applied in a measurement system 2.Measurement system 2 is wrapped Include multiple measurement resource 20 and for managing and control the measurement resource control system of the plurality of measurement resource 20 4.In the present embodiment, the plurality of measurement resource 20 is multiple measuring instruments 22, including measuring instrument 221, 222、223、224.In other embodiment, the plurality of measurement resource 20 includes multiple measuring instrument With multiple application resources, this application resource can be application program in one embodiment.
Measuring instrument 22 is to have the equipment of data acquisition function, can be oscillograph, circuit tester, audiofrequency spectrometer, Signal source, it is also possible to be to measure board, even can also is that sensor etc..Measure resource control system 4 by Computer and operation measurement resource control system software on computers realize.Computer can be individual Computer, panel computer, server or be connected to the client etc. of server and there is data operation and process merit The equipment of energy.Measuring instrument 22 is connected with measuring resource control system 4 by interface, and interface can be VXI Bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth.
Refer to Fig. 5, in the middle of present embodiment, measure the computer 41 that resource control system 4 is used Including CPU414, internal memory 415, memorizer 416, bus 417, display screen 418 and peripheral hardware 419.CPU414、 Internal memory 415, memorizer 416 are connected with bus 417 respectively, and display screen 418 is by video card 419 and bus 417 connect, and peripheral hardware 419 is connected by various Interface & Bus 417, CPU414, internal memory 415, storage Device 416, display screen 418 complete to communicate by bus 417 with peripheral hardware 419.Memorizer 416 is made up of hard disk, Certainly can also is that flash memory, CD, disk etc..Peripheral hardware 419 includes mouse, keyboard etc..
Refer to Fig. 6, in the present embodiment, measuring instrument 221,222,223,224 is different survey Measuring appratus, measuring instrument 221 is supported that the first command set, measuring instrument 222 support the second command set, is measured Instrument 223 supports that the 3rd command set, measuring instrument 224 support the 4th command set.By the order in command set Send the most corresponding measuring instrument just to operate accordingly with measuring equipment.In first command set First order carries out grabbing screen operation for measuring equipment 221, and the second order in the second command set is used for Measuring equipment 222 carries out grabbing screen operation, and the 3rd order in the 3rd command set is for measuring equipment 223 carry out grabbing screen operation, and the 4th order in the 4th command set carries out grabbing screen behaviour for measuring equipment 224 Make.Meanwhile, each command set also includes for realizing other other orders controlling operation.
The measurement resource control system 4 of the first embodiment can be not turned on measuring instrument 221,222,223, In the case of the application program of 224 correspondences, complete the screen of grabbing of measuring instrument 221,222,223,224 is grasped Make.The most just it is discussed in detail how measurement resource control system 4 completes.
Refer to Fig. 7, measure resource control system 4 and perform following steps:
Step S11, measuring instrument Connection Step, set up with multiple measuring instruments and be connected.Wherein, step S11 Including step S111, step S112 and step S113:
Step S111, instrument finding step: produce the described original address of described measuring instrument;
The work of step S111 has included the original searching work of instrument resource, i.e. finds and computer 41 That be connected, be under open state the measuring instrument 22 of (also referred to as presence), and obtain one former Beginning address.Owing to measuring instrument 22 can be connected with computer 41, therefore for not by different interfaces Same interface, the acquisition mode of its lookup mode and original address is also not quite similar.
Lookup mode is divided three classes by the type of service according to interface: the first kind: automatically search, plug and play Mode triggers finding step, such as USB-TMC interface;Equations of The Second Kind: semi-automatic lookup, needs manually to touch Send out finding step or configuration trigger condition triggers finding step, such as LAN-VX-11 interface;3rd class: Manually search, realize searching, such as RS232 interface by the way of input configuration data cube computation instrument.
For automatically searching, illustrate as a example by USB-TMC interface, 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).Measuring instrument 22 connect computer 41 back operation system (such as Windows) can install driving (Windows Vista for it Can automatically install with 7, other versions need manual installation).After completing drive installation, measure resources control system The system 4 measured instrument 22 of meeting connects the action triggers of computer 41, measures resource control system 4 and calls VISA USB-TMC search function obtain USB-TMC interface address information, this address information is exactly that this is original Address.
For semi-automatic lookup, illustrate as a example by LAN interface, be based on VX-11 agreement and mDNS The lookup of the LAN interface instrument that agreement completes.Owing to there are two set agreements on existing LAN interface upper strata and deposits (VX-11 and mDNS) is so having two sets to its lookup mode.
For VX-11 interface instrument, the mode of lookup is to search message, in a timing to internal transmission of LAN In accept the response of this message, the IP of response is considered as measuring instrument to be determined, and the IP of this response is constituted should Original address.Refer to Fig. 8, the display interface of measurement resource control system 4 has one " LAN " and presses Button 140, user should press " LAN " button 140 by click and trigger step S11.
To with mDNS interface instrument (meet this agreement and also meet VX-11 agreement), the instrument of mDNS interface Lookup mode based on mDNS also supported on the basis of supporting above-mentioned lookup mode by device, i.e. when meeting Measure resource control system 4 during the equipment access network of mDNS agreement and can receive the connection request report of this equipment Accusing, measure resource control system 4 and obtain this resource information by this report, it is original that this resource information constitutes this Address.Measure resource control system 4 and also include a timing resources online situation authentication function, if had MDNS equipment disconnects measurement resource control system 4 can remove this measuring instrument 22 automatically.
For manually searching, illustrate as a example by gpib interface, be to assist based on IEEE488.1 and IEEE488.2 The lookup discussed.Refer to Fig. 9, user connects instrument by inputting GPIB parameter in window 150, The parameter of input constitutes this original address 151.
For manually searching, illustrate as a example by RS232 interface, be based on looking into that EIA 232 standard completes Look for.Refer to Figure 10, user connects instrument, the ginseng of input by inputting RS232 parameter in window 160 Number constitutes this original address.
Step S112, instrument Connection Step: send order to described measuring instrument according to described original address, Obtain the instrument essential information of described measuring instrument, produce described identifier according to described instrument essential information.
Measure resource control system 4 and connect instrument according to this original address, carry out communication with this instrument, logical The content of news is to send SCPI order, i.e. " * IDN to measuring instrument 22?" order.This order is SCPI Basic command in standard, sends " * IDN to certain original address?" order and this order can not be responded, I.e. think that this original address is abnormal, then be not recognized as measuring instrument 22 thus not record, otherwise i.e. remembered Record.At " * IDN?" the return data ordered can obtain instrument essential information, this instrument essential information has The form having SCPI standard to define, resolve this instrument essential information can obtain corresponding trade name be, instrument Device model name, instrument serial number, instrument version number etc., and by least some of work of this instrument essential information Identifier for this measuring instrument 22.
Such as: the original address that step S11 produces is: USB0::0x0400::0x09C4::DSA1A113600019::INSTR, step S12 is then to original address USB0::0x0400::0x09C4::DSA1A113600019::INSTR sends: " * IDN?", meet with a response Instrument essential information: " XXXX, DSA1030A, DSA1A113600019,00.01.03.01.01 ".By solving Analyse this instrument essential information and obtain " manufacturer's information: " XXXX ", " model name: DSA1030A " etc..
Refer to Figure 11, in the present embodiment, measure resource control system 4 using this type information as this The identifier 220 of measuring instrument 22.Such as, the original address in previous example is: The identifier of the measuring instrument 22 of USB0::0x0400::0x09C4::DSA1A113600019::INSTR is “DSA1030A”.The most such as, the identifier 220 of another measuring instrument is " DS1204B ".At it In his embodiment, this identifier can also comprise the trade name in this instrument essential information, instrument sequence Row number, instrument version number etc., or this original address can also be comprised.
Step S113, measuring instrument list produce step: produce a measuring instrument list, described measuring instrument Device list demonstrates described measuring instrument with described identifier.
Refer to Figure 11, measure resource control system 4 on display interface, produce an on-line instrument list 410, on-line instrument list 410 includes whole identifier 220 that step S11 produces, and why uses instrument The advantage that device mark 220 represents a measuring instrument is: only represent measuring instrument with original address The most not directly perceived, user is difficult to remember which original address represents what measuring instrument.Such as in Figure 11 Identifier " DS1204B ", " DSA1030A " demonstrate the most intuitively and are connected with computer 41 There is which measuring instrument 22.Each identifier 220 uniquely correspond to a measurement connected Instrument 22, and each identifier 220 the most uniquely correspond to an original address simultaneously.
Step S12, input step, select at least one as selected measuring instrument from the plurality of measuring instrument Device, and input a control item.Wherein, step S12 includes step S121 and S122:
Step S121, measuring instrument select step, select at least one conduct from the plurality of measuring instrument Selected measuring instrument, and obtain the described selected survey of expression according to the instrument essential information of described selected measuring instrument The term of measuring appratus;
Refer to Figure 12, measure resource control system 4 and receive an apparatus selection instruction of user's input, come An identifier 220 is selected from on-line instrument list 410.User have selected identifier 220, the most just It is that the measuring instrument 22 that have selected correspondence is as selected measuring instrument.In present embodiment, user is to pass through Mus The mode of the identifier 220 that punctuate hits in on-line instrument list 410 inputs the instruction of this apparatus selection, selects Measuring instrument that identifier 2201 is DSA1030A is as selected measuring instrument.Certainly, user also may be used To input the instruction of this apparatus selection by peripheral hardwares such as keyboards.
Measure resource control system 4 and obtain a term according to the essential information of selected measuring instrument, at this In embodiment, this term is the model name of this selected measuring instrument.Such as, identifier 2201 is The term of the measuring instrument of DSA1030A is exactly DSA1030A.
Step S122, control item input step, input a control item.
Refer to Figure 12, in the present embodiment, user is by point on the identifier 2201 chosen at mouse Hit right mouse button, measurement resource control system 4 can be made to set up a function menu 240, function menu 240 On include multiple control item 2401,2402,2403, each control item 2401,2402,2403 is for table Show the control that selected measuring instrument will be carried out a kind of function.User by with mouse at function menu 240 Selecting a control item, such as, select control item 2401, realizing input will implement selected measuring instrument The operation of a control item.
In other embodiment, multiple control items 2401,2402,2403 can be as several soft-key buttons Lasting display clicks on selection the first-class user for the treatment of of display interface, and without setting up function menu 240.
Step S13, control command query steps, according to described selected measuring instrument and described control item, one In individual control command data storehouse, inquiry obtains a described selected measuring instrument of correspondence and the control of described control item Order.Step S13 includes step S131, S132 and S133:
Step S131, searching step, according to described term and described control item, at described control command number According to storehouse is inquired about the key word identical with described term;
Refer to Figure 13, there is in measuring resource control system 4 a control command data storehouse 43, control life The content making data base 43 is a look-up table (Look Up Table), including the content of arrayed in columns of embarking on journey, First row 431 is order, and this order not only comprises first to fourth order for realizing grabbing screen function, also Order including other.Secondary series 432 is the key word corresponding with each line command in first row 431, should Key word represents which kind of instrument the order of same row for controlling.In the present embodiment, this key word is right The model name of the measuring instrument that the order answered is controlled.3rd row 433 are every a line life with first row 431 Corresponding control item, each control item is made to represent what measuring instrument can be controlled by the order of same a line Function.That is, order, key word and the control item of every a line is all corresponding.
Such as, in the present embodiment, the first row 441 first row 431 in control command data storehouse 43 is One order, the first row 441 secondary series 432 is DSA1030A, and the first row 441 the 3rd row 433 are to grab screen; Second row 442 first row 431 is the second order, and the second row 442 secondary series 432 is that the second command set institute is right The model name of the measuring instrument answered, the second row 442 the 3rd row 433 are to grab screen;By that analogy.So, root The term obtained according to step S12 and control item, it is possible to retrieve the of the first row 441 first row 431 One order.
In the present embodiment, control command data storehouse 43 is to be saved in computer 41 in the form of a file In memorizer 416, owing to memorizer 416 is that non-power-failure is volatile, therefore control command data storehouse 43 is also Non-power-failure is volatile.
It addition, what deserves to be explained is, if measure resource control system 4 for realize to measuring instrument Control operation only one of which, when the most only grabbing screen, then the most only first row 441 of control command data storehouse 43 With secondary series 442 and without including the 3rd row 443 again.
Step S132, judge step, it may be judged whether retrieve the key word identical with described term, if Retrieved, then extract the control command corresponding to the key word retrieved, without retrieving, then lead Enter a control command;
If the term obtained according to step S12 and control item, it is right to retrieve in control command data storehouse 43 The order answered, then extract next step application of wait this order.If do not had in control command data storehouse 43 There is the order retrieving correspondence, then, to measure resource control system 4 and set up a user interface, prompting is used Family manually imports a newer command not being documented in control command data storehouse 43.In the present embodiment, hands The dynamic mode imported is to utilize input through keyboard newer command in user's window in the user interface.In other reality Execute in mode, it is also possible to imported this newer command by another file.
Step S133, learning procedure, preserve the control command of described importing to described control command data Storehouse, and described term is preserved to described control command data storehouse as corresponding key word.
Measure resource control system 4 and in control command data storehouse 43, open up new a line, by step S132 The newer command imported is saved in first row, and as key word, the term that step S12 produces is saved in second Row, are saved in the 3rd row by the control item that step S12 produces.So, the study to newer command is just completed Process, i.e. when producing this term and control item again by step S12, step S131 just can be Control command data storehouse 43 retrieves the order of correspondence.
Step S14, instrument controlling step, send described control command to described selected measuring instrument.
Order step S132 extracted or the newer command imported send to selected measuring instrument, so, quilt The control selecting measuring instrument just can perform correspondence operates.
In an other embodiment, in step S121, user selects multiple measuring instrument as selected Measuring instrument, selects a control instruction in step S122, such as, grabs screen, wish the plurality of selected Measuring instrument carries out grabbing screen operation.So in step S121, measure resource control system 4 then many according to this The essential information of individual selected measuring instrument obtains multiple terms.In step S131, measure resources control system System 4 then retrieves corresponding with multiple terms successively according to the plurality of term accordingly with common control item Order.
Refer to Figure 14, in order to realize above-mentioned steps, the measurement resource control system 4 of the present invention includes one Measuring instrument connection member M11, input block M12, a control command inquiry parts M13 and Individual instrument controlling parts M14.Measuring instrument connection member M11 is connected for setting up with multiple measuring instruments; Input block M12 for select from the plurality of measuring instrument at least one as selected measuring instrument, and Input a control item;Control command inquiry parts M13 is for according to described selected measuring instrument and described control Item processed, in a control command data storehouse, inquiry obtains a described selected measuring instrument of correspondence and described control The control command of item processed;Instrument controlling parts M14 is for sending described control command to described selected measurement Instrument.
Measuring instrument connection member M11 includes that a measuring instrument searches parts M111, a measuring instrument is known An other parts M112 and measuring instrument list generating section M113.Measuring instrument is searched parts M111 and is used In the described original address producing described measuring instrument;Measuring instrument identification component M112 is for according to described former Beginning address sends order to described measuring instrument, obtains the instrument essential information of described measuring instrument, according to institute State instrument essential information and produce corresponding identifier;Measuring instrument list generating section M113 is used for generation one Individual measuring instrument list, described measuring instrument list demonstrates described measuring instrument with described identifier.
Input block M12 includes a measuring instrument alternative pack M121 and a control item input block M122.Measuring instrument alternative pack M121 is for selecting at least one conduct from the plurality of measuring instrument Selected measuring instrument, and obtain the described selected survey of expression according to the instrument essential information of described selected measuring instrument The term of measuring appratus;Control item input block M122 is for one control item of input.
Control command inquiry parts M13 include a searching part M131, one judge parts M132 and Individual study parts M133.Searching part M131 is for according to described term and described control item, described Control command data storehouse is inquired about the key word identical with described term;Judge that parts M132 for judgement is No retrieve the key word identical with described term, if retrieved, then extract the key word retrieved Corresponding control command, without retrieving, then imports a control command;Study parts M133 For the control command of described importing is preserved to described control command data storehouse, and described term is made Preserve to described control command data storehouse for corresponding key word.
The measurement resource control system 4 of the present invention and measurement resource control method, owing to being additionally arranged control command Data base 43, and control command data storehouse 43 not only includes the multiple differences being applicable to multiple different measuring instrument The order of command set, further comprises corresponding with each order, for represent the order of same a line for Control which kind of instrument key word.Preferably, also include corresponding, for representing same with each order The control item of the function that measuring instrument can be controlled by the order of row, therefore the present invention measures resources control System 4 can carry out identical control operation to different measuring instruments, makes the control to multiple measuring instruments Operate more convenient.
It is also equipped with self-teaching function, i.e. with measuring resource control method it addition, measure resource control system 4 The order that control command data storehouse 43 does not has can be arrived by " self-teaching " during user manually imports In control command data storehouse 43, so so that the order in control command data storehouse 43 and the pass of correspondence Keyword and control item are expanded, the richest to ensure the control operating function measuring resource control system 4 Rich.
Realization in order to demonstrate the invention, describes above-mentioned detailed description of the invention.But the present invention's Other change and modifications, and will be readily apparent to one having ordinary skill, in essence disclosed in this invention With any amendment in the range of basic principle/change or imitate conversion to broadly fall into the claim protection of the present invention Scope.

Claims (8)

1. measure a resource control system, be used for controlling multiple measuring instrument, it is characterised in that described Measurement resource control system includes:
One measuring instrument connection member, is connected for setting up with multiple measuring instruments;
One input block, for selecting at least one as selected measuring instrument from the plurality of measuring instrument Device, and input a control item;
One control command inquiry parts, for according to described selected measuring instrument and described control item, one In individual control command data storehouse, inquiry obtains a described selected measuring instrument of correspondence and the control of described control item Order;Wherein, described control command data storehouse includes multiple control item and corresponding with the plurality of control item Key word, described key word represents the measuring instrument that described control item correspondence controls
One instrument controlling parts, for sending described control command to described selected measuring instrument.
Measurement resource control system the most according to claim 1, it is characterised in that: described measuring instrument Device connection member includes:
One measuring instrument searches parts, for producing the original address of described measuring instrument;
One measuring instrument identification component, for sending order according to described original address to described measuring instrument, Obtain the instrument essential information of described measuring instrument, produce corresponding instrument mark according to described instrument essential information Know;
One measuring instrument list generating section, for producing a measuring instrument list, described measuring instrument List demonstrates described measuring instrument with described identifier.
Measurement resource control system the most according to claim 2, it is characterised in that: described input unit Part includes:
One measuring instrument alternative pack, for selecting at least one as quilt from the plurality of measuring instrument Select measuring instrument, and obtain the described selected measurement of expression according to the instrument essential information of described selected measuring instrument The term of instrument;
One control item input block, for one control item of input.
Measurement resource control system the most according to claim 3, it is characterised in that: described control is ordered Order inquiry parts include:
One searching part, for according to described term and described control item, in described control command data Storehouse is inquired about the key word identical with described term;
One judges parts, for judging whether to retrieve the key word identical with described term, if inspection Rope arrives, then extract the control command corresponding to the key word retrieved, and without retrieving, then imports One control command;
One study parts, for the control command of described importing is preserved to described control command data storehouse, And described term is preserved to described control command data storehouse as corresponding key word.
5. measure a resource control method, be used for controlling multiple measuring instrument, it is characterised in that described Measurement resource control method includes:
One measuring instrument Connection Step, sets up with multiple measuring instruments and is connected;
One input step, select from the plurality of measuring instrument at least one as selected measuring instrument, And input a control item;
One control command query steps, according to described selected measuring instrument and described control item, a control In command database processed, inquiry obtains the control life of a described selected measuring instrument of correspondence and described control item Order;Wherein, described control command data storehouse includes multiple control item and the pass corresponding with the plurality of control item Keyword, described key word represents the measuring instrument that described control item correspondence controls;
One instrument controlling step, sends described control command to described selected measuring instrument.
Measurement resource control method the most according to claim 5, it is characterised in that: described measuring instrument Device Connection Step includes:
One measuring instrument finding step, produces the original address of described measuring instrument;
One measuring instrument identification step, sends order according to described original address to described measuring instrument, obtains Take the instrument essential information of described measuring instrument, produce corresponding identifier according to described instrument essential information;
One measuring instrument list produces step, produces a measuring instrument list, described measuring instrument list Described measuring instrument is demonstrated with described identifier.
Measurement resource control method the most according to claim 6, it is characterised in that: described input step Suddenly include:
One measuring instrument selects step, selects at least one as selected survey from the plurality of measuring instrument Measuring appratus, and obtain the described selected measuring instrument of expression according to the instrument essential information of described selected measuring instrument Term;
One control item input step, inputs a control item.
Measurement resource control method the most according to claim 7, it is characterised in that: described control is ordered Query steps is made to include:
One searching step, according to described term and described control item, in described control command data storehouse Inquire about the key word identical with described term;
One judges step, it may be judged whether retrieve the key word identical with described term, if retrieved , then extract the control command corresponding to the key word retrieved, without retrieving, then import one Control command;
One learning procedure, preserves the control command of described importing to described control command data storehouse, and Described term is preserved to described control command data storehouse as corresponding key word.
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 CN102467090A (en) 2012-05-23
CN102467090B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105573927B (en) * 2015-12-17 2018-03-13 中国电子科技集团公司第四十一研究所 A kind of PXI device access methods based on VISA

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* 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
JP3292300B2 (en) * 1990-11-22 2002-06-17 株式会社日立製作所 Fieldbus system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN102467090A (en) 2012-05-23

Similar Documents

Publication Publication Date Title
CN102004952B (en) Measuring resource control system and measuring resource control method
US7987445B2 (en) Comparing a configuration diagram to an actual system
US8051148B2 (en) Determining differences between configuration diagrams
CN111078482B (en) Communication navigation equipment test system, method, equipment and readable storage medium
WO2016074429A1 (en) Test method, controller, and test system
US20060168182A1 (en) Determining and merging differences between configuration diagrams
US20170068567A1 (en) Rapidly Configurable Program
CN101872313B (en) Method for developing intelligent control-oriented virtual instrument capable of reconfiguring functions
CN102467090B (en) A kind of measurement resource control method and measurement resource control system
CN104615928A (en) Metrological verification method and system and server
CN102467372B (en) One kind measurement resource control system and measurement resource control method
CN102467369B (en) Measurement resource control system and measurement resource control method
Cui et al. Research of an intelligent experimental teaching platform based on Internet
CN102467370B (en) Measure resource control system and measure resource control method
CN109739493A (en) Generation method, device, electronic equipment and the storage medium of data base manipulation statement
Vilo et al. Expression profiler
CN102467368B (en) A kind of measurement resource control system and measurement resource control method
CN105589694B (en) The method that high voltage isolator automatic Model Selection is filled in Technical Review
Holmegaard et al. Metafier—A tool for annotating and structuring building metadata
JP5068395B1 (en) Screen data editing device for display
CN116401421B (en) Chip test data query method, system, equipment and medium
CN102467371B (en) A kind of measurement resource control method and measurement resource control system
CN106027278A (en) Command generation method and information processing apparatus
JPH11108705A (en) File management system
WO2018036530A1 (en) Method for generating test design book

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