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

Measurement resource control system and measurement resource control method Download PDF

Info

Publication number
CN102467368A
CN102467368A CN201010534815XA CN201010534815A CN102467368A CN 102467368 A CN102467368 A CN 102467368A CN 201010534815X A CN201010534815X A CN 201010534815XA CN 201010534815 A CN201010534815 A CN 201010534815A CN 102467368 A CN102467368 A CN 102467368A
Authority
CN
China
Prior art keywords
instrument
name
application
surveying instrument
resource control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201010534815XA
Other languages
Chinese (zh)
Other versions
CN102467368B (en
Inventor
王悦
王铁军
李维森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rigol Technologies Inc
Original Assignee
Rigol Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rigol Technologies Inc filed Critical Rigol Technologies Inc
Priority to CN201010534815.XA priority Critical patent/CN102467368B/en
Priority claimed from CN201010534815.XA external-priority 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

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a measurement resource control system and a measurement resource control method, which are used for controlling measurement instruments with model names and application resources with series names. The measurement resource control system comprises a corresponding relation building component and a dynamic application list generating component, wherein the corresponding relation building component is used for building the corresponding relation between the model names and the series names and storing the corresponding relation in a finding table, and the dynamic application list generating component is used for generating a dynamic application list including application resources matched with the selected measurement instrument according to the model name of the selected measurement instrument and the finding table. The measurement resource control system and the measurement resource control method have the advantages that the naming rule of the model names and the series names of the measurement instrument is flexible, and the corresponding relation expansion of the model names and the series names is convenient.

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 relate to a kind of run on computing machine, be used to manage the measurement resource control system of a plurality of surveying instruments and a plurality of application programs and the measurement resource control method of employing thereof.
Background technology
In Industrial Engineering and education of science field, measuring testing tool all is indispensable basic tool in the links such as experiment, manufacturing production, test, and for example oscillograph, multimeter, frequency spectrograph, signal source all are the multimeters of using always.Along with the continuous development of science and technology, surveying instrument is also transformed to the digital measurement instrument by the analogue measurement instrument.Digitized surveying instrument has the not available advantage of a lot of analogue measurement instruments, for example is convenient to store, conveniently carry out data analysis and calculating, strong interference immunity or the like.In addition; The advantage that digital measuring instrument also has a uniqueness is exactly; It can be connected with computing machine easily, forms a measuring system, utilizes computing machine rich in natural resources and strong functions to come surveying instrument is controlled and measurement result is carried out more complex processing.
Because above-mentioned advantage, the measuring system of being made up of computing machine and surveying instrument is by extensive studies and development.What deserves to be mentioned is,, make surveying instrument such as oscillograph in measuring system, only play the effect of data acquisition, and data processing of itself and Presentation Function become a kind of waste because computing machine possesses powerful data processing and Presentation Function.Therefore, measuring integrated circuit board gives birth to therefrom.Measure integrated circuit board and also be considered to be a kind of surveying instrument, different with oscillograph etc. is, it only possesses the effect of data acquisition, and itself does not carry out the processing or the demonstration of data.In use; Measuring integrated circuit board generally need be plugged on the IO interface of computing machine; For example, the measurement integrated circuit board can pass through VXI (VME extensions for Instrumentation) bus, PXI (PCIextensions for Instrumentation) bus, GPIB (General Purpose Interface Bus) and computer by serial (serial port) or parallel port (parallel port) is connected with computing machine.
Can know that according to above-mentioned introduction please with reference to Fig. 1, present measuring system 1 comprises a computing machine 11 and at least one surveying instrument 12, each surveying instrument 12 is connected with computing machine 11 through an interface 13.Computing machine 11 can be the equipment that PC (PC), server (server) or the client (client) that is connected to server etc. have data operation and processing capacity.Surveying instrument 12 is the equipment with data acquisition function, can be surveying instrument, for example is oscillograph, multimeter, frequency spectrograph, signal source, also can be to measure integrated circuit board, even can also be sensor etc.Interface 13 can be vxi bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth, and serial ports comprises USB interface, RS232 etc.
Because the diversity of interface 13, computing machine 11 generally all can mounting interface drivers 111, for example VISA drives, and is used to shield the difference that different interface 13 is brought.Computing machine 11 can pass on various command to carry out corresponding operation to surveying instrument 12 based on interface drive program 111 through normalized SCPI command set 112.SCPI command set 112 comprises many SCPI order, and different SCPI orders are used for surveying instrument 12 is carried out different operation, this operation comprise to the control of surveying instrument 12, to the parameter of surveying instrument 12 be configured, from surveying instrument 12 reading of data etc.
The SCPI order is various, and the user controls, measurement result is carried out various computings different surveying instrument 12 for ease, and computing machine 11 also comprises at least one application program 14.Application program 14 can be based on interface drive program 111 and SCPI command set 112; Use programming language tools such as VC, VB, LabVIEW etc.; Develop completion by developer, user oneself or other people, be used for that 11 pairs of surveying instruments of control computer 12 carry out various operations and measurement data is handled etc.For example, please with reference to Fig. 2, shown in Fig. 2 is the display interface 1490 that is applied to the application program of the disclosed frequency spectrograph of a kind of prior art.Display interface 1490 has a plurality of input windows 1491, and the user can import the various operations to surveying instrument 12 through input window 1491 easily, and replaces directly sending the SCPI order to surveying instrument 12; Display interface 1490 also has a waveform display window 1492, is used for the form of figure line computing machine 11 being shown from the measurement data that surveying instrument 12 obtains.
Because the diversity of surveying instrument 12, the specification of each surveying instrument 12, parameter or function etc. all are not quite similar.Generally need the different application program 14 of exploitation for different surveying instrument 12.Please with reference to Fig. 3, for example, power supply that model is DP1308A 121 corresponding application program 141; Frequency spectrograph that model is DSA1030A 122 corresponding application program 142.In addition, even if the surveying instrument of same kind 12 causes possibilities such as its specification, parameter or function different owing to its model, version are different, therefore also need develop different application program 14 sometimes.
In addition; For some special application scenarios; Need a plurality of identical or different surveying instruments 12 collaborative works to realize a certain measuring task; Therefore, a plurality of surveying instruments 123 can be corresponding an application program 143, need these a plurality of surveying instruments 123 during these application program 143 operations work simultaneously and could accomplish measuring task.
In addition, also can develop a plurality of application programs 144 for a surveying instrument 124 and be used for realizing respectively different functions again; For some surveying instrument 125; For example same type but the different surveying instrument of model; Also can have the situation that an application program 145 can compatible a plurality of surveying instruments 125, this moment, this application program 145 can be separately and each surveying instrument 125 cooperating.For example, compatible model of 145 while of application program is the frequency spectrograph 125 of DSA1030A and the frequency spectrograph 125 ' of DSA1000A.
Please with reference to Fig. 4, computing machine 11 comprises CPU114, internal memory 115, hard disk 116 and bus 117.CPU114, internal memory 115, hard disk 116 are connected with bus 117 respectively, and accomplish communication through bus 117.Application program 14 is a kind of executable programs, not by operation the time, is to be stored in the hard disk 116 usually.Be called and when moving, after the user opened the instruction of this application program 14 through the operating system input of computing machine 11, this application program 14 was loaded in the middle of the internal memory 115, just can be carried out by CPU114.
Please together with reference to Fig. 1 and Fig. 5, when application program 14 was carried out, computing machine 11 was carried out following steps in regular turn under the control of application program 14:
Step S1, instrument finding step;
Though according to aforementioned; Surveying instrument 12 is connected with computing machine 11 through an interface 13; This connection just pegs graft surveying instrument 12 and interface 13 get up, and also surveying instrument 12 is not configured, for example interface configuration; Obtain the address of surveying instrument 12, this computer-chronograph 11 can't be set up communication with surveying instrument 12.Therefore, the instrument finding step is mainly accomplished the configuration to surveying instrument 12, obtains the original address of a corresponding surveying instrument 12.Even if should be pointed out that to have obtained this original address, but this connection only is the connection on the physics rank, that is to say that computing machine 11 can utilize this original address to communicate by letter with this surveying instrument 12.And according to mentioned above; Because application program 14 exists diversified corresponding relation with surveying instrument 12; Accomplish the instrument finding step also and do not mean that application program 14 can control 11 pairs of these surveying instruments 12 of computing machine and operate and controlled; Also need further to discern the essential information of the surveying instrument 12 that is connected; Judge that whether the surveying instrument 12 that is connected matees with application program 14, or which platform surveying instrument 12 is complementary with application program 14 in many surveying instruments 12 that connected.
Step S2, instrument Connection Step;
Step S2 mainly accomplishes surveying instrument 12 and is connected with the logic of computing machine 11, on application, sets up the communication channel of surveying instrument 12 and computing machine 11.That is, need to accomplish the identification of instrument model, be application program 14 pairing surveying instruments 12 to guarantee this instrument, that is judge whether follow-up instrument application step can control this surveying instrument 12.
The concrete work of doing of step S2 is: receive this original address; Utilize this original address to send order to surveying instrument 12; Inquiry instrument essential information; This instrument essential information to surveying instrument 12 returns is resolved; Parse trade name, instrument model, instrument sequence number, instrument version number etc. according to this instrument essential information, parse trade name, instrument model, instrument sequence number, instrument version number etc. according to this and judge whether this surveying instrument 12 is surveying instruments 12 of application program 14 correspondences.
Step S3, instrument application step;
The work of step S3 comprises: one, utilize this original address control computer 11 and surveying instrument 12 to communicate, Content of Communication comprises the measurement data that receives surveying instrument 12, orders to surveying instrument 12 transmission SCPI and surveying instrument 12 controlled etc.; Two, a display interface is provided; Please with reference to Fig. 2; For example be the display interface of the application program of this frequency spectrograph, the measurement data that receives shown, receives the instruction of user input and be converted into corresponding SCPI order through modes such as input windows 1491 and be sent to surveying instrument 12 with forms such as curves through waveform display window 1492.
Please with reference to Fig. 6, application program 14 comprises that an instrument that is used for control computer 11 performing step S1 searches module 147, an instrument link block 148 and an instrument application module 149 that is used for control computer 11 performing step S3 that is used for control computer 11 performing step S2.
A kind of software (Measurement&Automation Explorer that can be used for communication between authenticating computer and the surveying instrument that instrument (NI) company of country releases; MAX) also can be through the original address of step S1 acquisition surveying instrument; But software just produces this original address, does not have follow-up step S2 and step S3.
Agilent (Agilent) company has also released a kind of software (Agilent Connection Expert) that can be used for communication between authenticating computer and the surveying instrument; This software also can produce original address and obtain the instrument essential information through step S1 and S2; But this software also just produces this original address and instrument essential information, does not also have subsequent step S3.
Introduction according to the front can know, along with the continuous increase of surveying instrument 12 kinds and model, and the continuous increase of various application demands, a large amount of exploitation of continuous quilt of application program 14, quantity significantly increases.This causes following problem: the model slight change of surveying instrument 12 just possibly cause again developing application 14; Search module 147, instrument link block 148 and instrument application module 149 and when developing application 14, still need develop instrument again; Make that the exploitation and the maintenance process of application program 14 are complicated, cost is higher.
Summary of the invention
Prior art application development and maintenance process are complicated in order to solve, the cost problem of higher, and the present invention provides a kind of measurement resource control system that application development and maintenance process simplification, cost are reduced.
Simultaneously, the present invention also provides the measurement resource control method that said measurement resource control system is adopted.
A kind of measurement resource control system; Be used to control surveying instrument with model name and application resource with series name; Said measurement resource control system comprises: a corresponding relation is set up parts; Be used to set up the corresponding relation of said model name and said series name, and said corresponding relation is saved to a look-up table; Dynamic application list producing parts are used for model name and said look-up table according to a selected surveying instrument, produce a dynamic application tabulation that comprises with said selected surveying instrument matched application resource.
Measure in the embodiment of resource control system in the present invention, said corresponding relation is set up parts and comprised: a corresponding relation display unit is used for the corresponding relation that said look-up table is preserved is shown; The newly-built parts of series name are used for a newly-built series name; Series name deletion parts are used for from the series name of a preservation of said look-up table deletion; The newly-built parts of model name are used for a newly-built model name; Model name deletion parts are used for from the model name of a preservation of said look-up table deletion.
Measure in the embodiment of resource control system in the present invention, said and selected surveying instrument matched application resource has and the corresponding series of the model name of said selected surveying instrument.
Measure in the embodiment of resource control system in the present invention, said dynamic application list producing parts comprise: a match information is obtained parts, is used for finding corresponding series name according to the model name of said selected surveying instrument at said look-up table; An application resource searching part is used for searching and said application resource with this series name according to said series name; A dynamic listing generates parts, is used for producing said dynamic application tabulation according to the said application resource with this series name that finds.
Measure in the embodiment of resource control system in the present invention, said corresponding relation comprises a series name and at least one said model name.
A kind of measurement resource control method; Control has the surveying instrument and the application resource with series name of model name; Said measurement resource control method comprises: a corresponding relation establishment step; Set up the corresponding relation of a model name and a series name, and said corresponding relation is saved to a look-up table; A dynamic application list producing step according to the model name and the said look-up table of a selected surveying instrument, produces a dynamic application tabulation that comprises with said selected surveying instrument matched application resource.
Measure in the embodiment of resource control method in the present invention, said corresponding relation establishment step comprises: a corresponding relation step display shows the corresponding relation of preserving in the said look-up table; The newly-built step of series name, a newly-built series name; A series name deletion step, the series name of a preservation of deletion from said look-up table; The newly-built step of model name, a newly-built model name; A model name deletion step, the model name of a preservation of deletion from said look-up table.
Measure in the embodiment of resource control method in the present invention, said and selected surveying instrument matched application resource has and the corresponding series of the model name of said selected surveying instrument.
Measure in the embodiment of resource control method in the present invention, said dynamic application list producing step comprises: a match information obtaining step, find corresponding series name according to the model name of said selected surveying instrument in said look-up table; An application resource searching step is searched and said application resource with this series name according to said series name; A dynamic listing generates step, produces said dynamic application tabulation according to the said application resource with this series name that finds.
Measure in the embodiment of resource control method in the present invention, said corresponding relation comprises a series name and at least one said model name.
Measurement resource control system of the present invention has following beneficial effect at least with the measurement resource control method:
The measurement resource control system of the 4th embodiment is because the corresponding relation of the model name of setting up surveying instrument that can be artificial and series name; And said corresponding relation is saved to a look-up table; Therefore; Make that the naming rule of model name and series name can be free more, model name is more convenient with the expansion of the corresponding relation of series name.Even the naming rule of series name and model name need not to follow any rule, need they be saved to the foundation that look-up table can be accomplished corresponding relation.In addition, measure the corresponding relation of setting up that resource control system can also interim, delete the back that finishes to be used.Therefore compare the mode of regulation naming rule, measure resource control system 7 and have more dirigibility.
Description of drawings
Fig. 1 is a kind of modular structure synoptic diagram of traditional measuring system.
Fig. 2 is a kind of display interface synoptic diagram of existing application program.
Fig. 3 is the synoptic diagram of surveying instrument and application matches relation.
Fig. 4 is a kind of modular structure synoptic diagram of traditional calculating machine.
Fig. 5 is that a kind of traditional application program operation is performed flow chart of steps.
Fig. 6 is the software module structure synoptic diagram of application program shown in Figure 5.
Fig. 7 is that the present invention measures the modular structure synoptic diagram that resource control system first embodiment is applied to a measuring system.
Fig. 8 is the structural representation of the computing machine that measuring system adopted among Fig. 7.
Fig. 9 is the synoptic diagram of surveying instrument and application matches relation.
Figure 10 is the software module structure synoptic diagram that the present invention measures the application program that resource control system first embodiment manages.
Figure 11 is that the present invention measures resource control system first embodiment performed flow chart of steps of when work.
Figure 12 is the display interface figure that the present invention measures resource control system first embodiment.
Figure 13 is the surface chart that the present invention measures the gpib interface parameter setting of resource control system first embodiment.
Figure 14 is the surface chart that the present invention measures the RS232 interface parameters setting of resource control system first embodiment.
Figure 15 is the display interface figure that the present invention measures the on-line instrument tabulation of resource control system first embodiment.
Figure 16 is the concrete steps process flow diagram that the present invention measures dynamic application list producing step in resource control system first embodiment.
Figure 17 is the display interface figure that the present invention measures the dynamic application tabulation of resource control system first embodiment.
Figure 18 is the synoptic diagram that the present invention measures the application program store files folder of resource control system first embodiment.
Figure 19 is the later interface synoptic diagram of startup application program that the present invention measures resource control system first embodiment.
Figure 20 is that the present invention measures the module diagram that resource control system first embodiment is realized Figure 11 process step.
Figure 21 is the module diagram that the dynamic application list producing loses M123 among Figure 20.
Figure 22 is that the present invention measures resource control system second embodiment performed flow chart of steps of when work.
Figure 23 is the display interface figure that the present invention measures the list of application of resource control system second embodiment.
Figure 24 is that the present invention measures the display interface figure that user in the list of application of resource control system second embodiment selects an application program.
Figure 25 is the display interface figure that the present invention measures the dynamic on-line instrument tabulation of resource control system second embodiment.
Figure 26 is that the present invention measures the display interface figure that user in the dynamic on-line instrument tabulation of resource control system second embodiment selects a surveying instrument.
Figure 27 is that the present invention measures the module diagram that resource control system second embodiment is realized Figure 22 process step.
Figure 28 is that the present invention measures resource control system the 3rd embodiment performed flow chart of steps of when work.
Figure 29 is that the present invention measures the list of application of resource control system the 3rd embodiment and the display interface figure of on-line instrument tabulation.
Figure 30 is user that the present invention measures resource control system the 3rd embodiment selects a surveying instrument in the on-line instrument tabulation in Figure 26 display interface figure.
Figure 31 is user that the present invention measures resource control system the 3rd embodiment selects an application program in the list of application in Figure 26 display interface figure.
Figure 32 is the display interface figure that the present invention measures the dynamic application tabulation of resource control system the 3rd embodiment.
Figure 33 is the display interface figure that the present invention measures the dynamic on-line instrument tabulation of resource control system the 3rd embodiment.
Figure 34 is the display interface figure that selects an application program in the dynamic application tabulation of user in Figure 29.
Figure 35 is the display interface figure that selects a surveying instrument in the dynamic on-line instrument tabulation of user in Figure 30.
Figure 36 is that the present invention measures the module diagram that resource control system the 3rd embodiment is realized Figure 28 process step.
Figure 37 is that the present invention measures resource control system the 4th embodiment performed flow chart of steps of when work.
Figure 38 is the window synoptic diagram of the present invention when measuring resource control system the 4th embodiment and setting up corresponding relation.
Figure 39 is the concrete steps process flow diagram that the present invention measures step S423 in resource control system the 4th embodiment.
Figure 40 is that the present invention measures the module diagram that resource control system the 4th embodiment is realized Figure 37 process step.
Figure 41 is that the present invention measures the module diagram that resource control system the 4th embodiment is realized Figure 39 process step.
Embodiment
Introduce first embodiment that the present invention measures resource control system below.
Please refer to Fig. 7, measure resource control system 4 and be applied in the measuring system 2.Measuring system 2 comprises a plurality of measurement resources 20 and the measurement resource control system 4 that is used to manage and control these a plurality of measurement resources 20.These a plurality of measurement resources 20 comprise a plurality of surveying instruments 22 and a plurality of application resources, and in this embodiment, this application resource is an application program 24.
Surveying instrument 22 is the equipment with data acquisition function, can be surveying instrument, for example is oscillograph, multimeter, frequency spectrograph, signal source, also can be to measure integrated circuit board, even can also be sensor etc.Measuring resource control system 4 is realized by computing machine and operation measurement resource control system software on computers.Computing machine can be the equipment that PC, panel computer, server or the client that is connected to server etc. have data operation and processing capacity.Surveying instrument 22 is connected with measurement resource control system 4 through interface, and interface can be vxi bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth.
Please with reference to Fig. 8, in the middle of this embodiment, the computing machine 41 that measurement resource control system 4 is adopted comprises CPU414, internal memory 415, storer 416, bus 417, display screen 418 and peripheral hardware 419.CPU414, internal memory 415, storer 416 are connected with bus 417 respectively; Display screen 418 is connected with bus 417 through video card 419; Peripheral hardware 419 links to each other with bus 417 through various interface, and CPU414, internal memory 415, storer 416, display screen 418 and peripheral hardware 419 are accomplished through bus 417 and communicated by letter.Storer 416 is made up of hard disk, can also be flash memory, CD, disk etc. certainly.Peripheral hardware 419 comprises mouse, keyboard etc.
Because the diversity of surveying instrument 22, the specification of each surveying instrument 22, parameter or function etc. all are not quite similar.Generally need the different application program 24 of exploitation for different surveying instrument 22, promptly each surveying instrument 22 has its corresponding application program 24.Please with reference to Fig. 9, for example, power supply that model is DP1308A 221 corresponding application program 241; Frequency spectrograph that model is DSA1030A 222 corresponding application program 242.In addition, even if the surveying instrument of same kind 22 causes possibilities such as its specification, parameter or function different owing to its model, version are different, therefore also need develop different application program 24 sometimes.
In addition; For some special application scenarios; Need a plurality of identical or different surveying instruments 22 collaborative works to realize a certain measuring task; Therefore, a plurality of surveying instruments 223 can be corresponding an application program 243, need these a plurality of surveying instruments 223 during these application program 243 operations work simultaneously and could accomplish measuring task.
In addition, also can develop a plurality of application programs 244 for a surveying instrument 224 and be used for realizing respectively different functions again; For some surveying instrument 225; For example same type but the different surveying instrument of model; Also can have the situation that an application program 245 can compatible a plurality of surveying instruments 225, this moment, this application program 245 can be separately and each surveying instrument 225 cooperating.For example, compatible model of 245 while of application program is the frequency spectrograph 225 of DSA1030A and the frequency spectrograph 225 ' of DSA1000A.
Application program 24 is a kind of executable programs, not by operation the time, is to be stored in the storer 416 of computing machine 41.Please with reference to Figure 10, application program 24 comprises instrument application module 249.Because application program 24 no longer comprises instrument and searches module and instrument link block; Therefore only through executive utility 24 can not control computer 41 acquisition surveying instruments 22 original address; And resource control systems 4 to be measured such as needs pass to application program 24 with original address, promptly can not be only 24 come control computer 41 to set up with surveying instrument 22 to communicate by letter through running application.Therefore user's 24 controls that can not realize that directly run application to surveying instrument 22.
Introduce to measure resource control system 4 below and be and how to accomplish the management of measuring resource 20 and control.
Please, measure resource control system 4 and carry out following steps with reference to Figure 11:
Step S11, instrument resource management process: connect with said surveying instrument, produce an original address and an instrument sign corresponding with said surveying instrument.Wherein, step S11 comprises step S111 and step S112:
Step S111, instrument finding step: the said original address that produces said surveying instrument;
The work of step S111 comprises the original searching work of accomplishing instrument resource, promptly find 41 that be connected with computing machine, be in the surveying instrument 22 that (is also referred to as presence) under the open state, and obtain an original address.Because surveying instrument 22 can link to each other with computing machine 41 through different interfaces, therefore to different interfaces, its obtain manner of searching mode and original address also is not quite similar.
Type of service according to interface is divided three classes the mode of searching: the first kind: search automatically, the plug and play mode triggers finding step, for example the USB-TMC interface; Second type: semi-automatic searching needs manual triggers finding step or configure trigger condition to trigger finding step, for example the LAN-VX-11 interface; The 3rd type: manually search, the mode that connects instrument through the input configuration data realizes searching, for example the RS232 interface.
For searching automatically; With the USB-TMC interface is the example explanation; Be based on Universal Serial Bus Testand Measurement Class Specification (USBTMC) and Universal Serial Bus Test andMeasurement Class, Subclass USB488 Specification (USBTMC-USB488).Surveying instrument 22 connects computing machine 41 back operation systems (for example Windows) can be its installing drive (Windows Vista and 7 can install automatically, and other versions need manual installation).After accomplishing drive installation; Measure the action triggers that the measured instrument 22 of resource control system 4 meetings connects computing machines 41; The USB-TMC that measurement resource control system 4 calls VISA searches the address information that function obtains the USB-TMC interface, and this address information is exactly this original address.
Searching for semi-automatic, is example explanation with the LAN interface, is based on searching of LAN interface instrument that VX-11 agreement and mDNS agreement accomplish.Because there are two cover agreements on existing LAN interface upper strata and deposit (VX-11 and mDNS) so its mode of searching is had two covers.
For VX-11 interface instrument, the mode of searching is accepted the response of this message within a certain period of time for searching message to inner transmission of LAN, and the IP of response is regarded as surveying instrument to be determined, and the IP of this response constitutes this original address.Please with reference to Figure 12, have " LAN " button 140 on the display interface of measurement resource control system 4, the user should trigger step S11 by " LAN " button 140 through clicking.
To with mDNS interface instrument (satisfy this agreement and also satisfy the VX-11 agreement); The instrument of mDNS interface is supporting also to support the mode of searching based on mDNS on the above-mentioned basis of searching mode; Promptly when satisfying the equipment access network of mDNS agreement, measure resource control system 4 and can receive the connection request report of this equipment; Measure resource control system 4 and obtain this resource information through this report, this resource information constitutes this original address.Measure resource control system 4 and also comprise a regularly online situation authentication function of resource, can remove this surveying instrument 22 automatically if there is mDNS equipment to break off connection measurement resource control system 4.
For manually searching, be the example explanation with the gpib interface, be based on searching of IEEE488.1 and IEEE488.2 agreement completion.Please with reference to Figure 13, the user connects instrument through input GPIB parameter in window 150, and the parameter of input constitutes this original address 151.
For manually searching, be the example explanation with the RS232 interface, be based on searching that EIA 232 standards accomplish.Please with reference to Figure 14, the user connects instrument through input RS232 parameter in window 160, and the parameter of input constitutes this original address.
Step S112, instrument Connection Step: send order according to said original address to said surveying instrument, obtain the instrument essential information of said surveying instrument, produce said instrument sign according to said instrument essential information.
Measure resource control system 4 and connect instrument according to this original address, carry out communication with this instrument, the content of communication is to send the SCPI order to surveying instrument 22, promptly " * IDN? " Order.This order is the basic command in the SCPI standard, to certain original address sends " * IDN? " Order and can not respond this order thinks that promptly this original address is unusual, then is not identified as surveying instrument 22 thereby refuses record, otherwise promptly by record.At " * IDN? " Can obtain the instrument essential information in the return data of order; This instrument essential information has the form of SCPI standard definition; Resolve this instrument essential information and can obtain corresponding trade name and be, instrument model, instrument sequence number, instrument version number etc., and with at least a portion of this instrument essential information instrument sign as this surveying instrument 22.
For example: the original address that step S11 produces is: USB0::0x0400::0x09C4::DSA1A113600019::INSTR; Step S12 then sends to original address USB0::0x0400::0x09C4::DSA1A113600019::INSTR: " * IDN? " The instrument essential information that meets with a response: " XXXX; DSA1030A, DSA1A113600019,00.01.03.01.01 ".Obtain " manufacturer's information: " XXXX ", " type information: DSA1030A " etc. through resolving this instrument essential information.
Please, in this embodiment, measure resource control system 4 with the instrument sign 220 of this type information as this surveying instrument 22 with reference to Figure 15.For example, the original address in the previous example is: the instrument of the surveying instrument 22 of USB0::0x0400::0x09C4::DSA1A113600019::INSTR is designated " DSA1030A ".Again for example, the instrument of another surveying instrument sign 220 is " DS1204B ".In other embodiments, this instrument sign can also comprise trade name in this instrument essential information, instrument sequence number, instrument version number etc., perhaps can also comprise this original address.
Step S12, input step: identify from said surveying instrument through said instrument and to select a selected surveying instrument and from said application resource, to select an application resource for use; Wherein, step S12 comprises step S121~S124:
Step S121, instrument list producing step:, produces one and identify corresponding on-line instrument with said instrument and tabulate according to said instrument sign;
Please with reference to Figure 15; Measure resource control system 4 and on display interface, produce an on-line instrument tabulation 410; On-line instrument tabulation 410 comprises whole instrument signs 220 that step S11 produces; Why adopt instrument sign 220 to represent the advantage of a surveying instrument to be: only represent surveying instrument very not directly perceived with original address, the user is difficult to remember what surveying instrument which original address represents.For example the instrument among Figure 15 sign " DS1204B ", " DSA1030A " demonstrate very intuitively be connected with computing machine 41 which surveying instrument 22 all arranged.Each instrument identifies 220 unique correspondences and a surveying instrument that has connected 22, and each also unique correspondence of 220 while of instrument sign an original address.
Step S122, instrument are selected step: from said on-line instrument tabulation, select a said surveying instrument as said selected surveying instrument;
Please, measure the instrument selection instruction that resource control system 4 receives user's input, come from on-line instrument tabulation 410, to select an instrument sign 220 with reference to Figure 15.The user has selected instrument sign 220, has just selected corresponding surveying instrument 22 as selected surveying instrument.In this embodiment, the user imports this instrument selection instruction through the mode of 410 instrument sign 220 in the click on-line instrument tabulation, has selected instrument sign 2201 to be the surveying instrument of DSA1030A.Certainly, the user can also import this instrument selection instruction through peripheral hardwares such as keyboards.
Step S123, dynamic application list producing step: produce a dynamic application tabulation that comprises the application resource that is complementary with said selected surveying instrument according to said selected surveying instrument and said application resource; Please with reference to Figure 16, in this embodiment, step S123 specifically comprises: match information obtaining step S1231, application resource searching step S1232 and dynamic listing generate step S1233.
Match information obtaining step S1231: the said instrument essential information according to said selected surveying instrument produces a match information.Match information obtaining step S1231 comprises a series name obtaining step S12311 and a model name obtaining step S 12312.Series name obtaining step S12311: the affiliated series name that produces said selected surveying instrument according to the instrument essential information of said selected surveying instrument.Model name obtaining step: the affiliated model name that produces said selected surveying instrument according to the instrument essential information of said selected surveying instrument.
In this embodiment, precedingly detail, the instrument essential information comprises trade name, instrument model, instrument sequence number, instrument version number etc., measures resource control system 4 and produces said match information according to this instrument model.Match information in this embodiment comprises the affiliated series name and the affiliated model name of said selected surveying instrument.For example; Please with reference to Figure 17; The user has selected the surveying instrument conduct selected surveying instrument of instrument sign 220 for DAS 1030A; Can know that through this selected surveying instrument the instrument model in its instrument essential information is " DSA1030A ", this instrument model " DSA1030A " explains that not only the instrument model of this selected surveying instrument is DAS1030A, and can know that this selected surveying instrument belongs to DAS1000A series; Therefore can confirm the affiliated series " DSA1000A " by name of this selected surveying instrument, affiliated model is called " DSA1030A ".The execution sequence that should be pointed out that series name obtaining step S12311 and model name obtaining step S12312 can be put upside down each other, also can the while executed in parallel.
As other embodiment; The instrument essential information comprises instrument model and instrument series number; Therefore model name under can confirming through the instrument model in the instrument essential information of selected surveying instrument is through series number name under the instrument series number in the instrument essential information of selected surveying instrument.
Please with reference to Figure 16, application resource searching step S1232: search the application program that is complementary with said selected surveying instrument according to said match information.Application resource searching step S1232 specifically comprises a generic resource finding step S12321, a series name finding step S12322 and a model name finding step S12323.Generic resource finding step S12321: a common name according to using in the essential information is searched and whole said surveying instrument matched application programs; Series name finding step S12322: according to series name under said search with said selected surveying instrument under serial matched application program; Model name finding step S12323: according to model name under said search with said selected surveying instrument under model matched application program.
In this embodiment, application program 24 has one and uses essential information, and this application basic information packet is drawn together series name, model name and common name.Comprise in the middle of the file name of this application program 24 series name, model name and common name one of them.Comprise common name in the middle of the file name of this application program 24, represent that this application program 24 can mate surveying instrument 22 arbitrarily.Comprise series name in the middle of the file name of this application program 24, represent that this application program 24 can mate the surveying instrument 22 with a series of, promptly can mate this series surveying instrument 22 of all models under one's name.Comprise model name in the middle of the file name of this application program 24, represent the surveying instruments 22 of 24 same model name of coupling of this application program.Explanation please with reference to Figure 18, is being stored a plurality of application programs 24 in the storer 416 of computing machine 41 for example, and each application program 24 leaves under the file of the same name with it.Wherein, name is called in the title of application program 2401 of " Instrument_Common_XXXX_ SCPIControlPanel " and comprises common name " Instrument_Common ", representes that therefore this application program 2401 can mate any surveying instrument 22.Name is called in the title of application program 2402 of " XXXX_DSA1000A_Too1s " and comprises series name " DSA1000A ", representes that therefore this application program 2402 can mate the surveying instrument 22 that belongs to DSA1000A series.Name is called in the title of application program 2403 of " XXXX_DSA1030A_Tools " and comprises model name " DSA1030A ", representes that therefore 2403 couplings of this application program model name is all the surveying instrument 22 of DSA1030A.
Therefore, generic resource finding step S12321 can find application program 2401 through searching the application program that comprises common name " Instrument_Common "; Series name finding step S12322 can find application program 2402 according to affiliated series name " DSA1000A "; Model name finding step S12323 can find application program 2403 according to affiliated model name " DSA1030A ".
As other embodiment, can also in the filename of application program 24, write down the instrument essential information of being mated partly or entirely.
As other embodiment, can also in the supporting paper of application program 24, write down the instrument essential information of being mated partly or entirely.
As other embodiment, can also in the registration table of operating system, write down the part or all of of this application program 24 and the instrument essential information of being mated.
Dynamic listing generates step S1233: produce said dynamic application tabulation according to the said application program that is complementary that finds.
Please,, generate this dynamic application tabulation 240 according to the application program 2401,2402,2403 that step S1232 finds with reference to Figure 17.What this dynamic application tabulation 240 comprised is and selected surveying instrument matched application program to supply the user further to select.Dynamic application tabulation 240 has been got rid of and the unmatched application program of selected surveying instrument, avoids being interfered when the user is selected, and is convenient to select fast and accurately.
Step S124, application choice step: from said dynamic application tabulation, select said application resource for use;
Please, measure the application choice instruction that resource control system 4 receives user's input, be used for selecting an application program, as an application program for use in dynamic application tabulation 240 with reference to Figure 17.This application choice instruction can be a click application program 2401.That is, the user selects name to be called the application program of " Instrument_Common_XXXX_SCPI Control Panel ".
Step S13, resource matched step: the pairing original address of said selected surveying instrument is sent to said application resource for use.
Please with reference to Figure 19; Measure resource control system 4 and should select surveying instrument and application program for use 2401 according to what be used to choose; The original address of selected surveying instrument is passed to application program 2401 for use; Make this application program 2401 for use that the communication object of confirming arranged, use this original address to communicate by letter with selected surveying instrument.After this, the user just can use this application program 2401 for use to control selected surveying instrument normally.
Particularly, for the application program 24 of expansion .exe by name, measurement resource control system 4 uses the command line mode of Windows band parameters when starting this application program 24, to accomplish original address to application program 24 transmission; For the application program 24 of VI form, measure resource control system 4 and use the dynamic load mode of VI to accomplish the original address transmission.
Please,, measure resource control system 4 and comprise an instrument resource control assembly M11, an input block M12 and a resource matched parts M13 in order to realize above-mentioned each step with reference to Figure 20.This instrument resource control assembly M11 is used for connecting with said surveying instrument, produces an original address and an instrument sign corresponding with said surveying instrument; This input block M12 is used for identifying from said surveying instrument through said instrument selecting a selected surveying instrument and from said application resource, selecting an application resource for use; This resource matched parts M13 is used for the pairing original address of said selected surveying instrument is sent to said application resource for use.
Instrument resource control assembly M11 comprises that an instrument resource searches parts M111 and an instrument resource link M112.This instrument resource is searched the said original address that parts M111 is used to produce said surveying instrument; This instrument resource link M112 is used for sending order according to said original address to said surveying instrument, obtains the instrument essential information of said surveying instrument, produces said instrument sign according to said instrument essential information.
Input block M12 comprises an instrument list producing parts M121, an instrument alternative pack M122, a dynamic application list producing parts M123 and an application choice parts M124.Instrument list producing parts M121 is used for according to said instrument sign, produces one and identifies corresponding on-line instrument with said instrument and tabulate; Instrument alternative pack M122 is used for selecting a said surveying instrument as said selected surveying instrument from said on-line instrument tabulation; Dynamic application list producing parts M123 is used for producing a dynamic application tabulation that comprises the application resource that is complementary with said selected surveying instrument according to said selected surveying instrument and said application resource; Application choice parts M124 is used for selecting said application resource for use from said dynamic application tabulation.
Please with reference to Figure 21, dynamic application list producing parts M123 comprises that match information obtains parts M1231, application resource searching part M1232 and dynamic listing and generate parts M1233.Match information is obtained parts M1231 and is used for producing a match information according to the said instrument essential information of said selected surveying instrument.Application resource searching part M1232 is used for searching the application program that is complementary with said selected surveying instrument according to said match information.Dynamic listing generates parts M1233 and is used for producing said dynamic application tabulation according to the said application program that is complementary that finds.
Match information is obtained parts M1231 and is comprised that a series name is obtained parts M12311 and a model name is obtained parts M12312.The series name is obtained the affiliated series name that parts M12311 is used for producing according to the instrument essential information of said selected surveying instrument said selected surveying instrument.Model name is obtained the affiliated model name that parts M12312 is used for producing according to the instrument essential information of said selected surveying instrument said selected surveying instrument.
Application resource searching part M1232 comprises that specifically a generic resource is searched parts M12321, series name searches parts M12322 and a model name is searched parts M12323.Generic resource is searched parts M12321 and is used for searching and whole said surveying instrument matched application programs according to a common name using essential information; Series name search parts M12322 be used for according to series name under said search with said selected surveying instrument under serial matched application program; Model name search parts M12323 be used for according to model name under said search with said selected surveying instrument under model matched application program.
Introduce second embodiment that the present invention measures resource control system below.
Please with reference to Figure 22, execution in step was different when the key distinction of the measurement resource control system 5 of second embodiment and the measurement resource control system 4 of first embodiment was work.Wherein, it is identical with step S11 to measure the step S21 that resource control system 5 carries out, and step S23 is identical with step S13, and the included step of the included step of step S22 and step S12 is different.
Step S21, instrument resource management process: connect with said surveying instrument, produce an original address and an instrument sign corresponding with said surveying instrument.
Identical with the step S11 of the measurement resource control system 4 of first embodiment; Step S21 also comprises step S211 and S212; Be connected with surveying instrument 22 in the same way; The original address of generation and each surveying instrument 22, and obtain each surveying instrument 22 pairing instrument essential information, and produce the instrument sign of a correspondence according to this instrument essential information.
Step S22, input step: receive an instrument selection instruction and an application choice instruction of user's input; Said instrument selection instruction is used for selecting a selected surveying instrument from said instrument sign, and said application choice instruction is used for selecting an application program for use from said application program; Wherein, step S22 comprises step S221~S224:
Step S221, list of application produce step: according to said application resource, produce one and the corresponding list of application of said application resource;
Please with reference to Figure 23, measure resource control system 5 and on display interface 58, produce a list of application 540, list of application 540 comprises the pairing application name 541 of whole application programs, is used for supplying the user to select application program for use.
Step S222, application choice step: from said list of application, select a said said application resource as said application resource for use;
Please, measure the application choice instruction that resource control system 5 receives user's input, come from list of application 540, to select an application name 541, and then select this application name 541 pairing application programs with reference to Figure 24.In this embodiment, comprising match information in the application name 541 of this application program, promptly manufacturer's information and the type information in the instrument essential information just can be confirmed the surveying instrument corresponding with this application program through this manufacturer's information and type information.
Step S223, dynamic instrument list producing step: produce a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with said application resource for use according to said application resource for use and said surveying instrument;
Please with reference to Figure 25; The match information that the application name 541 that measurement resource control system 5 is selected according to the user is comprised is retrieved the surveying instrument of whole connections; Find surveying instrument with this application name 541 couplings; And the instrument sign 521 of the surveying instrument of these couplings shown that these instruments signs 521 constitute a dynamic on-line instrument tabulation 520.
Step S224, instrument alternative pack: from said dynamic on-line instrument tabulation, select said selected surveying instrument.
Please with reference to Figure 26; Measure the instrument selection instruction that resource control system 5 receives user's input; Come from dynamic on-line instrument tabulation 520, to select an instrument sign 521, and then selected this instrument to identify 521 pairing surveying instruments as selected surveying instrument.
Step S23, resource matched step: the pairing original address of said selected surveying instrument is sent to said application resource for use.
The original address that the instrument that measurement resource control system 5 is selected the user identifies 521 pairing surveying instruments passes to the application program that the user selects.Make application program that the communication object of confirming arranged, use this original address to communicate by letter with surveying instrument.After this, the user just can use this application program to come measuring equipment normally.
Please,, measure resource control system 4 and comprise an instrument resource control assembly M21, an input block M22 and a resource matched parts M23 in order to realize above-mentioned each step with reference to Figure 27.This instrument resource control assembly M21 is used for connecting with said surveying instrument, produces an original address and an instrument sign corresponding with said surveying instrument; This input block M22 is used for identifying from said surveying instrument through said instrument selecting a selected surveying instrument and from said application resource, selecting an application resource for use; This resource matched parts M23 is used for the pairing original address of said selected surveying instrument is sent to said application resource for use.
Input block M22 comprises a list of application production part M221, an application choice parts M222, a dynamic instrument list producing parts M223 and an instrument alternative pack M224.A list of application production part M221 is used for according to said application resource, produces one and the corresponding list of application of said application resource; Application choice parts M222 is used for selecting a said said application resource as said application resource for use from said list of application; Dynamically instrument list producing parts M223 is used for producing a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with said application resource for use according to said application resource for use and said surveying instrument; Instrument alternative pack M224 is used for selecting said selected surveying instrument from said dynamic on-line instrument tabulation.
Introduce the 3rd embodiment that the present invention measures resource control system below.
Please with reference to Figure 25, execution in step was different when the key distinction of the measurement resource control system 6 of the 3rd embodiment and the measurement resource control system 4 of first embodiment was work.Wherein, it is identical with step S11 to measure the step S31 that resource control system 6 carries out, and step S33 is identical with step S13, and the included step of the included step of step S32 and step S12 is different.
Step S31, instrument resource management process: connect with said surveying instrument, produce an original address and an instrument sign corresponding with said surveying instrument.
Identical with the step S11 of the measurement resource control system 4 of first embodiment; Step S31 also is connected with surveying instrument 22 in the same way; Produce original address with each surveying instrument 22; And obtain each surveying instrument 22 pairing instrument essential information, and produce the instrument sign of a correspondence according to this instrument essential information.
Step S32, input step: receive an instrument selection instruction and an application choice instruction of user's input; Said instrument selection instruction is used for selecting a selected surveying instrument from said instrument sign, and said application choice instruction is used for selecting an application program for use from said application program; Wherein, step S32 comprises step S321~S324:
Step S321, measure the Resources list and produce step: according to said instrument sign, produces one and identify corresponding on-line instrument tabulation with said instrument and be used for, produce one and the corresponding list of application of said application resource according to said application resource;
Please with reference to Figure 26; Measure resource control system 6 and on display interface 68, produce 620 and list of applications 640 of an on-line instrument tabulation; On-line instrument tabulation 620 is comprising the surveying instrument 22 pairing instrument signs 621 that all connected, and 640 of list of applications are comprising the application name 641 of whole application program 24.
Step S322, the first resource selection step: from said on-line instrument tabulation and said list of application, select first resource for use, said first resource for use is in said selected surveying instrument and the said application resource for use;
Please with reference to Figure 27, measure the instruction that resource control system 6 receives user's input, the user can import an instrument selection instruction, from on-line instrument tabulation 620, selects an instrument sign 621, and then selects this instrument to identify 621 pairing surveying instruments; Please, also can import an application choice instruction, from list of application 640, select an application name 641, and then select this application name 641 pairing application programs with reference to Figure 28.
Step S323, dynamic second the Resources list produce step: if said first resource for use is said application resource for use; Then produce a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with said application resource for use, at least a portion that said dynamic on-line instrument tabulation is said on-line instrument tabulation according to said application resource for use and said surveying instrument; If said first resource for use is said selected surveying instrument; Then produce a dynamic application tabulation that comprises the application resource that is complementary with said selected surveying instrument according to said selected surveying instrument and said application resource, said dynamic application tabulation is at least a portion of said list of application;
Please with reference to Figure 29; If first selection instruction is the application choice instruction; The instrument essential information that the application name 641 that measurement resource control system 6 is selected according to the user is comprised is retrieved the surveying instrument of whole connections; Find the surveying instrument with this application name 641 coupling, and the instrument sign 621 of the surveying instrument of these couplings is shown that these instruments signs 621 constitute a dynamic on-line instrument tabulation 660.Please with reference to Figure 30; If first selection instruction is the instrument selection instruction; Measure 6 instrument essential informations of resource control system according to the selected instrument sign 621 of this instrument selection instruction; Application programs is retrieved, and obtains and surveying instrument matched application program, and constitutes a dynamic application tabulation 670 by the application name 641 of these matched application programs.
Step S324, the second resource selection step:, then from said dynamic on-line instrument tabulation, select said selected surveying instrument if said first resource for use is said application resource for use; If said first resource for use is said selected surveying instrument, then from said dynamic application tabulation, select said application resource for use.
Please with reference to Figure 31; If what produce is dynamic on-line instrument tabulation 660; Measure the instrument selection instruction that resource control system 6 receives user's input; Come from dynamic on-line instrument tabulation 660, to select an instrument sign 621, and then selected this instrument to identify 621 pairing surveying instruments as selected surveying instrument.Please with reference to Figure 32; If what produce is dynamic application tabulation 670; Measure resource control system 6 and receive the application choice instruction that the user imports; Be used for selecting an application name 641, represent to select this application name 641 pairing application programs, as an application program for use in dynamic application tabulation 670.
Step S33, resource matched step: the pairing original address of said selected surveying instrument is sent to said application resource for use.
The original address that the instrument that measurement resource control system 6 is selected the user identifies 621 pairing surveying instruments passes to the application program that the user selects.Make application program that the communication object of confirming arranged, use this original address to communicate by letter with surveying instrument.After this, the user just can use this application program to come measuring equipment normally.
Please,, measure resource control system 4 and comprise an instrument resource control assembly M31, an input block M32 and a resource matched parts M33 in order to realize above-mentioned each step with reference to Figure 36.This instrument resource control assembly M31 is used for connecting with said surveying instrument, produces an original address and an instrument sign corresponding with said surveying instrument; This input block M32 is used for identifying from said surveying instrument through said instrument selecting a selected surveying instrument and from said application resource, selecting an application resource for use; This resource matched parts M33 is used for the pairing original address of said selected surveying instrument is sent to said application resource for use.
Input block M32 comprises that one is measured the Resources list production part M321, first a resource selection parts M322, dynamic second the Resources list production part M223 and one second resource selection parts M224.
Measure the Resources list production part M321, be used for, produces one and identify corresponding on-line instrument tabulation with said instrument and be used for, produce one and the corresponding list of application of said application resource according to said application resource according to said instrument sign;
The first resource selection parts M322 is used for selecting first resource for use from said on-line instrument tabulation and said list of application, and said first resource for use is in said selected surveying instrument and the said application resource for use;
Dynamic second the Resources list production part M323; If being used for said first resource for use is said application resource for use; Then produce a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with said application resource for use, at least a portion that said dynamic on-line instrument tabulation is said on-line instrument tabulation according to said application resource for use and said surveying instrument; If said first resource for use is said selected surveying instrument; Then produce a dynamic application tabulation that comprises the application resource that is complementary with said selected surveying instrument according to said selected surveying instrument and said application resource, said dynamic application tabulation is at least a portion of said list of application;
The second resource selection parts M324 is said application resource for use if be used for said first resource for use, then from said dynamic on-line instrument tabulation, selects said selected surveying instrument; If said first resource for use is said selected surveying instrument, then from said dynamic application tabulation, select said application resource for use.
Introduce the 4th embodiment that the present invention measures resource control system below.
Please with reference to Figure 37, execution in step was different when the key distinction of the measurement resource control system 7 of the 4th embodiment and the measurement resource control system 4 of first embodiment was work.Wherein, it is identical with step S11 to measure the step S41 that resource control system 7 carries out, and step S43 is identical with step S13, and the included step of the included step of step S42 and step S42 is different.In addition, measure resource control system 7 and also increased step S40.That carries out down the step when measuring resource control system 7 work carries out detailed description suddenly.
Step S40, corresponding relation establishment step: set up the corresponding relation of model name with the series name of surveying instrument, and said corresponding relation is saved to a look-up table;
Measurement resource control system 7 offers one of user and freely sets up the model name of surveying instrument and the mechanism of the corresponding relation of series name; Each corresponding relation comprises a series name and at least one model name, and this corresponding relation representes that wherein all model name all belong to corresponding series under one's name.For example, to comprise the instrument of model " DSA1030A " by name be a corresponding relation to the series of series by name " DSA1000A ".
Measure resource control system 7 inside and have a look-up table that is used to write down whole corresponding relations, and this look-up table is that non-power-failure is prone to lose, therefore can under the situation of outage, still preserve this corresponding relation, use when supplying to power on once more.This corresponding relation with " series name=model name 1, model name 2 ..., model name n " form be kept in this look-up table.For example, DSA1000A=DSA1030A.
Please with reference to Figure 38, measure corresponding relation of resource control system 7 generations and set up window 70, window 70 comprises a corresponding relation display window 701, is used for the corresponding relation that said look-up table is preserved is shown.In this embodiment; Corresponding relation display window 701 only shows series names whole in the look-up table under original state; The user selects some series names through click, and its corresponding model name is just listed with the mode of indentation certain distance below this serial name of being clicked.For example, below series name DSA1000A, model name DSA1030A lists with the mode of indentation certain distance.
Window 70 also comprises a newly-built window 702 of series name, is used for a newly-built series name.The new series name that the user can not store in look-up table of input in the newly-built window 702 of series name as yet.Newly-built series name can be added and be saved in the middle of the look-up table.
Window 70 also comprises a newly-built window 703 of model name, is used for a newly-built model name; The user can select existing series name in the look-up table in window 706, then in the newly-built window 703 of model name one of input should series the new model name of storage not as yet under one's name.Newly-built model name can be added and be saved in the middle of the look-up table.Like this, just in the pairing corresponding relation of this series name, increased a new model name.
Window 70 also comprises a series name deletion button 704, is used for from the series name of a preservation of said look-up table deletion.The user can select existing series name in the look-up table earlier in window 706, click then and should the series name delete button 704, like this, measures resource control system 7 and just the series name in the window 706 is deleted from look-up table.
Window 70 also comprises a model name deletion button 705, is used for from the model name of a preservation of said look-up table deletion.The user can select existing series name in the look-up table earlier in window 706; In window 707, select again one should the corresponding existing model name of series name; Click this model name deletion button 705 then; Like this, measuring resource control system 7 just should delete the model name in the window 707 from look-up table in the pairing corresponding relation of series name.
Step S41, instrument resource management process: connect with said surveying instrument, produce an original address and an instrument sign corresponding with said surveying instrument.Wherein, step S41 comprises step S411 and step S412: step S411, instrument finding step: the said original address that produces said surveying instrument; Step S412, instrument Connection Step: send order according to said original address to said surveying instrument, obtain the instrument essential information of said surveying instrument, produce said instrument sign according to said instrument essential information.
It is worthy of note that step S40 and step S41 can carry out with sequencing arbitrarily, perhaps can executed in parallel.
Step S42, input step: identify from said surveying instrument through said instrument and to select a selected surveying instrument and from said application resource, to select an application resource for use; Wherein, step S42 comprises step S421~S424:
Step S421, instrument list producing step:, produces one and identify corresponding on-line instrument with said instrument and tabulate according to said instrument sign;
Step S422, instrument are selected step: from said on-line instrument tabulation, select a said surveying instrument as said selected surveying instrument;
Step S423, dynamic application list producing step:, produces one and comprise with the dynamic application of said selected surveying instrument matched application resource and tabulating according to the model name and the said look-up table of selected surveying instrument;
Please with reference to Figure 39, in this embodiment, step S423 specifically comprises: match information obtaining step S4231, application resource searching step S4232 and dynamic listing generate step S4233.
Match information obtaining step S4231: the said instrument essential information according to said selected surveying instrument produces a match information.Match information obtaining step S4231 comprises a model name obtaining step S42311 and a series name obtaining step S42312.Model name obtaining step S42311: the affiliated model name that produces said selected surveying instrument according to the instrument essential information of said selected surveying instrument.Series name obtaining step S42312: the model name according to said selected surveying instrument finds corresponding series name in said look-up table.
Before detail; The instrument essential information comprises trade name, instrument model, instrument sequence number, instrument version number etc.; The instrument essential information does not directly provide the instrument series number, and the match information in this embodiment comprises the affiliated series name and the affiliated model name of said selected surveying instrument.Therefore; Measure resource control system 7 earlier through model name under the selected surveying instrument of instrument essential information acquisition; For example be DSA1030A, retrieve in this look-up table according to this model name DSA1030A then, find the pairing corresponding relation DSA1000A=DSA1030A of this model name; Obtaining the corresponding series name of this model name according to this corresponding relation DSA1000A=DSA1030A, for example is DSA1000A.
Application resource searching step S4232: search the application program that is complementary with said selected surveying instrument according to said match information.Application resource searching step S4232 specifically comprises a generic resource finding step S42321, a series name finding step S42322 and a model name finding step S42323.Generic resource finding step S42321: a common name according to using in the essential information is searched and whole said surveying instrument matched application programs; Series name finding step S42322: according to series name under said search with said selected surveying instrument under serial matched application program; Model name finding step S42323: according to model name under said search with said selected surveying instrument under model matched application program.
Dynamic listing generates step S4233: produce said dynamic application tabulation according to the said application program that is complementary that finds.
Application choice step S424: from said dynamic application tabulation, select said application resource for use;
Resource matched step S43: the pairing original address of said selected surveying instrument is sent to said application resource for use.
Please with reference to Figure 40,, measure resource control system 7 and comprise that a corresponding relation sets up parts M40, an instrument resource control assembly M41, an input block M42 and a resource matched parts M43 in order to realize the above-mentioned steps of the 4th embodiment.Corresponding relation is set up parts M40 and is used to set up the model name of surveying instrument and serial corresponding relation, and said corresponding relation is saved to a look-up table; This instrument resource control assembly M41 is used for connecting with said surveying instrument, produces an original address and an instrument sign corresponding with said surveying instrument; This input block M42 is used for identifying from said surveying instrument through said instrument selecting a selected surveying instrument and from said application resource, selecting an application resource for use; This resource matched parts M43 is used for the pairing original address of said selected surveying instrument is sent to said application resource for use.
Instrument resource control assembly M41 comprises that an instrument resource searches parts M411 and an instrument resource link M412.This instrument resource is searched the said original address that parts M411 is used to produce said surveying instrument; This instrument resource link M412 is used for sending order according to said original address to said surveying instrument, obtains the instrument essential information of said surveying instrument, produces said instrument sign according to said instrument essential information.
Input block M42 comprises an instrument list producing parts M421, an instrument alternative pack M422, a dynamic application list producing parts M423 and an application choice parts M424.Instrument list producing parts M421 is used for according to said instrument sign, produces one and identifies corresponding on-line instrument with said instrument and tabulate; Instrument alternative pack M422 is used for selecting a said surveying instrument as said selected surveying instrument from said on-line instrument tabulation; Dynamic application list producing parts M423 is used for producing a dynamic application tabulation that comprises the application resource that is complementary with said selected surveying instrument according to said selected surveying instrument and said application resource; Application choice parts M424 is used for selecting said application resource for use from said dynamic application tabulation.
Please with reference to Figure 41, dynamic application list producing parts M423 comprises that match information obtains parts M4231, application resource searching part M4232 and dynamic listing and generate parts M4233.Match information is obtained parts M4231 and is used for producing a match information according to the said instrument essential information of said selected surveying instrument.Application resource searching part M4232 is used for searching the application program that is complementary with said selected surveying instrument according to said match information.Dynamic listing generates parts M4233 and is used for producing said dynamic application tabulation according to the said application program that is complementary that finds.
Match information is obtained parts M4231 and is comprised that a model name is obtained parts M42311 and a series name is obtained parts M42312.Model name is obtained the affiliated model name that parts M42311 is used for producing according to the instrument essential information of said selected surveying instrument said selected surveying instrument.The series name is obtained parts M42312 and is used for finding corresponding series name according to the model name of said selected surveying instrument at said look-up table.
Application resource searching part M4232 comprises that specifically a generic resource is searched parts M42321, series name searches parts M42322 and a model name is searched parts M42323.Generic resource is searched parts M42321 and is used for searching and whole said surveying instrument matched application programs according to a common name using essential information; Series name search parts M42322 be used for according to series name under said search with said selected surveying instrument under serial matched application program; Model name search parts M42323 be used for according to model name under said search with said selected surveying instrument under model matched application program.
The measurement resource control system 7 of the 4th embodiment is because the corresponding relation of the model name of setting up surveying instrument that can be artificial and series name; And said corresponding relation is saved to a look-up table; Therefore; Make that the naming rule of model name and series name can be free more, model name is more convenient with the expansion of the corresponding relation of series name.Even the naming rule of series name and model name need not to follow any rule, need they be saved to the foundation that look-up table can be accomplished corresponding relation.
In addition, measure the corresponding relation of setting up that resource control system 7 can also interim, delete the back that finishes to be used.Therefore compare the mode of regulation naming rule, measure resource control system 7 and have more dirigibility.
Measurement resource control system of the present invention has following beneficial effect at least with the measurement resource control method:
1. because measurement resource control system of the present invention and measurement resource control method can provide the original address of surveying instrument for application program; No longer need each application program oneself to remove to produce original address; Therefore can save the exploitation that instrument is searched module 147, instrument link block 148 in the performance history of original program, make application development, safeguard comparatively simple.
2. when the quantity of surveying instrument and application program is huge; After the user has selected selected surveying instrument or application program for use; Measurement resource control system of the present invention will find matched application program and surveying instrument automatically with the measurement resource control method; Got rid of the interference of unmatched option, made the coupling of surveying instrument and application program is very convenient.
Above-mentioned embodiment has been described in realization in order to demonstrate the invention.But other variations of the present invention and modification are conspicuous to those skilled in the art, and any modification/variation in disclosed essence of the present invention and cardinal rule scope perhaps imitates conversion all to belong to claim protection domain of the present invention.

Claims (10)

1. measure resource control system for one kind, be used to control surveying instrument with model name and application resource, it is characterized in that said measurement resource control system comprises with series name:
A corresponding relation is set up parts, is used to set up the corresponding relation of said model name and said series name, and said corresponding relation is saved to a look-up table;
Dynamic application list producing parts are used for model name and said look-up table according to a selected surveying instrument, produce a dynamic application tabulation that comprises with said selected surveying instrument matched application resource.
2. measurement resource control system according to claim 1 is characterized in that: said corresponding relation is set up parts and is comprised:
A corresponding relation display unit is used for the corresponding relation that said look-up table is preserved is shown;
The newly-built parts of series name are used for a newly-built series name;
Series name deletion parts are used for from the series name of a preservation of said look-up table deletion;
The newly-built parts of model name are used for a newly-built model name;
Model name deletion parts are used for from the model name of a preservation of said look-up table deletion.
3. measurement resource control system according to claim 1 is characterized in that: said and selected surveying instrument matched application resource has and the corresponding series of the model name of said selected surveying instrument.
4. measurement resource control system according to claim 2 is characterized in that: said dynamic application list producing parts comprise:
A match information is obtained parts, is used for finding corresponding series name according to the model name of said selected surveying instrument at said look-up table;
An application resource searching part is used for searching and said application resource with this series name according to said series name;
A dynamic listing generates parts, is used for producing said dynamic application tabulation according to the said application resource with this series name that finds.
5. measurement resource control system according to claim 1 is characterized in that: said corresponding relation comprises a series name and at least one said model name.
6. measure resource control method for one kind, control has the surveying instrument and the application resource with series name of model name, it is characterized in that said measurement resource control method comprises:
A corresponding relation establishment step is set up the corresponding relation of a model name and one series name, and said corresponding relation is saved to a look-up table;
A dynamic application list producing step according to the model name and the said look-up table of a selected surveying instrument, produces a dynamic application tabulation that comprises with said selected surveying instrument matched application resource.
7. measurement resource control method according to claim 6 is characterized in that: said corresponding relation establishment step comprises:
A corresponding relation step display shows the corresponding relation of preserving in the said look-up table;
The newly-built step of series name, a newly-built series name;
A series name deletion step, the series name of a preservation of deletion from said look-up table;
The newly-built step of model name, a newly-built model name;
A model name deletion step, the model name of a preservation of deletion from said look-up table.
8. measurement resource control method according to claim 6 is characterized in that: said and selected surveying instrument matched application resource has and the corresponding series of the model name of said selected surveying instrument.
9. measurement resource control method according to claim 7 is characterized in that: said dynamic application list producing step comprises:
A match information obtaining step finds corresponding series name according to the model name of said selected surveying instrument in said look-up table;
An application resource searching step is searched and said application resource with this series name according to said series name;
A dynamic listing generates step, produces said dynamic application tabulation according to the said application resource with this series name that finds.
10. measurement resource control method according to claim 6 is characterized in that: said corresponding relation comprises a series name and at least one said 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 true CN102467368A (en) 2012-05-23
CN102467368B CN102467368B (en) 2016-12-14

Family

ID=

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106646315A (en) * 2016-12-30 2017-05-10 福建利利普光电科技有限公司 Automatic testing system and automatic testing method for digital measuring instruments
CN107193720A (en) * 2016-03-14 2017-09-22 苏州伊欧陆系统集成有限公司 A kind of method of dynamic load measurement application
CN107783434A (en) * 2016-08-30 2018-03-09 致伸科技股份有限公司 Automatic control system and the instrument method for automatically searching being applied thereon
CN108333445A (en) * 2017-12-26 2018-07-27 北京航天测控技术有限公司 A kind of instrument management method of the data acquisition instrument based on VxWorks
CN110174855A (en) * 2018-02-21 2019-08-27 凯柏精密机械(嘉兴)有限公司 Meter data collection apparatus and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101393A1 (en) * 2004-10-22 2006-05-11 Gerken Christopher H System and Method for Building an Open Model Driven Architecture Pattern Based on Exemplars
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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101393A1 (en) * 2004-10-22 2006-05-11 Gerken Christopher H System and Method for Building an Open Model Driven Architecture Pattern Based on Exemplars
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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193720A (en) * 2016-03-14 2017-09-22 苏州伊欧陆系统集成有限公司 A kind of method of dynamic load measurement application
CN107193720B (en) * 2016-03-14 2020-04-10 苏州伊欧陆系统集成有限公司 Method for dynamically loading measurement application
CN107783434A (en) * 2016-08-30 2018-03-09 致伸科技股份有限公司 Automatic control system and the instrument method for automatically searching being applied thereon
CN106646315A (en) * 2016-12-30 2017-05-10 福建利利普光电科技有限公司 Automatic testing system and automatic testing method for digital measuring instruments
CN106646315B (en) * 2016-12-30 2019-09-27 福建利利普光电科技有限公司 A kind of Auto-Test System and its test method of digital measuring instruments
CN108333445A (en) * 2017-12-26 2018-07-27 北京航天测控技术有限公司 A kind of instrument management method of the data acquisition instrument based on VxWorks
CN108333445B (en) * 2017-12-26 2020-04-03 北京航天测控技术有限公司 Instrument management method of data acquisition instrument based on VxWorks
CN110174855A (en) * 2018-02-21 2019-08-27 凯柏精密机械(嘉兴)有限公司 Meter data collection apparatus and method

Similar Documents

Publication Publication Date Title
CN102004952B (en) Measuring resource control system and measuring resource control method
Calvary et al. A unifying reference framework for the development of plastic user interfaces
CN101393442B (en) CEMS monitoring method based on OPC communication technology
EP4046000A1 (en) Methods and systems for integrated development environment editor support with a single code base
CN102135938A (en) Software product testing method and system
CN101944062B (en) Method for configuring universal virtual instrument interface
CN104915297B (en) A kind of automated testing method of the APP power consumption of android equipment
CN101944026A (en) Implementation method of universal virtual instrument interface
CN100507871C (en) Method and system for testing embedded file system
CN104780407A (en) Automatic testing method and automatic testing system for set top box
CN105204991A (en) Internet of things test method and device
CN113010359B (en) Bus test system generation method, system, device and storage medium
RU2678717C9 (en) Method for building a software system for automating and visualizing testing of embedded software for electronic devices
CN102467372A (en) Measurement resource control system and measurement resource control method
CN106528416A (en) android platform-based automation testing method and system
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN103955429A (en) Method and device for determining regression testing range
US8161402B1 (en) Methods and apparatus for graphical test and measurement
CN113126993B (en) Automatic test method and system applied to vehicle detection software
CN102467370B (en) Measure resource control system and measure resource control method
CN108762765B (en) Development board program compiling and downloading method based on contiki system
CN102467369A (en) Measurement resource control system and measurement resource control method
Fu et al. Design of experiment platform for digital substation based on IEC 61850
CN102467090A (en) Measurement resource control method and measurement resource control system
CN102467368A (en) Measurement resource control system and measurement resource control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant