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

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

Info

Publication number
CN102467368B
CN102467368B CN201010534815.XA CN201010534815A CN102467368B CN 102467368 B CN102467368 B CN 102467368B CN 201010534815 A CN201010534815 A CN 201010534815A CN 102467368 B CN102467368 B CN 102467368B
Authority
CN
China
Prior art keywords
name
measuring instrument
application
instrument
resource
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
CN201010534815.XA
Other languages
Chinese (zh)
Other versions
CN102467368A (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
Filing date
Publication date
Application filed by Rigol Technologies Inc filed Critical Rigol Technologies Inc
Priority to CN201010534815.XA priority Critical patent/CN102467368B/en
Publication of CN102467368A publication Critical patent/CN102467368A/en
Application granted granted Critical
Publication of CN102467368B publication Critical patent/CN102467368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of measurement resource control system and measure resource control method, for control, there is the measuring instrument of model name and there is the application resource of serial name, described measurement resource control system includes that a corresponding relation sets up parts, for setting up the corresponding relation of described model name and described series name, and described corresponding relation is preserved to a look-up table;One dynamic application list generating section, for the model name according to a selected measuring instrument and described look-up table, produces a dynamic application list including the application resource mated with described selected measuring instrument.The resource control system of measuring of the present invention makes measuring instrument model name more flexible with the naming rule of series name with measurement resource control method, facilitates model name to extend with the corresponding relation of serial name.

Description

A kind of measurement resource control system and measurement resource control method
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, for managing the measurement resource control system of multiple measuring instrument and multiple application program And the measurement resource control method used.
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.
Due to the multiformity of measuring instrument 12, specification, parameter or the function etc. of each measuring instrument 12 are not The most identical.For different measuring instruments 12 it is generally required to develop different application programs 14.Refer to Fig. 3, Such as, a bench-type number is that the power supply 121 of DP1308A correspond to application program 141;Bench-type No. one is The audiofrequency spectrometer 122 of DSA1030A correspond to application program 142.In addition, even if same kind of measurement Instrument 12 is different due to its model, version, causes its specification, parameter or function etc. possible different, therefore has Time be also required to develop different application programs 14.
It addition, for some special application scenarios, need multiple identical or different measuring instrument 12 to assist Realizing a certain measuring task with work, therefore, multiple measuring instruments 123 may correspond to an application journey Sequence 143, this application program 143 needs the plurality of measuring instrument 123 to work just when running simultaneously can complete measurement Task.
Another again, multiple application program 144 can also be developed for realizing respectively for a measuring instrument 124 Different functions;For some measuring instrument 125, such as same type but the different measuring instrument of model, also Can have an application program 145 can the situation of compatible multiple measuring instruments 125, now this application journey Sequence 145 can individually and each measuring instrument 125 cooperating.Such as, application program 145 is held concurrently simultaneously Hold the audiofrequency spectrometer 125 ' of the audiofrequency spectrometer 125 and DSA1000A that model is DSA1030A.
Refer to Fig. 4, 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.
The most together with reference to Fig. 1 and Fig. 5, when application program 14 performs, computer 11 is at application program 14 Following steps are sequentially performed under control:
Step S1, instrument finding step;
Although according to aforementioned, measuring instrument 12 has been passed through an interface 13 and has been connected with computer 11, this Connect and simply measuring instrument 12 got up with interface 13 grafting, also measuring instrument 12 is not configured, Such as interface configuration, obtains the address of measuring instrument 12, and this computer-chronograph 11 cannot be with measuring instrument 12 Set up communication.Therefore, instrument finding step mainly completes the configuration to measuring instrument 12, obtain one right Answer the original address of measuring instrument 12.Even if it is it should be pointed out that, obtain this original address, but this Connecting is only the connection in physics rank, say, that computer 11 can utilize this original address and this survey Measuring appratus 12 communicates.And according to mentioned above, owing to application program 14 and measuring instrument 12 also exist many Plant various corresponding relation, complete instrument finding step and be also not meant to that application program 14 can control to count This measuring instrument 12 is operated and controls by calculation machine 11, in addition it is also necessary to identify the measurement connected further The essential information of instrument 12, judges whether connected measuring instrument 12 mates with application program 14, presses down Or which platform measuring instrument 12 matches with application program 14 in the multiple stage measuring instrument 12 connected.
Step S2, instrument Connection Step;
Step S2 mainly completes measuring instrument 12 and is connected with the logic of computer 11, sets up on application Measuring instrument 12 and the communication channel of computer 11.That is, it needs to complete the identification of INSTRUMENT MODEL, to ensure This instrument is the measuring instrument 12 corresponding to application program 14, that is whether judges follow-up instrument application step This measuring instrument 12 can be controlled.
The work specifically made of step S2 is: receive this original address, utilizes this original address to measuring instrument Device 12 sends order, inquires about instrument essential information, and this instrument essential information returning measuring instrument 12 is entered Row resolves, and parses trade name, INSTRUMENT MODEL, instrument serial number, instrument according to this instrument essential information Version numbers etc., parse trade name, INSTRUMENT MODEL, instrument serial number, instrument version number etc. according to this and sentence Whether disconnected this measuring instrument 12 is the measuring instrument 12 of application program 14 correspondence.
Step S3, instrument application step;
The work of step S3 includes: one, utilizes this original address to control computer 11 and enters with measuring instrument 12 Row communication, Content of Communication includes receiving the measurement data of measuring instrument 12, sending SCPI to measuring instrument 12 Measuring instrument 12 is controlled by order;Two, provide a display interface, refer to Fig. 2, such as It is the display interface of the application program of this audiofrequency spectrometer, the measurement number that will be received by waveform display window 1492 According to this form such as curve show, received by modes such as input windows 1491 user's input instruction and will Its SCPI order being converted to correspondence sends to measuring instrument 12.
Refer to Fig. 6, application program 14 includes an instrument realizing step S1 for controlling computer 11 Search module 147, and realize the instrument link block 148 of step S2 and one for controlling computer 11 The instrument application module 149 of step S3 is realized for controlling computer 11.
What National Instruments (NI) company released a kind of can be used for verifying the soft of communication between computer and measuring instrument Part (Measurement&Automation Explorer, MAX) can also obtain measuring instrument by step S1 Original address, but software is merely creating this original address, follow-up step S2 and step S3.
Agilent (Agilent) company is also proposed one and can be used for verifying communication between computer and measuring instrument Software (Agilent Connection Expert), this software can also be produced primitively by step S1 and S2 Location and acquisition instrument essential information, but this software is also merely creating this original address and instrument essential information, Do not has subsequent step S3 yet.
According to introduction above, along with being continuously increased of measuring instrument 12 kind and model and various Being continuously increased of application demand, application program 14 continuous by substantial amounts of exploitation, quantity dramatically increases.This Cause following problem: the model slight change of measuring instrument 12 this may result in needing again to develop application program 14, and need nonetheless remain for again developing instrument when developing application program 14 and search module 147, instrument connection mode Block 148 and instrument application module 149 so that the exploitation of application program 14 and maintenance process are complicated, and cost is relatively High.
Summary of the invention
In order to solve prior art application development and complicated, the relatively costly problem of maintenance process, this Bright offer is a kind of can make application development and maintenance process simplifies, cost reduces measurement resources control system 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, for controlling the measuring instrument with model name and having serial name Application resource, described measurement resource control system includes: a corresponding relation sets up parts, is used for setting up institute State the corresponding relation of model name and described series name, and described corresponding relation is preserved to a look-up table;One Individual dynamic application list generating section, for the model name according to a selected measuring instrument and described lookup Table, produces a dynamic application list including the application resource mated with described selected measuring instrument.
In the present invention measures an embodiment of resource control system, described corresponding relation sets up parts bag Include: a corresponding relation display unit, for the corresponding relation preserved in described look-up table is shown; One newly-built parts of serial name, for a newly-built serial name;One serial name deleting parts, for from institute State and look-up table is deleted a serial name preserved;One newly-built parts of model name, for a newly-built model Name;One model name deleting parts, for deleting a model name preserved from described look-up table.
In the present invention measures an embodiment of resource control system, described with selected measuring instrument The application resource joined has the serial name corresponding with the model name of described selected measuring instrument.
In the present invention measures an embodiment of resource control system, described dynamic application list generating unit Part includes: a match information obtaining widget, is used for the model name according to described selected measuring instrument in institute State the serial name finding correspondence in look-up table;One application resource searching part, for according to described series name Search and the described application resource with this series name;One dynamic listing generating unit, for according to lookup The application resource described in this series name produces described dynamic application list.
In the present invention measures an embodiment of resource control system, described corresponding relation includes that one is Row name and at least one described model name.
A kind of resource control method of measuring, control has the measuring instrument of model name and has the application of serial name Resource, described measurement resource control method includes: a corresponding relation establishment step, sets up a model name With the corresponding relation of a serial name, and by described corresponding relation preserve to a look-up table;Dynamically should for one Produce step with list, according to model name and the described look-up table of a selected measuring instrument, produce one Dynamic application list including the application resource mated with described selected measuring instrument.
In the present invention measures an embodiment of resource control method, described corresponding relation establishment step bag Include: a corresponding relation step display, the corresponding relation preserved in described look-up table is shown;One The series newly-built step of name, a newly-built serial name;One serial name delete step, deletes from described look-up table Except a serial name preserved;One newly-built step of model name, a newly-built model name;One model name is deleted Except step, from described look-up table, delete a model name preserved.
In the present invention measures an embodiment of resource control method, described with selected measuring instrument The application resource joined has the serial name corresponding with the model name of described selected measuring instrument.
In the present invention measures an embodiment of resource control method, described dynamic application list produces step Suddenly include: a match information obtaining step, look into described according to the model name of described selected measuring instrument Look for the serial name finding correspondence in table;One application resource searching step, searches and institute according to described series name State the application resource with this series name;One dynamic listing generation step, has according to finding The application resource of this series name produces described dynamic application list.
In the present invention measures an embodiment of resource control method, described corresponding relation includes that one is Row name and at least one described model name.
The measurement resource control system of the present invention and measurement resource control method at least have the advantages that
4th embodiment measure resource control system due to can be artificial the model name setting up measuring instrument With series name corresponding relation, and by described corresponding relation preserve to a look-up table, therefore so that model The naming rule of name and series name can be more free, and the extension of the corresponding relation of model name and series name is more Convenient.Even the naming rule of series name and model name is without following any rule, it is only necessary to they preserved The foundation of corresponding relation can be completed to look-up table.Can also interim building it addition, measure resource control system A vertical corresponding relation, to be used after delete.Therefore compare the mode of regulation naming rule, measure money Source control system 7 has more motility.
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 schematic diagram of measuring instrument and application matches relation.
Fig. 4 is the modular structure schematic diagram of a kind of traditional computer.
Fig. 5 is that a kind of traditional application program runs is performed flow chart of steps.
Fig. 6 is the software module structure schematic diagram of application program shown in Fig. 5.
Fig. 7 be the present invention measure resource control system the first embodiment be applied to one measure system module Structural representation.
Fig. 8 is the structural representation measuring the computer that system is used in Fig. 7.
Fig. 9 is the schematic diagram of measuring instrument and application matches relation.
Figure 10 is the software mould that the present invention measures the application program that resource control system the first embodiment is managed Block structure schematic diagram.
Figure 11 is that the present invention measures steps flow chart performed during the work of resource control system the first embodiment Figure.
Figure 12 is the display interface figure that the present invention measures resource control system the first embodiment.
Figure 13 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 14 is the boundary that the present invention measures that the RS232 interface parameters of resource control system the first embodiment is arranged Face figure.
Figure 15 is the display interface that the present invention measures the on-line instrument list of resource control system the first embodiment Figure.
Figure 16 is that the present invention measures dynamic application list generation step in resource control system the first embodiment Concrete steps flow chart.
Figure 17 is the display interface that the present invention measures the dynamic application list of resource control system the first embodiment Figure.
Figure 18 is that the present invention measures the application program of resource control system the first embodiment and deposits showing of file It is intended to.
Figure 19 be the present invention measure resource control system the first embodiment start the later interface of application program Schematic diagram.
Figure 20 is that the present invention measures resource control system the first embodiment and realizes the module of Figure 11 process step Schematic diagram.
Figure 21 is that in Figure 20, dynamic application list produces the module diagram loseing M123.
Figure 22 is that the present invention measures steps flow chart performed during the work of resource control system the second embodiment Figure.
Figure 23 is the display interface figure that the present invention measures the list of application of resource control system the second embodiment.
Figure 24 is that the present invention measures user in the list of application of resource control system the second embodiment and selects one The display interface figure of application program.
Figure 25 is the display that the present invention measures the dynamic on-line instrument list of resource control system the second embodiment Surface chart.
Figure 26 is that the present invention measures user in the dynamic on-line instrument list of resource control system the second embodiment Select the display interface figure of a measuring instrument.
Figure 27 is that the present invention measures resource control system the second embodiment and realizes the module of Figure 22 process step Schematic diagram.
Figure 28 is that the present invention measures steps flow chart performed during the work of resource control system the 3rd embodiment Figure.
Figure 29 is list of application and the on-line instrument list that the present invention measures resource control system the 3rd embodiment Display interface figure.
Figure 30 is user's on-line instrument in fig. 26 that the present invention measures resource control system the 3rd embodiment List selects the display interface figure of a measuring instrument.
Figure 31 is user's list of application in fig. 26 that the present invention measures resource control system the 3rd embodiment The display interface figure of middle one application program of selection.
Figure 32 is the display interface that the present invention measures the dynamic application list of resource control system the 3rd embodiment Figure.
Figure 33 is the display that the present invention measures the dynamic on-line instrument list of resource control system the 3rd embodiment Surface chart.
Figure 34 is the display interface figure selecting an application program in user's dynamic application list in Figure 29.
Figure 35 is display circle selecting a measuring instrument in user's dynamic on-line instrument list in fig. 30 Face figure.
Figure 36 is that the present invention measures resource control system the 3rd embodiment and realizes the module of Figure 28 process step Schematic diagram.
Figure 37 is that the present invention measures steps flow chart performed during the work of resource control system the 4th embodiment Figure.
Figure 38 is that the window that the present invention measures when resource control system the 4th embodiment sets up corresponding relation is illustrated Figure.
Figure 39 is that the present invention measures the concrete steps stream of step S423 in resource control system the 4th embodiment Cheng Tu.
Figure 40 is that the present invention measures resource control system the 4th embodiment and realizes the module of Figure 37 process step Schematic diagram.
Figure 41 is that the present invention measures resource control system the 4th embodiment and realizes the module of Figure 39 process step Schematic diagram.
Detailed description of the invention
The present invention is described below and measures the first embodiment of resource control system.
Refer to Fig. 7, 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.The plurality of measurement resource 20 includes multiple measuring instrument 22 and multiple application resource, in the present embodiment, This application resource is application program 24.
Measuring instrument 22 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 board, even can also is that sensor etc..Measure Resource control system 4 is realized by computer and operation measurement resource control system software on computers. Computer can be PC, panel computer, server or the client etc. being connected to server has Data operation and the equipment of process function.Measuring instrument 22 is connected with measuring resource control system 4 by interface, Interface can be vxi bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth.
Refer to Fig. 8, 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..
Due to the multiformity of measuring instrument 22, specification, parameter or the function etc. of each measuring instrument 22 are not The most identical.For different measuring instruments 22 it is generally required to develop different application programs 24, the most each measurement Instrument 22 has the application program 24 of its correspondence.Refer to Fig. 9, such as, a bench-type number is DP1308A's Power supply 221 correspond to application program 241;Bench-type No. one is that the audiofrequency spectrometer 222 of DSA1030A correspond to answer By program 242.In addition, even if same kind of measuring instrument 22 is different due to its model, version, Cause its specification, parameter or function etc. possible different, be the most sometimes also required to develop different application programs 24.
It addition, for some special application scenarios, need multiple identical or different measuring instrument 22 to assist Realizing a certain measuring task with work, therefore, multiple measuring instruments 223 may correspond to an application journey Sequence 243, this application program 243 needs the plurality of measuring instrument 223 to work just when running simultaneously can complete measurement Task.
Another again, multiple application program 244 can also be developed for realizing respectively for a measuring instrument 224 Different functions;For some measuring instrument 225, such as same type but the different measuring instrument of model, also Can have an application program 245 can the situation of compatible multiple measuring instruments 225, now this application journey Sequence 245 can individually and each measuring instrument 225 cooperating.Such as, application program 245 is held concurrently simultaneously Hold the audiofrequency spectrometer 225 ' of the audiofrequency spectrometer 225 and DSA1000A that model is DSA1030A.
Application program 24 is a kind of executable program, is stored in depositing of computer 41 when not being run In reservoir 416.Refer to Figure 10, application program 24 includes instrument application module 249.Due to application program 24 no longer include that instrument searches module and instrument link block, the most only can not by execution application program 24 Control computer 41 and obtain the original address of measuring instrument 22, and the resource control system 4 to be measured such as need Original address is passed to application program 24, i.e. can not control computer only by running application program 24 41 communicate with measuring instrument 22 foundation.Therefore user directly runs application program 24 and can not realize measurement The control of instrument 22.
It is described below and measures resource control system 4 is how to complete management and the control to measuring resource 20.
Refer to Figure 11, measure resource control system 4 and perform following steps:
Step S11, instrument resource management process: set up with described measuring instrument and be connected, produce and described measurement An original address that instrument is corresponding and an identifier.Wherein, step S11 includes step S111 and step Rapid S112:
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 Figure 12, measure, on the display interface of resource control system 4, there is one " LAN " 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 Figure 13, 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 14, 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 Type number, instrument serial number, instrument version number etc., and using this instrument essential information at least some of as The identifier of 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 ", " type information: DSA1030A " etc..
Refer to Figure 15, 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 S12, input step: to select one to select from described measuring instrument by described identifier Measuring instrument, and from described application resource, select a stand-by application resource;Wherein, step S12 includes Step S121~S124:
Step S121, instrument list produce step: according to described identifier, produce one and described instrument Identify corresponding on-line instrument list;
Refer to Figure 15, 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 15 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 S122, apparatus selection step: from described on-line instrument list, select a described measuring instrument As described selected measuring instrument;
Refer to Figure 15, 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 Identifier 2201 is the measuring instrument of DSA1030A.Certainly, user can also be by peripheral hardwares such as keyboards Input the instruction of this apparatus selection.
Step S123, dynamic application list produce step: provide according to described selected measuring instrument and described application Source produces a dynamic application list comprising the application resource matched with described selected measuring instrument;Please join According to Figure 16, in the present embodiment, step S123 specifically includes: match information obtaining step S1231, should By resource retrieval step S1232 and dynamic listing generation step S1233.
Match information obtaining step S1231: produce according to the described instrument essential information of described selected measuring instrument One match information.Match information obtaining step S1231 includes a serial name obtaining step S12311 and Individual model name obtaining step S 12312.Series name obtaining step S12311: according to described selected measuring instrument Instrument essential information produces the generic series name of described selected measuring instrument.One model name obtaining step: root Instrument essential information according to described selected measuring instrument produces the affiliated model name of described selected measuring instrument.
In the present embodiment, front describing in detail, instrument essential information includes trade name, INSTRUMENT MODEL, instrument Device serial number, instrument version number etc., measure resource control system 4 and produce described coupling according to this INSTRUMENT MODEL Information.Match information in present embodiment includes generic series name and institute's genotype of described selected measuring instrument Number name.Such as, refer to Figure 17, user have selected the measuring instrument that identifier 220 is DAS 1030A As selected measuring instrument, the INSTRUMENT MODEL understood in its instrument essential information by this selected measuring instrument is " DSA1030A ", this INSTRUMENT MODEL " DSA1030A " not only illustrates the instrument type of this selected measuring instrument Number it is DAS1030A, and understands this selected measuring instrument and belong to DAS1000A series, therefore can be true The generic series entitled " DSA1000A " of this selected measuring instrument fixed, affiliated model entitled " DSA1030A ". It should be pointed out that, series name obtaining step S12311 and the execution sequence of model name obtaining step S12312 Can be the most reverse, it is also possible to executed in parallel simultaneously.
As other embodiment, instrument essential information includes INSTRUMENT MODEL and instrument series number, therefore may be used To determine affiliated model name by the INSTRUMENT MODEL in the instrument essential information of selected measuring instrument, by selected Instrument series number generic series name in the instrument essential information of measuring instrument.
Refer to Figure 16, application resource searching step S1232: search and described choosing according to described match information The application program that location survey measuring appratus matches.Application resource searching step S1232 specifically includes a general money Source finding step S12321, a serial name finding step S12322 and a model name finding step S12323.Generic resource finding step S12321: according to common name in application essential information search with The application program of whole described measuring instruments coupling;Series name finding step S12322: according to described affiliated system Row name searches the application program mated with described selected measuring instrument generic series;Model name finding step S12323: according to model name belonging to described search with described selected measuring instrument belonging to the application journey mated of model Sequence.
In the present embodiment, application program 24 has an application essential information, this application essential information bag Include series name, model name and common name.Series name, type is comprised in the middle of the file name of this application program 24 Number name and common name one of them.Comprise common name in the middle of the file name of this application program 24, represent This application program 24 can mate arbitrary measuring instrument 22.Bag in the middle of the file name of this application program 24 Containing series name, represent that this application program 24 can mate measuring instrument 22 with a series of, i.e. can Join the measuring instrument 22 of the most all models of this series.Model is comprised in the middle of the file name of this application program 24 Name, represent that this application program 24 mates the measuring instrument 22 of same model name.In order to illustrate, please With reference to Figure 18, the memorizer 416 of computer 41 stores multiple application program 24, each application program 24 leave under the file of the same name with it.Wherein, entitled " Instrument_Common_XXXX_ SCPI ControlPanel " application program 2401 title in comprise common name " Instrument_Common ", because of This represents that this application program 2401 can mate any one measuring instrument 22.Entitled Series name is comprised in the title of the application program 2402 of " XXXX_DSA1000A_Too1s " " DSA1000A ", therefore represents that this application program 2402 can mate and belongs to DSA1000A series Measuring instrument 22.Wrap in the title of the application program 2403 of entitled " XXXX_DSA1030A_Tools " Containing model name " DSA1030A ", therefore represent that this application program 2403 coupling model name is all DSA1030A Measuring instrument 22.
Therefore, generic resource finding step S12321 comprises common name " Instrument_Common " by lookup Application program, application program 2401 can be found;Name finding step S12322 is according to generic series name for series " DSA1000A ", can find application program 2402;Model name finding step S12323 is according to institute's genotype Number name " DSA1030A ", can find application program 2403.
As other embodiment, it is also possible to record the instrument mated in the filename of application program 24 Essential information part or all of.
As other embodiment, it is also possible to record the instrument mated in the supporting paper of application program 24 Device essential information part or all of.
As other embodiment, it is also possible to record this application program 24 He in the registration table of operating system The instrument essential information mated part or all of.
Dynamic listing generation step S1233: produce described dynamic according to the application program matched described in finding State list of application.
Refer to Figure 17, the application program 2401,2402,2403 found according to step S1232, generating should Dynamic application list 240.What this dynamic application list 240 comprised is the application journey mated with selected measuring instrument Sequence, comes for further selection by the user.Dynamic application list 240 eliminates with selected measuring instrument not The application program joined, makes user avoid when selecting being interfered, it is simple to select fast and accurately.
Step S124, application select step: select described stand-by application resource from described dynamic application list;
Refer to Figure 17, measure resource control system 4 and receive an application selection instruction of user's input, use In selecting an application program in dynamic application list 240, as a stand-by application program.This application Selecting instruction can be click application program 2401.That is, user selects entitled The application program of " Instrument_Common_XXXX_SCPI Control Panel ".
Step S13, resource matched step: the original address corresponding to described selected measuring instrument is sent to institute State stand-by application resource.
Refer to Figure 19, measure resource control system 4 according to this selected measuring instrument for choosing and Stand-by application program 2401, passes to the original address of selected measuring instrument stand-by application program 2401, makes This stand-by application program 2401 has had the communication object determined, uses this original address to lead to selected measuring instrument Letter.Hereafter, user just can use this stand-by application program 2401 to control selected measuring instrument normally.
Specifically, for extending the application program 24 of entitled .exe, measure resource control system 4 and use The command line mode of Windows band parameter completes original address to answering while starting this application program 24 Transmit by program 24;For the application program 24 of VI form, measure resource control system 4 and use moving of VI State load mode completes original address transmission.
Refer to Figure 20, in order to realize each step above-mentioned, measure resource control system 4 and include an instrument Resources control parts M11, an input block M12 and a resource matched parts M13.This instrument resource Control parts M11 to be connected for setting up with described measuring instrument, produce corresponding with described measuring instrument Original address and an identifier;This input block M12 is for coming from described survey by described identifier Measuring appratus selects a selected measuring instrument, and from described application resource, selects a stand-by application resource; This resource matched parts M13 treats described in being sent to by the original address corresponding to described selected measuring instrument Use application resource.
Instrument resource controls parts M11 and includes that an instrument resource searches parts M111 and an instrument resource Connection member M112.This instrument resource searches parts M111 for producing the described original of described measuring instrument Address;This instrument resource connection member M112 is for sending life according to described original address to described measuring instrument Order, obtains the instrument essential information of described measuring instrument, produces described instrument according to described instrument essential information Mark.
Input block M12 include an instrument list generating section M121, apparatus selection parts M122, An one dynamic application list generating section M123 and application alternative pack M124.Instrument list generating unit Part M121, for according to described identifier, produces the on-line instrument corresponding with described identifier row Table;Apparatus selection parts M122 is for selecting a described measuring instrument conduct from described on-line instrument list Described selected measuring instrument;Dynamic application list generating section M123 for according to described selected measuring instrument and Described application resource produces a dynamic application comprising the application resource matched with described selected measuring instrument List;Application alternative pack M124 is for selecting described stand-by application resource from described dynamic application list.
Refer to Figure 21, dynamic application list generating section M123 include match information obtaining widget M1231, Application resource searching part M1232 and dynamic listing generating unit M1233.Match information obtaining widget M1231 produces a match information for the described instrument essential information according to described selected measuring instrument.Should Match with described selected measuring instrument for searching according to described match information with resource retrieval parts M1232 Application program.Dynamic listing generating unit M1233 is for according to the application journey matched described in finding Sequence produces described dynamic application list.
Match information obtaining widget M1231 includes serial name obtaining widget M12311 and a model name Obtaining widget M12312.Series name obtaining widget M12311 is for the instrument according to described selected measuring instrument Essential information produces the generic series name of described selected measuring instrument.Model name obtaining widget M12312 is used for root Instrument essential information according to described selected measuring instrument produces the affiliated model name of described selected measuring instrument.
Application resource searching part M1232 specifically include generic resource search parts M12321, one Series name searches parts M12322 and a model name searches parts M12323.Generic resource searches parts M12321 mates with whole described measuring instruments for searching according to a common name in application essential information Application program;It is selected with described for searching according to described generic series name that series name searches parts M12322 The application program of measuring instrument generic series coupling;Model name searches parts M12323 for according to described affiliated Model name search with described selected measuring instrument belonging to the application program that mates of model.
The present invention is described below and measures the second embodiment of resource control system.
Refer to Figure 22, the measurement resource control system 5 of the second embodiment and the measurement of the first embodiment Execution step when differring primarily in that work of resource control system 4 is different.Wherein, resource control is measured Step S21 that system 5 processed performs is identical with step S11, and step S23 is identical with step S13, step S22 Included step is different from the step included by step S12.
Step S21, instrument resource management process: set up with described measuring instrument and be connected, produce and described measurement An original address that instrument is corresponding and an identifier.
Identical with step S11 measuring resource control system 4 of the first embodiment, step S21 also includes Step S211 and S212, be connected with measuring instrument 22 in the same way, produces and each measuring instrument The original address of 22, and obtain each instrument essential information corresponding to measuring instrument 22, and according to this instrument Device essential information produces a corresponding identifier.
Step S22, input step: the apparatus selection instruction and the application selection that receive user's input refer to Order, described apparatus selection instruction for from described identifier select a selected measuring instrument, described should With selecting instruction for selecting a stand-by application program from described application program;Wherein, step S22 bag Include step S221~S224:
Step S221, list of application produce step: according to described application resource, produce one and described application The list of application that resource is corresponding;
Refer to Figure 23, measure resource control system 5 on display interface 58, produce a list of application 540, List of application 540 includes the application name 541 corresponding to whole application programs, is used for selecting to treat for user Use application program.
Step S222, application select step: select application resource described in one from described list of application As described stand-by application resource;
Refer to Figure 24, measure resource control system 5 and receive an application selection instruction of user's input, come From list of application 540, select an application name 541, and then select corresponding to this application name 541 Application program.In the present embodiment, the application name 541 of this application program comprises coupling letter Breath, i.e. manufacturer's information in instrument essential information and type information, by this manufacturer's information and type information just May determine that the measuring instrument corresponding with this application program.
Step S223, dynamic instrument list produce step: according to described stand-by application resource and described measuring instrument Device produces a dynamic on-line instrument list comprising the measuring instrument matched with described stand-by application resource;
Refer to Figure 25, the application name 541 that measurement resource control system 5 selects according to user is comprised Match information the measuring instruments all connected are retrieved, find and mate with this application name 541 Measuring instrument, and the identifier 521 of the measuring instrument these mated shows, these identifier 521 Constitute a dynamic on-line instrument list 520.
Step S224, apparatus selection parts: from described dynamic on-line instrument list, select described selected measurement Instrument.
Refer to Figure 26, measure resource control system 5 and receive an apparatus selection instruction of user's input, come From dynamic on-line instrument list 520, select an identifier 521, and then have selected this identifier 521 Corresponding measuring instrument is as selected measuring instrument.
Step S23, resource matched step: the original address corresponding to described selected measuring instrument is sent to institute State stand-by application resource.
Measure the original of the measuring instrument corresponding to identifier 521 that user selected of resource control system 5 Address passes to the application program that user selects.Make application program have the communication object determined, use this former Beginning address and measuring instrument communication.Hereafter, user just can use this application program to control to measure normally Instrument.
Refer to Figure 27, in order to realize each step above-mentioned, measure resource control system 4 and include an instrument Resources control parts M21, an input block M22 and a resource matched parts M23.This instrument resource Control parts M21 to be connected for setting up with described measuring instrument, produce corresponding with described measuring instrument Original address and an identifier;This input block M22 is for coming from described survey by described identifier Measuring appratus selects a selected measuring instrument, and from described application resource, selects a stand-by application resource; This resource matched parts M23 treats described in being sent to by the original address corresponding to described selected measuring instrument Use application resource.
Input block M22 include list of application produce parts M221, application alternative pack M222, An one dynamic instrument list generating section M223 and apparatus selection parts M224.One list of application produces Raw parts M221, for according to described application resource, produces an application corresponding with described application resource List;Application alternative pack M222, for selecting application resource described in one from described list of application As described stand-by application resource;Dynamically instrument list generating section M223, for according to described stand-by application Resource and described measuring instrument produce one and comprise the dynamic of the measuring instrument that matches with described stand-by application resource State on-line instrument list;Apparatus selection parts M224, for selecting institute from described dynamic on-line instrument list State selected measuring instrument.
The present invention is described below and measures the 3rd embodiment of resource control system.
Refer to Figure 25, the measurement resource control system 6 of the 3rd embodiment and the measurement of the first embodiment Execution step when differring primarily in that work of resource control system 4 is different.Wherein, resource control is measured Step S31 that system 6 processed performs is identical with step S11, and step S33 is identical with step S13, step S32 Included step is different from the step included by step S12.
Step S31, instrument resource management process: set up with described measuring instrument and be connected, produce and described measurement An original address that instrument is corresponding and an identifier.
Identical with step S11 measuring resource control system 4 of the first embodiment, step S31 is also with same The mode of sample is connected with measuring instrument 22, produces the original address with each measuring instrument 22, and obtains Each instrument essential information corresponding to measuring instrument 22, and right according to this instrument essential information generation one The identifier answered.
Step S32, input step: the apparatus selection instruction and the application selection that receive user's input refer to Order, described apparatus selection instruction for from described identifier select a selected measuring instrument, described should With selecting instruction for selecting a stand-by application program from described application program;Wherein, step S32 bag Include step S321~S324:
Step S321, measurement the Resources list produce step: according to described identifier, produce one with described The on-line instrument list that identifier is corresponding, and for according to described application resource, produce one with described The list of application that application resource is corresponding;
Refer to Figure 26, measure resource control system 6 on display interface 68, produce an on-line instrument list 620 and a list of application 640, on-line instrument list 620 comprises the measuring instrument 22 all connected Corresponding identifier 621, list of application 640 then comprises the application program of whole application programs 24 Name 641.
Step S322, first resource select step: select from described on-line instrument list and described list of application Selecting a stand-by first resource, described stand-by first resource is described selected measuring instrument and described stand-by application In resource one;
Refer to Figure 27, measure resource control system 6 and receive an instruction of user's input, user can be defeated Enter an apparatus selection instruction, from on-line instrument list 620, select an identifier 621, and then select This measuring instrument corresponding to identifier 621;Refer to Figure 28, it is also possible to input an application selection and refer to Order, selects an application name 641 from list of application 640, and then selects this application name 641 institute Corresponding application program.
Step S323, dynamic Secondary resource list produce step: if described stand-by first resource be described in treat With application resource, then comprise according to described stand-by application resource and described measuring instrument generation one and treat with described With the dynamic on-line instrument list of the measuring instrument that application resource matches, described dynamic on-line instrument list is Described on-line instrument list at least some of;If described stand-by first resource is described selected measurement Instrument, then produce one according to described selected measuring instrument and described application resource and comprise and described selected measurement The dynamic application list of the application resource that instrument matches, described dynamic application list is described list of application At least partially;
Refer to Figure 29, if the first selection instruction is that application selects instruction, measure resource control system 6 The measuring instrument all connected is entered by the instrument essential information that the application name 641 selected according to user is comprised Line retrieval, finds the measuring instrument mated with this application name 641, and the measuring instrument these mated Identifier 621 show, these identifier 621 constitute a dynamic on-line instrument list 660.Please join According to Figure 30, if the first selection instruction is apparatus selection instruction, measure resource control system 6 then according to this instrument Device selects the instrument essential information of the identifier 621 selected by instruction, retrieves application program, comes Obtain the application program mated with measuring instrument, and the application name 641 of the application program mated by these Constitute a dynamic application list 670.
Step S324, Secondary resource select step: if described stand-by first resource is described stand-by application money Source, then select described selected measuring instrument from described dynamic on-line instrument list;If described stand-by first Resource is described selected measuring instrument, then select described stand-by application resource from described dynamic application list.
Refer to Figure 31, if produce is dynamic on-line instrument list 660, measure resource control system 6 Receive an apparatus selection instruction of user's input, to select an instrument from dynamic on-line instrument list 660 Device mark 621, and then have selected this measuring instrument corresponding to identifier 621 as selected measuring instrument. Refer to Figure 32, if produce is dynamic application list 670, measures resource control system 6 and receive user One application of input selects instruction, for selecting an application name 641 in dynamic application list 670, Represent this application program corresponding to application name 641 of selection, as a stand-by application program.
Step S33, resource matched step: the original address corresponding to described selected measuring instrument is sent to institute State stand-by application resource.
Measure the original of the measuring instrument corresponding to identifier 621 that user selected of resource control system 6 Address passes to the application program that user selects.Make application program have the communication object determined, use this former Beginning address and measuring instrument communication.Hereafter, user just can use this application program to control to measure normally Instrument.
Refer to Figure 36, in order to realize each step above-mentioned, measure resource control system 4 and include an instrument Resources control parts M31, an input block M32 and a resource matched parts M33.This instrument resource Control parts M31 to be connected for setting up with described measuring instrument, produce corresponding with described measuring instrument Original address and an identifier;This input block M32 is for coming from described survey by described identifier Measuring appratus selects a selected measuring instrument, and from described application resource, selects a stand-by application resource; This resource matched parts M33 treats described in being sent to by the original address corresponding to described selected measuring instrument Use application resource.
Input block M32 includes that measuring the Resources list for one produces parts M321, a first resource selection Parts M322, a dynamic Secondary resource list generating section M223 and a Secondary resource alternative pack M224。
Measure the Resources list and produce parts M321, for according to described identifier, produce one and described instrument The on-line instrument list that device mark is corresponding, and for according to described application resource, produce one and answer with described With the corresponding list of application of resource;
First resource alternative pack M322, for selecting from described on-line instrument list and described list of application One stand-by first resource, described stand-by first resource is described selected measuring instrument and described stand-by application money In source one;
Dynamically Secondary resource list generating section M323, if being described stand-by for described stand-by first resource Application resource, then produce one according to described stand-by application resource and described measuring instrument and comprise stand-by with described The dynamic on-line instrument list of the measuring instrument that application resource matches, described dynamic on-line instrument list is institute State at least some of of on-line instrument list;If described stand-by first resource is described selected measuring instrument Device, then produce one according to described selected measuring instrument and described application resource and comprise and described selected measuring instrument The dynamic application list of the application resource that device matches, described dynamic application list be described list of application extremely A few part;
Secondary resource alternative pack M324, if being described stand-by application money for described stand-by first resource Source, then select described selected measuring instrument from described dynamic on-line instrument list;If described stand-by first Resource is described selected measuring instrument, then select described stand-by application resource from described dynamic application list.
The present invention is described below and measures the 4th embodiment of resource control system.
Refer to Figure 37, the measurement resource control system 7 of the 4th embodiment and the measurement of the first embodiment Execution step when differring primarily in that work of resource control system 4 is different.Wherein, resource control is measured Step S41 that system 7 processed performs is identical with step S11, and step S43 is identical with step S13, step S42 Included step is different from the step included by step S42.Also increase it addition, measure resource control system 7 Add step S40.Suddenly being described in detail of step is performed below to measuring when resource control system 7 works.
Step S40, corresponding relation establishment step: set up the model name of measuring instrument and the corresponding relation of series name, And described corresponding relation is preserved to a look-up table;
Measurement resource control system 7 is supplied to user one and freely sets up model name and the series name of measuring instrument The mechanism of corresponding relation, each corresponding relation includes a serial name and at least one model name, and this is right Relational representation all model name therein are answered to broadly fall into the series of correspondence under one's name.Such as, series is entitled The instrument that the series of " DSA1000A " comprises model entitled " DSA1030A " is a corresponding relation.
Measure resource control system 7 internal have one for the look-up table recording whole corresponding relation, and should Look-up table is that non-power-failure is volatile, therefore can the most still preserve this corresponding relation, for again Secondary use when powering on.This corresponding relation with " series name=model name 1, model name 2 ..., model name n " Form be saved in this look-up table.Such as, DSA1000A=DSA1030A.
Refer to Figure 38, measurement resource control system 7 produces a corresponding relation and sets up window 70, window 70 Including a corresponding relation display window 701, for the corresponding relation preserved in described look-up table is shown. In the present embodiment, corresponding relation display window 701 the most only shows and whole in look-up table is Row name, user selects some series name by clicking on, and the model name of its correspondence is just in this clicked series The lower section of name is listed in the way of indentation certain distance.Such as, in the lower section of series name DSA1000A, type Number name DSA1030A is listed in the way of indentation certain distance.
Window 70 also includes a newly-built window of serial name 702, for a newly-built serial name.User can be The series newly-built window of name 702 inputs the new serial name not yet stored in a look-up table.Newly-built serial name Can be added and be saved in the middle of look-up table.
Window 70 also includes a newly-built window of model name 703, for a newly-built model name;User can be Window 706 selects existing series name in a look-up table, in the newly-built window of model name 703, then inputs one The new model name that this series individual the most not yet stores.Newly-built model name can be added be saved in look-up table work as In.So, in the corresponding relation corresponding to this series name, a new model name is just added.
Window 70 also includes a serial name delete button 704, for deleting a guarantor from described look-up table The serial name deposited.User first can select existing series name, then point in a look-up table in window 706 Hit this series name delete button 704, so, measure resource control system 7 just by the serial name in window 706 from Look-up table is deleted.
Window 70 also includes a model name delete button 705, for deleting a guarantor from described look-up table The model name deposited.User first can select existing series name in a look-up table in window 706, then at window Select the existing model name that this series name is corresponding in 707, then click on this model name delete button 705, So, measure resource control system 7 just by the model name in window 707 from look-up table corresponding to this series name Corresponding relation in delete.
Step S41, instrument resource management process: set up with described measuring instrument and be connected, produce and described measurement An original address that instrument is corresponding and an identifier.Wherein, step S41 includes step S411 and step Rapid S412: step S411, instrument finding step: produce the described original address of described measuring instrument;Step S412, instrument Connection Step: send order to described measuring instrument according to described original address, obtain described The instrument essential information of measuring instrument, produces described identifier according to described instrument essential information.
It is worthy of note, step S40 and step S41 can perform with arbitrary sequencing, or can With executed in parallel.
Step S42, input step: to select one to select from described measuring instrument by described identifier Measuring instrument, and from described application resource, select a stand-by application resource;Wherein, step S42 includes Step S421~S424:
Step S421, instrument list produce step: according to described identifier, produce one and described instrument Identify corresponding on-line instrument list;
Step S422, apparatus selection step: from described on-line instrument list, select a described measuring instrument As described selected measuring instrument;
Step S423, dynamic application list produce step: according to the model name of selected measuring instrument and described Look-up table, produces a dynamic application list including the application resource mated with described selected measuring instrument;
Refer to Figure 39, in the present embodiment, step S423 specifically includes: match information obtaining step S4231, application resource searching step S4232 and dynamic listing generation step S4233.
Match information obtaining step S4231: produce according to the described instrument essential information of described selected measuring instrument One match information.Match information obtaining step S4231 includes a model name obtaining step S42311 and Individual series name obtaining step S42312.One model name obtaining step S42311: according to described selected measuring instrument The instrument essential information of device produces the affiliated model name of described selected measuring instrument.Series name obtaining step S42312: find the serial name of correspondence according to the model name of described selected measuring instrument in described look-up table.
Before describe in detail, instrument essential information includes trade name, INSTRUMENT MODEL, instrument serial number, instrument version This number etc., instrument essential information does not directly give instrument series number, and the match information in present embodiment Generic series name and affiliated model name including described selected measuring instrument.Therefore, resource control system 7 is measured First pass through instrument essential information and obtain model name, e.g. DSA1030A belonging to selected measuring instrument, then Retrieve in this look-up table according to this model name DSA1030A, find the correspondence corresponding to this model name Relation DSA1000A=DSA1030A, obtains this type according to this corresponding relation DSA1000A=DSA1030A Number serial name that name is corresponding, e.g. DSA1000A.
Application resource searching step S4232: search and described selected measuring instrument phase according to described match information The application program joined.Application resource searching step S4232 specifically includes a generic resource finding step S42321, an a serial name finding step S42322 and model name finding step S42323.General money Source finding step S42321: search and whole described measuring instruments according to a common name in application essential information The application program of device coupling;Series name finding step S42322: search with described according to described generic series name The application program of selected measuring instrument generic series coupling;Model name finding step S42323: according to described institute Belong to model name search with described selected measuring instrument belonging to the application program that mates of model.
Dynamic listing generation step S4233: produce described dynamic according to the application program matched described in finding State list of application.
Application selects step S424: select described stand-by application resource from described dynamic application list;
Resource matched step S43: the original address corresponding to described selected measuring instrument is sent to described stand-by Application resource.
Refer to Figure 40, in order to realize the above-mentioned steps of the 4th embodiment, measure resource control system 7 and wrap Include a corresponding relation and set up parts M40, instrument resource control parts M41, an input block M42 With a resource matched parts M43.Corresponding relation sets up parts M40 for setting up the model name of measuring instrument With series name corresponding relation, and by described corresponding relation preserve to a look-up table;This instrument resource controls Parts M41 is connected for setting up with described measuring instrument, produces corresponding with described measuring instrument original Address and an identifier;This input block M42 is for coming from described measuring instrument by described identifier Device selects a selected measuring instrument, and from described application resource, selects a stand-by application resource;Should Resource matched parts M43 is for being sent to described stand-by by the original address corresponding to described selected measuring instrument Application resource.
Instrument resource controls parts M41 and includes that an instrument resource searches parts M411 and an instrument resource Connection member M412.This instrument resource searches parts M411 for producing the described original of described measuring instrument Address;This instrument resource connection member M412 is for sending life according to described original address to described measuring instrument Order, obtains the instrument essential information of described measuring instrument, produces described instrument according to described instrument essential information Mark.
Input block M42 include an instrument list generating section M421, apparatus selection parts M422, An one dynamic application list generating section M423 and application alternative pack M424.Instrument list generating unit Part M421, for according to described identifier, produces the on-line instrument corresponding with described identifier row Table;Apparatus selection parts M422 is for selecting a described measuring instrument conduct from described on-line instrument list Described selected measuring instrument;Dynamic application list generating section M423 for according to described selected measuring instrument and Described application resource produces a dynamic application comprising the application resource matched with described selected measuring instrument List;Application alternative pack M424 is for selecting described stand-by application resource from described dynamic application list.
Refer to Figure 41, dynamic application list generating section M423 include match information obtaining widget M4231, Application resource searching part M4232 and dynamic listing generating unit M4233.Match information obtaining widget M4231 produces a match information for the described instrument essential information according to described selected measuring instrument.Should Match with described selected measuring instrument for searching according to described match information with resource retrieval parts M4232 Application program.Dynamic listing generating unit M4233 is for according to the application journey matched described in finding Sequence produces described dynamic application list.
Match information obtaining widget M4231 includes model name obtaining widget M42311 and a serial name Obtaining widget M42312.Model name obtaining widget M42311 is for the instrument according to described selected measuring instrument Essential information produces the affiliated model name of described selected measuring instrument.Series name obtaining widget M42312 is for root In described look-up table, the serial name of correspondence is found according to the model name of described selected measuring instrument.
Application resource searching part M4232 specifically include generic resource search parts M42321, one Series name searches parts M42322 and a model name searches parts M42323.Generic resource searches parts M42321 mates with whole described measuring instruments for searching according to a common name in application essential information Application program;It is selected with described for searching according to described generic series name that series name searches parts M42322 The application program of measuring instrument generic series coupling;Model name searches parts M42323 for according to described affiliated Model name search with described selected measuring instrument belonging to the application program that mates of model.
4th embodiment measure resource control system 7 due to can be artificial the model setting up measuring instrument Name with series name corresponding relation, and by described corresponding relation preservation to a look-up table, therefore so that type The naming rule of number name and series name can be more free, and the extension of the corresponding relation of model name and series name is more For convenience.Even the naming rule of series name and model name is without following any rule, it is only necessary to they protected Deposit to look-up table and can complete the foundation of corresponding relation.
It addition, that measures that resource control system 7 can also be interim sets up a corresponding relation, to be used complete Rear deletion.Therefore compare the mode of regulation naming rule, measure resource control system 7 and have more motility.
The measurement resource control system of the present invention and measurement resource control method at least have the advantages that
1. due to the present invention measurement resource control system and measure resource control method can be that application program carries Original address for measuring instrument, it is no longer necessary to each application program oneself removes to produce original address, therefore The development process of original program can be saved instrument and search module 147, the exploitation of instrument link block 148, Make application development, safeguard relatively simple.
2. when the substantial amounts of measuring instrument and application program when, user have selected selected measuring instrument or After stand-by application program, the measurement resource control system of the present invention and measurement resource control method will be automatically found Coupling application program and measuring instrument, eliminate the interference of unmatched option so that by measuring instrument with The coupling of application program is very convenient.
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 (10)

1. measure a resource control system, for controlling the measuring instrument with model name and there is series The application resource of name, it is characterised in that described measurement resource control system includes:
One corresponding relation sets up parts, for setting up the corresponding relation of described model name and described series name, And described corresponding relation is preserved to a look-up table;
One dynamic application list generating section, for the model name according to a selected measuring instrument and institute State look-up table, produce the dynamic application row of an application resource including mating with described selected measuring instrument Table, described dynamic application list comprises the application program mated with selected measuring instrument.
Measurement resource control system the most according to claim 1, it is characterised in that: described corresponding pass System sets up parts and includes:
One corresponding relation display unit, for showing the corresponding relation preserved in described look-up table;
One newly-built parts of serial name, for a newly-built serial name;
One serial name deleting parts, for deleting a serial name preserved from described look-up table;
One newly-built parts of model name, for a newly-built model name;
One model name deleting parts, for deleting a model name preserved from described look-up table.
Measurement resource control system the most according to claim 1, it is characterised in that: described and selected Measuring instrument coupling application resource there is the series corresponding with the model name of described selected measuring instrument Name.
Measurement resource control system the most according to claim 2, it is characterised in that: described dynamically should Include with list generating section:
One match information obtaining widget, for looking into described according to the model name of described selected measuring instrument Look for the serial name finding correspondence in table;
One application resource searching part, has this series name for searching according to described series name with described Application resource;
One dynamic listing generating unit, for according to the application resource described in finding with this series name Produce described dynamic application list.
Measurement resource control system the most according to claim 1, it is characterised in that: described corresponding pass System includes a serial name and at least one described model name.
6. measure a resource control method, control the measuring instrument with model name and there is serial name Application resource, it is characterised in that described measurement resource control method includes:
One corresponding relation establishment step, sets up the corresponding relation of a model name and a serial name, and will Described corresponding relation preserves to a look-up table;
One dynamic application list produces step, according to the model name of a selected measuring instrument with described look into Look for table, produce a dynamic application list including the application resource mated with described selected measuring instrument, Described dynamic application list comprises the application program mated with selected measuring instrument.
Measurement resource control method the most according to claim 6, it is characterised in that: described corresponding pass It is that establishment step includes:
One corresponding relation step display, shows the corresponding relation preserved in described look-up table;
One newly-built step of serial name, a newly-built serial name;
One serial name delete step, deletes a serial name preserved from described look-up table;
One newly-built step of model name, a newly-built model name;
One model name delete step, deletes a model name preserved from described look-up table.
Measurement resource control method the most according to claim 6, it is characterised in that: described and selected Measuring instrument coupling application resource there is the series corresponding with the model name of described selected measuring instrument Name.
Measurement resource control method the most according to claim 7, it is characterised in that: described dynamically should Produce step with list to include:
One match information obtaining step, according to the model name of described selected measuring instrument at described look-up table In find correspondence serial name;
One application resource searching step, searches and the described application with this series name according to described series name Resource;
One dynamic listing generation step, the application resource according to having this series name described in finding produces Described dynamic application list.
Measurement resource control method the most according to claim 6, it is characterised in that: described corresponding pass System includes a serial name and at least one described model name.
CN201010534815.XA 2010-11-03 A kind of measurement resource control system and measurement resource control method Active CN102467368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010534815.XA CN102467368B (en) 2010-11-03 A kind of measurement resource control system and measurement resource control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010534815.XA CN102467368B (en) 2010-11-03 A kind of measurement resource control system and measurement resource control method

Publications (2)

Publication Number Publication Date
CN102467368A CN102467368A (en) 2012-05-23
CN102467368B true CN102467368B (en) 2016-12-14

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442526A (en) * 2007-11-22 2009-05-27 索尼株式会社 Information processing device and information processing method
CN101539836A (en) * 2009-04-30 2009-09-23 广东国笔科技股份有限公司 Human-machine interface interactive system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101442526A (en) * 2007-11-22 2009-05-27 索尼株式会社 Information processing device and information processing method
CN101539836A (en) * 2009-04-30 2009-09-23 广东国笔科技股份有限公司 Human-machine interface interactive system and method

Similar Documents

Publication Publication Date Title
CN102004952B (en) Measuring resource control system and measuring resource control method
CN111078482B (en) Communication navigation equipment test system, method, equipment and readable storage medium
CN108427631A (en) A kind of application test systems, method, electronic equipment and readable storage medium storing program for executing
CN103984626B (en) A kind of method and device for generating test case script
CN101872313B (en) Method for developing intelligent control-oriented virtual instrument capable of reconfiguring functions
CN111752843B (en) Method, apparatus, electronic device and readable storage medium for determining influence surface
CN206400286U (en) A kind of test system based on hardware in loop equipment
CN106201803B (en) A kind of general automation test macro and method based on tested object model
CN105760296A (en) Automation testing control method, device and terminal
CN106898177B (en) On-line simulation and automatic evaluation method for single-chip microcomputer experimental hardware
CN102467372B (en) One kind measurement resource control system and measurement resource control method
CN106815150B (en) Server-side interface test system and method
CN102467369B (en) Measurement resource control system and measurement resource control method
CN102467090B (en) A kind of measurement resource control method and measurement resource control system
CN104933923A (en) A medical electronic apparatus simulation experiment teaching platform based on a virtual instrument
CN102467370B (en) Measure resource control system and measure resource control method
CN102467368B (en) A kind of measurement resource control system and measurement resource control method
CN111930621A (en) DNS automation performance testing method, device, equipment and readable storage medium
CN107038117A (en) It is a kind of based on the web automated testing methods that reference is defined between event handling function
CN108132802B (en) Application method of configuration model in system development
CN109739493A (en) Generation method, device, electronic equipment and the storage medium of data base manipulation statement
Zhu Research on an online teaching platform for college music course based on internet of things technology
CN108984380A (en) A kind of server test method, device and medium based on linux system
CN112579431A (en) Cross-platform script recording and playback method based on image recognition
CN102467371B (en) A kind of measurement resource control method and measurement resource control system

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant