CN102004952B - Measuring resource control system and measuring resource control method - Google Patents

Measuring resource control system and measuring resource control method Download PDF

Info

Publication number
CN102004952B
CN102004952B CN201010534899.7A CN201010534899A CN102004952B CN 102004952 B CN102004952 B CN 102004952B CN 201010534899 A CN201010534899 A CN 201010534899A CN 102004952 B CN102004952 B CN 102004952B
Authority
CN
China
Prior art keywords
instrument
resource
application
list
stand
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010534899.7A
Other languages
Chinese (zh)
Other versions
CN102004952A (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 CN201010534899.7A priority Critical patent/CN102004952B/en
Publication of CN102004952A publication Critical patent/CN102004952A/en
Application granted granted Critical
Publication of CN102004952B publication Critical patent/CN102004952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a measuring resource control system, which is used for controlling a plurality of measuring instruments and a plurality of application programs. The measuring resource control system comprises an instrument resource control module, an input module and a resource matching module, wherein the instrument resource control module is used for establishing connection with the measuring instruments and generating an original address and an instrument identifier corresponding to the measuring instrument respectively; the input module is used for receiving an instrument selection instruction and an application selection instrument input by a user, the instrument selection instruction is used for selecting one standby measuring instrument from the instrument identifiers, and the application instruction is used for selecting a standby application program from the application programs; and the resource matching module is used for transmitting the original address corresponding to the standby measuring instrument to the standby application program according to the instrument selection instrument and the application selection instruction. The measuring resource control system in the invention makes the development and maintenance of the application program simple and has low cost.

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, for managing 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 is all indispensable basic tool in the links such as experiment, manufacture production, test, and for example oscillograph, multimeter, frequency spectrograph, signal source are all conventional multimeters.Along with scientific and technical development, surveying instrument is also transformed to digital measurement instrument by analogue measurement instrument.Digitized surveying instrument has the not available advantage of a lot of analogue measurement instruments, for example, be convenient to store, conveniently carry out data analysis and calculating, strong interference immunity etc.In addition, digital measuring instrument also has a unique advantage, it can be connected with computing machine easily, forms a measuring system, utilizes computing machine rich in natural resources and powerful function surveying instrument is controlled and measurement result is carried out to more complicated processing.
Due to above-mentioned advantage, the measuring system being comprised of computing machine and surveying instrument is by research and development widely.It is worth mentioning that, because computing machine possesses powerful data processing and Presentation Function, make the surveying instruments such as oscillograph in measuring system, only play the effect of data acquisition, and the data processing of itself and Presentation Function become a kind of waste.Therefore, measuring board gives birth to therefrom.Measure board and be also considered to be a kind of surveying instrument, different from oscillograph etc., it only possesses the effect of data acquisition, and itself does not carry out processing or the demonstration of data.In use, measuring board generally need to be plugged on the IO interface of computing machine, for example, measurement board can pass through the serial ports (serial port) of VXI (VME extensions for Instrumentation) bus, PXI (PCIextensions for Instrumentation) bus, GPIB (General Purpose Interface Bus) and computing machine or parallel port (parallel port) is next is connected with computing machine.
According to above-mentioned, introduce knownly, please refer to Fig. 1, current measuring system 1 comprises a computing machine 11 and at least one surveying instrument 12, and each surveying instrument 12 is connected with computing machine 11 by 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, be oscillograph, multimeter, frequency spectrograph, signal source, can be also to measure board, and can also be even sensor.Interface 13 can be vxi bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth, and serial ports comprises USB interface, RS232 etc.
Due to the diversity of interface 13, computing machine 11 generally all can mounting interface driver 111, and for example VISA drives, the difference of bringing for shielding different interface 13.Computing machine 11, based on interface drive program 111, can pass on various command to carry out corresponding operation to surveying instrument 12 by normalized SCPI command set 112.SCPI command set 112 comprises many SCPI orders, and different SCPI orders is for carrying out different operations to surveying instrument 12, this operation comprise to the control of surveying instrument 12, to the parameter of surveying instrument 12 be configured, from surveying instrument 12 reading out datas etc.
SCPI order is various, and in order to facilitate user to control, measurement result is carried out to various computings different surveying instrument 12, 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 as VC, VB, LabVIEW etc., by developer, user oneself or other people, developed, for controlling 11 pairs of surveying instruments of computing machine 12, carried out various operations and measurement data processed etc.For example, please refer 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 user can input the various operations to surveying instrument 12 by input window 1491 easily, and replaces directly to surveying instrument 12, sending SCPI order; Display interface 1490 also has a waveform display window 1492, and the measurement data of computing machine 11 being obtained from surveying instrument 12 for the form with figure line shows.
Due to the diversity of surveying instrument 12, the specification of each surveying instrument 12, parameter or function etc. are not quite similar.For different surveying instrument 12, generally need to develop different application program 14.Please refer to Fig. 3, for example, power supply 121 correspondences that model is DP1308A application program 141; Frequency spectrograph 122 correspondences that model is DSA1030A application program 142.In addition, even if the surveying instrument of one species 12 is because its model, version are different, cause the possibilities such as its specification, parameter or function different, therefore sometimes also need to develop different application program 14.
In addition, for some special application scenarios, need a plurality of identical or different surveying instruments 12 collaborative works to realize a certain measurement task, therefore, a plurality of surveying instruments 123 can be corresponding an application program 143, during this application program 143 operation, need the plurality of surveying instrument 123 to work simultaneously and just can complete measurement task.
Another again, for a surveying instrument 124, also can develop a plurality of application programs 144 for realizing respectively different functions; 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, now this application program 145 can be separately and each surveying instrument 125 cooperating.For example, application program 145 frequency spectrograph 125 that compatible model is DSA1030A simultaneously and the frequency spectrograph 125 ' of DSA1000A.
Please refer 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 complete communication by bus 117.Application program 14 is a kind of executable programs, is to be stored in hard disk 116 conventionally when not by operation.During called and operation, user opens after the instruction of this application program 14 by the operating system input of computing machine 11, and this application program 14 is loaded in the middle of internal memory 115, just can be carried out by CPU114.
Please, together with reference to Fig. 1 and Fig. 5, when application program 14 is carried out, computing machine 11 is sequentially carried out following steps under the control of application program 14:
Step S1, instrument finding step;
Although according to aforementioned, surveying instrument 12 is connected with computing machine 11 by an interface 13, this connection just pegs graft surveying instrument 12 and interface 13 get up, also surveying instrument 12 is not configured, interface configuration for example, obtain the address of surveying instrument 12, this computer-chronograph 11 cannot be set up communication with surveying instrument 12.Therefore, instrument finding step mainly completes the configuration to surveying instrument 12, obtains the original address of a corresponding surveying instrument 12.Even if it should be pointed out that and obtained this original address, but this connection is only the connection in 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 and surveying instrument 12 exist diversified corresponding relation, complete 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, the essential information that also needs the surveying instrument 12 that further identification connects, judge whether connected surveying instrument 12 mates with application program 14, or in many surveying instruments 12 that connect, which platform surveying instrument 12 matches with application program 14.
Step S2, instrument Connection Step;
Step S2 mainly completes surveying instrument 12 and is connected with the logic of computing machine 11, sets up the communication channel of surveying instrument 12 and computing machine 11 on application.That is, need to complete the identification of instrument model, to guarantee that this instrument is the corresponding surveying instrument 12 of application program 14, that is judge whether follow-up instrument application step can control this surveying instrument 12.
Concrete the done work 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 that surveying instrument 12 is returned is resolved, according to this instrument essential information, parse trade name, instrument model, instrument sequence number, instrument version number etc., according to this, parse trade name, instrument model, instrument sequence number, instrument version number etc. 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 to control computing machine 11 and communicate with surveying instrument 12, Content of Communication comprises and receives the measurement data of surveying instrument 12, to surveying instrument 12 transmission SCPI orders, surveying instrument 12 is controlled etc.; Two, provide a display interface, please refer to Fig. 2, be for example the display interface of the application program of this frequency spectrograph, by waveform display window 1492, the measurement data receiving shown, received the instruction of user input and be converted into corresponding SCPI order be sent to surveying instrument 12 by modes such as input windows 1491 with forms such as curves.
Please refer to Fig. 6, application program 14 comprises that one is searched module 147, one for controlling the instrument link block 148 of computing machine 11 performing step S2 and one for controlling the instrument application module 149 of computing machine 11 performing step S3 for controlling the instrument of computing machine 11 performing step S1.
A kind of software (Measurement & Automation Explorer that can be used for communication between authenticating computer and surveying instrument that instrument (NI) company of country releases, MAX) also can obtain by step S1 the original address of surveying instrument, but software just produces this original address, do 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 surveying instrument, this software also can be produced original address and be obtained instrument essential information by step S1 and S2, but this software also just produces this original address and instrument essential information, do not have subsequent step S3 yet.
Known according to introducing above, 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 may cause again developing application 14, and still need again to develop instrument when developing application 14, search module 147, instrument link block 148 and instrument application module 149, make exploitation and the maintenance process of application program 14 complicated, cost is higher.
summary of the invention
In order to solve the problem that prior art application development and maintenance process are complicated, cost is higher, the invention provides and a kind ofly can make that application development and maintenance process are simplified, the measurement resource control system of cost.
Meanwhile, the present invention also provides the measurement resource control method that described measurement resource control system adopts.
A kind of measurement resource control system, be used for controlling a plurality of surveying instruments and a plurality of application resource, described measurement resource control system comprises: an instrument resource control assembly, for connecting with described surveying instrument, produce an original address corresponding with described surveying instrument and identify with the unique corresponding instrument of described surveying instrument; An input block for selecting a stand-by surveying instrument by described instrument sign from described surveying instrument, afterwards, is selected a stand-by application resource from described application resource according to stand-by surveying instrument; Resource matched parts, for sending to described stand-by application resource by the corresponding original address of described stand-by surveying instrument.
In an embodiment of the invention, described instrument resource control assembly comprises: an instrument resource is searched parts, for generation of the described original address of described surveying instrument; An instrument resource link, for sending order according to described original address to described surveying instrument, obtains the instrument essential information of described surveying instrument, according to described instrument essential information, produces described instrument sign.
In an embodiment of the invention, described input block comprises: instrument list producing parts, for according to described instrument sign, produce one and identify corresponding on-line instrument list with described instrument; An instrument alternative pack, for selecting a described surveying instrument as described stand-by surveying instrument from described on-line instrument list; Dynamic application list producing parts, for producing a dynamic application list that comprises the application resource matching with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource; Application choice parts, for selecting described stand-by application resource from described dynamic application list.
In an embodiment of the invention, described input block comprises: a list of application production part, for according to described application resource, produces a list of application corresponding with described application resource; Application choice parts, for selecting a described described application resource as described stand-by application resource from described list of application; Dynamic instrument list producing parts, for producing a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource according to described stand-by application resource and described surveying instrument; An instrument alternative pack, for selecting described stand-by surveying instrument from described dynamic on-line instrument list.
In an embodiment of the invention, described input block comprises: measure the Resources list production part for one, for identifying according to described instrument, produce one and identify corresponding on-line instrument list with described instrument, with for according to described application resource, produce a list of application corresponding with described application resource; A first resource alternative pack, for selecting a stand-by first resource from described on-line instrument list and described list of application, described stand-by first resource is in described stand-by surveying instrument and described stand-by application resource; Dynamic Secondary resource list producing parts, if be described stand-by application resource for described stand-by first resource, according to described stand-by application resource and described surveying instrument, produce a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource, at least a portion that described dynamic on-line instrument list is described on-line instrument list; If described stand-by first resource is described stand-by surveying instrument, according to described stand-by surveying instrument and described application resource, produce a dynamic application list that comprises the application resource matching with described stand-by surveying instrument, described dynamic application list is at least a portion of described list of application; A Secondary resource alternative pack if be described stand-by application resource for described stand-by first resource, is selected described stand-by surveying instrument from described dynamic on-line instrument list; If described stand-by first resource is described stand-by surveying instrument, from described dynamic application list, select described stand-by application resource.
A kind of measurement resource control method, control a plurality of surveying instruments and a plurality of application resource, described measurement resource control method comprises: an instrument resource is controlled step, connect with described surveying instrument, produce an original address corresponding with described surveying instrument and identify with the unique corresponding instrument of described surveying instrument; An input step is selected a stand-by surveying instrument by described instrument sign from described surveying instrument, afterwards, selects a stand-by application resource according to stand-by surveying instrument from described application resource; A resource matched step, sends to described stand-by application resource by the corresponding original address of described stand-by surveying instrument.
In an embodiment of the invention, described instrument resource is controlled step and is comprised: an instrument resource finding step, produces the described original address of described surveying instrument; An instrument resource Connection Step, sends order according to described original address to described surveying instrument, obtains the instrument essential information of described surveying instrument, according to described instrument essential information, produces described instrument sign.
In an embodiment of the invention, described input step comprises: an instrument list producing step, according to described instrument sign, produces one and identify corresponding on-line instrument list with described instrument; An instrument is selected step, selects a described surveying instrument as described stand-by surveying instrument from described on-line instrument list; A dynamic application list producing step, produces a dynamic application list that comprises the application resource matching with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource; An application choice step is selected described stand-by application resource from described dynamic application list.
In an embodiment of the invention, described input step comprises: a list of application produces step, according to described application resource, produces a list of application corresponding with described application resource; An application choice step selects a described described application resource as described stand-by application resource from described list of application; A dynamic instrument list producing step, produces a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource according to described stand-by application resource and described surveying instrument; An instrument is selected step, from described dynamic on-line instrument list, selects described stand-by surveying instrument.
In an embodiment of the invention, described input step comprises:
Measure the Resources list for one and produce step, according to described instrument sign, produce one and identify corresponding on-line instrument list with described instrument, and according to described application resource, produce a list of application corresponding with described application resource;
A first resource is selected step, selects a stand-by first resource from described on-line instrument list and described list of application, and described stand-by first resource is in described stand-by surveying instrument and described stand-by application resource;
A dynamic Secondary resource list producing step, if described stand-by first resource is described stand-by application resource, according to described stand-by application resource and described surveying instrument, produce a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource, at least a portion that described dynamic on-line instrument list is described on-line instrument list; If described stand-by first resource is described stand-by surveying instrument, according to described stand-by surveying instrument and described application resource, produce a dynamic application list that comprises the application resource matching with described stand-by surveying instrument, described dynamic application list is at least a portion of described list of application;
A Secondary resource is selected step, if described stand-by first resource is described stand-by application resource, from described dynamic on-line instrument list, selects described stand-by surveying instrument; If described stand-by first resource is described stand-by surveying instrument, from described dynamic application list, select described stand-by application resource.
Measurement resource control system of the present invention and measurement resource control method at least have following beneficial effect:
1. because measurement resource control system of the present invention and measurement resource control method can provide for application program the original address of surveying instrument, no longer need each application program oneself to remove to produce original address, therefore in the performance history of original program, can save the exploitation that instrument is searched module, instrument link block, make application development, safeguard comparatively simply, cost is lower.
2. when the quantity of surveying instrument and application program is huge, user has selected after stand-by surveying instrument or stand-by application program, measurement resource control system of the present invention and measurement resource control method will find application program and the surveying instrument of coupling automatically, got rid of the interference of unmatched option, made surveying instrument very convenient with mating of application program.
accompanying drawing explanation
Fig. 1 is a kind of modular structure schematic diagram of traditional measuring system.
Fig. 2 is a kind of display interface schematic diagram of existing application program.
Fig. 3 is the schematic diagram of surveying instrument and application matches relation.
Fig. 4 is a kind of modular structure schematic diagram of traditional computing 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 schematic diagram of application program shown in Fig. 5.
Fig. 7 is that the present invention measures the modular structure schematic diagram that resource control system the first embodiment is applied to a measuring system.
Fig. 8 is the structural representation of the computing machine that in Fig. 7, measuring system adopts.
Fig. 9 is the schematic diagram of surveying instrument and application matches relation.
Figure 10 is the software module structure schematic diagram that the present invention measures the application program that resource control system the first embodiment manages.
Figure 11 is that the present invention measures resource control system the 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 the first embodiment.
Figure 13 is the surface chart that the present invention measures the gpib interface parameter setting of resource control system the first embodiment.
Figure 14 is the surface chart that the present invention measures the RS232 interface parameters setting of resource control system the first embodiment.
Figure 15 is the display interface figure that the present invention measures the on-line instrument list of resource control system the 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 the first embodiment.
Figure 17 is the display interface figure that the present invention measures the dynamic application list of resource control system the first embodiment.
Figure 18 is the schematic diagram that the present invention measures the application program storing documents folder of resource control system the first embodiment.
Figure 19 is the later interface schematic diagram of startup application program that the present invention measures resource control system the first embodiment.
Figure 20 is that the present invention measures the module diagram that resource control system the first embodiment is realized Figure 11 process step.
Figure 21 is the module diagram that in Figure 20, dynamic application list producing loses M123.
Figure 22 is that the present invention measures resource control system the 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 the 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 the second embodiment selects an application program.
Figure 25 is the display interface figure that the present invention measures the dynamic on-line instrument list of resource control system the second embodiment.
Figure 26 is that the present invention measures the display interface figure that user in the dynamic on-line instrument list of resource control system the second embodiment selects a surveying instrument.
Figure 27 is that the present invention measures the module diagram that resource control system the 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 list.
Figure 30 is user that the present invention measures resource control system the 3rd embodiment selects a surveying instrument in Figure 26 display interface figure in on-line instrument list.
Figure 31 is user that the present invention measures resource control system the 3rd embodiment selects an application program in Figure 26 display interface figure in list of application.
Figure 32 is the display interface figure that the present invention measures the dynamic application list of resource control system the 3rd embodiment.
Figure 33 is the display interface figure that the present invention measures the dynamic on-line instrument list of resource control system the 3rd embodiment.
Figure 34 selects the display interface figure of an application program in the dynamic application list of user in Figure 29.
Figure 35 selects the display interface figure of a surveying instrument in the dynamic on-line instrument list 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.
Embodiment
Introduce the 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 a measuring system 2.Measuring system 2 comprises a plurality of measurement resources 20 and for managing and control the measurement resource control system 4 of the plurality of measurement resource 20.The plurality of measurement resource 20 comprises a plurality of surveying instruments 22 and a plurality of application resource, and in the present embodiment, this application resource is application program 24.
Surveying instrument 22 is the equipment with data acquisition function, can be surveying instrument, for example, be oscillograph, multimeter, frequency spectrograph, signal source, can be also to measure board, and can also be even sensor.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 by interface, and interface can be vxi bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth.
Please refer to Fig. 8, in the middle of present embodiment, the computing machine 41 that measurement resource control system 4 adopts 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 by video card 419, peripheral hardware 419 is connected with bus 417 by various interface, and CPU414, internal memory 415, storer 416, display screen 418 and peripheral hardware 419 are completed and communicated by letter by bus 417.Storer 416 consists of hard disk, can also be flash memory, CD, disk etc. certainly.Peripheral hardware 419 comprises mouse, keyboard etc.
Due to the diversity of surveying instrument 22, the specification of each surveying instrument 22, parameter or function etc. are not quite similar.For different surveying instrument 22, generally need to develop different application program 24, each surveying instrument 22 has its corresponding application program 24.Please refer to Fig. 9, for example, power supply 221 correspondences that model is DP1308A application program 241; Frequency spectrograph 222 correspondences that model is DSA1030A application program 242.In addition, even if the surveying instrument of one species 22 is because its model, version are different, cause the possibilities such as its specification, parameter or function different, therefore sometimes also need to develop different application program 24.
In addition, for some special application scenarios, need a plurality of identical or different surveying instruments 22 collaborative works to realize a certain measurement task, therefore, a plurality of surveying instruments 223 can be corresponding an application program 243, during this application program 243 operation, need the plurality of surveying instrument 223 to work simultaneously and just can complete measurement task.
Another again, for a surveying instrument 224, also can develop a plurality of application programs 244 for realizing respectively different functions; 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, now this application program 245 can be separately and each surveying instrument 225 cooperating.For example, application program 245 frequency spectrograph 225 that compatible model is DSA1030A simultaneously and the frequency spectrograph 225 ' of DSA1000A.
Application program 24 is a kind of executable programs, when not by operation, is to be stored in the storer 416 of computing machine 41.Please refer to Figure 10, application program 24 comprises instrument application module 249.Because no longer comprising instrument, application program 24 searches module and instrument link block, therefore only by executive utility 24, can not control the original address that computing machine 41 obtains surveying instrument 22, and need to wait resource control system 4 to be measured that original address is passed to application program 24, can not be only by running application, 24 control computing machine 41 and set up and communicate by letter with surveying instrument 22.Therefore user's 24 controls that can not realize surveying instrument 22 that directly run application.
Introduce to measure resource control system 4 below and be and how to complete measuring the management of resource 20 and control.
Please refer to Figure 11, measure resource control system 4 and carry out following steps:
Step S11, instrument resource management process: connect with described surveying instrument, produce an original address and an instrument sign corresponding with described surveying instrument.Wherein, step S11 comprises step S111 and step S112:
Step S111, instrument finding step: the described original address that produces described surveying instrument;
The work of step S111 has comprised the original searching work of instrument resource, finds surveying instrument 22 that be connected with computing machine 41, that be in (also referred to as presence) under open state, and obtains an original address.Because surveying instrument 22 can be connected with computing machine 41 by different interfaces, therefore for different interfaces, its obtain manner of searching mode and original address is also not quite similar.
According to the type of service of interface, the mode of searching is divided three classes: the first kind: automatically search, plug and play mode triggers finding step, for example USB-TMC interface; Equations of The Second Kind: semi-automatic searching, needs manual triggers finding step or configure trigger condition to trigger finding step, for example LAN-VX-11 interface; The 3rd class: manually search, the mode that connects instrument by input configuration data realizes searches, for example RS232 interface.
For automatically searching, take USB-TMC interface as example explanation, based on Universal Serial Bus Testand Measurement Class Specification (USBTMC) and Universal Serial Bus Test andMeasurement Class, Subclass USB488Specification (USBTMC-USB488).Surveying instrument 22 connects computing machine 41 back operation systems (for example Windows) can install driving (Windows Vista and 7 meeting Auto-mountings, other versions need manual installation) for it.Complete after drive installation, measure the action triggers that the measured instrument 22 of resource control system 4 meeting connects computing machines 41, the USB-TMC that measurement resource control system 4 calls VISA searches the address information that function obtains USB-TMC interface, and this address information is exactly this original address.
For semi-automatic, searching, take LAN interface as example explanation, is searching of the LAN interface instrument that completes based on VX-11 agreement and mDNS agreement.Because there are two cover agreements on existing LAN interface upper strata deposit (VX-11 and mDNS) so its mode of searching is had to two covers.
For VX-11 interface instrument, the mode of searching, for searching message to inner transmission of LAN (Local Area Network), is accepted the response of this message within a certain period of time, and the IP of response is considered as surveying instrument to be determined, and the IP of this response forms this original address.Please refer to Figure 12, measure on the display interface of resource control system 4 and have " LAN " button 140, user is somebody's turn to do by click and is pressed " LAN " button 140 and trigger step S11.
To with mDNS interface instrument (meet this agreement and also meet VX-11 agreement), the instrument of mDNS interface is supporting also to support the mode of searching based on mDNS on above-mentioned basis of searching mode, when meeting 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 by this report, this resource information forms this original address.Measure resource control system 4 and also comprise a regularly online situation authentication function of resource, if there is mDNS equipment to disconnect measurement resource control system 4, can automatically remove this surveying instrument 22.
For manually searching, take gpib interface as example explanation, be searching of completing based on IEEE488.1 and IEEE488.2 agreement.Please refer to Figure 13, user connects instrument by input GPIB parameter in window 150, and the parameter of input forms this original address 151.
For manually searching, take RS232 interface as example explanation, be searching of completing based on EIA 232 standards.Please refer to Figure 14, user connects instrument by input RS232 parameter in window 160, and the parameter of input forms this original address.
Step S112, instrument Connection Step: according to described original address, to described surveying instrument, send order, obtain the instrument essential information of described surveying instrument, according to described instrument essential information, produce described instrument sign.
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 SCPI orders to surveying instrument 22, " * IDN? " order.This order is the basic command in SCPI standard, to certain original address sends " * IDN? " order and can not respond this order, thinks that this original address is abnormal, is not identified as surveying instrument 22 thereby refuses record, otherwise be recorded.At " * IDN? " in the return data of order, can obtain instrument essential information, this instrument essential information has the form of SCPI standard definition, resolve this instrument essential information and can obtain corresponding trade name for, instrument model, instrument sequence number, instrument version number etc., and the sign of the instrument using at least a portion of this instrument essential information as this surveying instrument 22.
For example: the original address that step S11 produces is: USB0::0x0400::0x09C4::DSA1A113600019::INSTR, step S12 sends to original address USB0::0x0400::0x09C4::DSA1A113600019::INSTR: " * IDN? " the instrument essential information meeting with a response: " XXXX; DSA1030A; DSA1A113600019,00.01.03.01.01 ".By resolving this instrument essential information, obtain " manufacturer's information: " XXXX ", " type information: DSA1030A " etc.
Please refer to Figure 15, in the present embodiment, measure the instrument sign 220 of resource control system 4 using this type information as this surveying instrument 22.For example, the original address in 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., or can also comprise this original address.
Step S12, input step: by described instrument sign, from described surveying instrument, select a stand-by surveying instrument, and from described application resource, select a stand-by application resource; Wherein, step S12 comprises step S121~S124:
Step S121, instrument list producing step: according to described instrument sign, produce one and identify corresponding on-line instrument list with described instrument;
Please refer to Figure 15, measure resource control system 4 and on display interface, produce an on-line instrument list 410, on-line instrument list 410 comprises whole instrument signs 220 that step S11 produces, why adopt instrument sign 220 to represent that the advantage of a surveying instrument is: only with original address, represent that surveying instrument is very not directly perceived, user is difficult to remember what surveying instrument which original address represents.For example the instrument in Figure 15 sign " DS1204B ", " DSA1030A " demonstrate very be intuitively connected with computing machine 41 have which surveying instrument 22.Each instrument identifies 220 unique correspondences and a surveying instrument having connected 22, and each instrument sign 220 simultaneously also unique correspondence an original address.
Step S122, instrument are selected step: from described on-line instrument list, select a described surveying instrument as described stand-by surveying instrument;
Please refer to Figure 15, measure the instrument selection instruction that resource control system 4 receives user's input, from on-line instrument list 410, select an instrument sign 220.User has selected instrument sign 220, has namely selected corresponding surveying instrument 22 as stand-by surveying instrument.In present embodiment, user is that the mode of clicking in on-line instrument list 410 instrument sign 220 by mouse is inputted this instrument selection instruction, and having selected instrument sign 2201 is the surveying instrument of DSA1030A.Certainly, user can also input this instrument selection instruction by peripheral hardwares such as keyboards.
Step S123, dynamic application list producing step: according to described stand-by surveying instrument and described application resource, produce a dynamic application list that comprises the application resource matching with described stand-by surveying instrument; Please refer to Figure 16, in the present 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: produce a match information according to the described instrument essential information of described stand-by surveying instrument.Match information obtaining step S1231 comprises a series name obtaining step S12311 and a model name obtaining step S12312.Series name obtaining step S12311: the affiliated series name that produces described stand-by surveying instrument according to the instrument essential information of described stand-by surveying instrument.A model name obtaining step: the affiliated model name that produces described stand-by surveying instrument according to the instrument essential information of described stand-by surveying instrument.
In the present embodiment, frontly describe in detail, instrument essential information comprises trade name, instrument model, instrument sequence number, instrument version number etc., measures resource control system 4 and produces described match information according to this instrument model.Match information in present embodiment comprises affiliated series name and the affiliated model name of described stand-by surveying instrument.For example, please refer to Figure 17, user has selected surveying instrument that instrument sign 220 is DAS1030A as stand-by surveying instrument, by the instrument model in known its instrument essential information of this stand-by surveying instrument, be " DSA1030A ", this instrument model " DSA1030A " not only illustrates that the instrument model of this stand-by surveying instrument is DAS1030A, and known this stand-by surveying instrument belongs to DAS1000A series, therefore the affiliated series " DSA1000A " by name that can determine this stand-by surveying instrument, affiliated model is called " DSA1030A ".The execution sequence that it should be pointed out that series name obtaining step S12311 and model name obtaining step S12312 can be put upside down mutually, also can while executed in parallel.
As other embodiment, instrument essential information comprises instrument model and instrument series number, therefore model name under can determining by the instrument model in the instrument essential information of stand-by surveying instrument, by series number name under the instrument series number in the instrument essential information of stand-by surveying instrument.
Please refer to Figure 16, application resource searching step S1232: according to described match information, search the application program matching with described stand-by surveying instrument.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: search the application program of mating with whole described surveying instruments according to a common name in application essential information; Series name finding step S12322: according to series name under described search with described stand-by surveying instrument under the series application program of mating; Model name finding step S12323: according to model name under described search with described stand-by surveying instrument under the model application program of mating.
In the present embodiment, application program 24 has an application essential information, and this application basic information packet is drawn together series name, model name and common name.In the middle of the file name of this application program 24, comprise series name, model name and common name one of them.The file name of this application program 24 is when punching comprises common name, represents that this application program 24 can mate surveying instrument 22 arbitrarily.In the middle of the file name of this application program 24, comprise series name, represent that this application program 24 can mate the surveying instrument 22 with a series of, can mate this series surveying instrument 22 of all models under one's name.In the middle of the file name of this application program 24, comprise model name, represent the surveying instruments 22 of 24 same model name of coupling of this application program.In order to illustrate, please refer to Figure 18, in the storer 416 of computing machine 41, storing a plurality of application programs 24, 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 ", therefore represents that this application program 2401 can mate any one surveying instrument 22.Name is called in the title of application program 2402 of " XXXX_DSA1000A_Tools " and comprises series name " DSA1000A ", therefore represents that 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 ", therefore represents that 2403 coupling model name of this application program are all the surveying instrument 22 of DSA1030A.
Therefore, generic resource finding step S12321, by searching the application program that comprises common name " Instrument_Common ", can find application program 2401; Series name finding step S12322, according to affiliated series name " DSA1000A ", can find application program 2402; Model name finding step S12323, according to affiliated model name " DSA1030A ", can find application program 2403.
As other embodiment, can also in the filename of application program 24, record the part or all of of mated instrument essential information.
As other embodiment, can also in the supporting paper of application program 24, record the part or all of of mated instrument essential information.
As other embodiment, can also in the registration table of operating system, record the part or all of of this application program 24 and the instrument essential information of mating.
Dynamic listing generates step S1233: according to the application program matching described in finding, produce described dynamic application list.
Please refer to Figure 17, the application program 2401,2402,2403 finding according to step S1232, generates this dynamic application list 240.What this dynamic application list 240 comprised is the application program of mating with stand-by surveying instrument, supplies user further to select.Dynamic application list 240 has been got rid of and the unmatched application program of selected surveying instrument, when user is selected, avoids being interfered, and is convenient to select fast and accurately.
Step S124, application choice step: from described dynamic application list, select described stand-by application resource;
Please refer to Figure 17, measure the application choice instruction that resource control system 4 receives user's input, for select an application program in dynamic application list 240, as a stand-by application program.This application choice instruction can be that mouse is clicked application program 2401.That is, user selects name to be called the application program of " Instrument_Common_XXXX_SCPI Contro1 Panel ".
Step S13, resource matched step: the corresponding original address of described stand-by surveying instrument is sent to described stand-by application resource.
Please refer to Figure 19, measure resource control system 4 according to this stand-by surveying instrument and stand-by application program 2401 for choosing, the original address of stand-by surveying instrument is passed to stand-by application program 2401, make this stand-by application program 2401 have definite communication object, use this original address to communicate by letter with stand-by surveying instrument.After this, user just can control stand-by surveying instrument by this stand-by application program 2401 normally.
Particularly, for the application program 24 of expansion .exe by name, measure resource control system 4 and use Windows to complete original address is transmitted to application program 24 in this application program 24 of startup with the command line mode of parameter; For the application program 24 of VI form, the dynamic load mode of measuring resource control system 4 use VI completes original address transmission.
Please refer to Figure 20, in order to realize above-mentioned each step, measure resource control system 4 and comprise an instrument resource control assembly M11, an input block M12 and a resource matched parts M13.This instrument resource control assembly M11, for connecting with described surveying instrument, produces an original address and an instrument sign corresponding with described surveying instrument; This input block M12 is used for from described surveying instrument, selecting a stand-by surveying instrument by described instrument sign, and from described application resource, selects a stand-by application resource; This resource matched parts M13 is for sending to described stand-by application resource by the corresponding original address of described stand-by surveying instrument.
Instrument resource control assembly M11 comprises that an instrument resource searches parts M111 and an instrument resource link M112.This instrument resource is searched parts M111 for generation of the described original address of described surveying instrument; This instrument resource link M112, for sending order according to described original address to described surveying instrument, obtains the instrument essential information of described surveying instrument, according to described instrument essential information, produces described instrument sign.
Input block M12 comprises an instrument list producing parts M121, instrument alternative pack M122, a dynamic application list producing parts M123 and an application choice parts M124.Instrument list producing parts M121, for according to described instrument sign, produces one and identifies corresponding on-line instrument list with described instrument; Instrument alternative pack M122 is for selecting a described surveying instrument as described stand-by surveying instrument from described on-line instrument list; Dynamic application list producing parts M123 is for producing a dynamic application list that comprises the application resource matching with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource; Application choice parts M124 is for selecting described stand-by application resource from described dynamic application list.
Please refer to Figure 21, dynamic application list producing parts M123 comprises that match information is obtained parts M1231, application resource searching part M1232 and dynamic listing generates parts M1233.Match information is obtained parts M1231 and is produced a match information for the described instrument essential information according to described stand-by surveying instrument.Application resource searching part M1232 is for searching according to described match information the application program matching with described stand-by surveying instrument.Dynamic listing generates parts M1233 for producing described dynamic application list according to the application program matching described in finding.
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.Series name is obtained parts M12311 for produce the affiliated series name of described stand-by surveying instrument according to the instrument essential information of described stand-by surveying instrument.Model name is obtained parts M12312 for produce the affiliated model name of described stand-by surveying instrument according to the instrument essential information of described stand-by surveying instrument.
Application resource searching part M1232 specifically comprises that 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 for searching the application program of mating with whole described surveying instruments according to a common name of application essential information; Series name search parts M12322 for according to series name under described, search with described stand-by surveying instrument under the series application program of mating; Model name search parts M12323 for according to model name under described, search with described stand-by surveying instrument under the model application program of mating.
Introduce the second embodiment that the present invention measures resource control system below.
Please refer to Figure 22, the key distinction of the measurement resource control system 5 of the second embodiment and the measurement resource control system 4 of the first embodiment performs step different while being work.Wherein, measure the step S21 that resource control system 5 carries out identical with step S11, step S23 is identical with step S13, and the included step of the step S22 step included from step S12 is different.
Step S21, instrument resource management process: connect with described surveying instrument, produce an original address and an instrument sign corresponding with described surveying instrument.
Identical with the step S11 of the measurement resource control system 4 of the first embodiment, step S21 also comprises step S211 and S212, be connected with surveying instrument 22 in the same way, produce the original address with each surveying instrument 22, and obtain the corresponding instrument essential information of each surveying instrument 22, and produce a corresponding instrument sign according to this instrument essential information.
Step S22, input step: receive an instrument selection instruction and an application choice instruction of user's input, described instrument selection instruction is for selecting a stand-by surveying instrument from described instrument sign, and described application choice instruction is for selecting a stand-by application program from described application program; Wherein, step S22 comprises step S221~S224:
Step S221, list of application produce step: according to described application resource, produce a list of application corresponding with described application resource;
Please refer 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 corresponding application name 541 of whole application programs, is used for selecting stand-by application program for user.
Step S222, application choice step: from described list of application, select a described described application resource as described stand-by application resource;
Please refer to Figure 24, measure the application choice instruction that resource control system 5 receives user's input, from list of application 540, select an application name 541, and then select the corresponding application program of this application name 541.In the present embodiment, in the application name 541 of this application program, comprising match information, manufacturer's information and the type information in instrument essential information, just can determine the surveying instrument corresponding with this application program by this manufacturer's information and type information.
Step S223, dynamic instrument list producing step: according to described stand-by application resource and described surveying instrument, produce a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource;
Please refer to Figure 25, the match information that the application name 541 that measurement resource control system 5 is selected according to user comprises is retrieved the surveying instrument of whole connections, find the surveying instrument mating with this application name 541, and the instrument sign 521 of the surveying instrument of these couplings is shown, these instrument signs 521 form a dynamic on-line instrument list 520.
Step S224, instrument alternative pack: from described dynamic on-line instrument list, select described stand-by surveying instrument.
Please refer to Figure 26, measure the instrument selection instruction that resource control system 5 receives user's input, from dynamic on-line instrument list 520, select an instrument sign 521, and then selected this instrument to identify 521 corresponding surveying instruments as stand-by surveying instrument.
Step S23, resource matched step: the corresponding original address of described stand-by surveying instrument is sent to described stand-by application resource.
The original address that the instrument that measurement resource control system 5 is selected user identifies 521 corresponding surveying instruments passes to the application program that user selects.Make application program have definite communication object, use this original address to communicate by letter with surveying instrument.After this, user just can carry out measuring equipment by this application program normally.
Please refer to Figure 27, in order to realize above-mentioned each step, measure resource control system 4 and comprise an instrument resource control assembly M21, an input block M22 and a resource matched parts M23.This instrument resource control assembly M21, for connecting with described surveying instrument, produces an original address and an instrument sign corresponding with described surveying instrument; This input block M22 is used for from described surveying instrument, selecting a stand-by surveying instrument by described instrument sign, and from described application resource, selects a stand-by application resource; This resource matched parts M23 is for sending to described stand-by application resource by the corresponding original address of described stand-by surveying instrument.
Input block M22 comprises a list of application production part M221, application choice parts M222, a dynamic instrument list producing parts M223 and an instrument alternative pack M224.A list of application production part M221, for according to described application resource, produces a list of application corresponding with described application resource; Application choice parts M222, for selecting a described described application resource as described stand-by application resource from described list of application; Dynamic instrument list producing parts M223, for producing a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource according to described stand-by application resource and described surveying instrument; Instrument alternative pack M224, for selecting described stand-by surveying instrument from described dynamic on-line instrument list.
Introduce the 3rd embodiment that the present invention measures resource control system below.
Please refer to Figure 25, the key distinction of the measurement resource control system 6 of the 3rd embodiment and the measurement resource control system 4 of the first embodiment performs step different while being work.Wherein, measure the step S31 that resource control system 6 carries out identical with step S11, step S33 is identical with step S13, and the included step of the step S32 step included from step S12 is different.
Step S31, instrument resource management process: connect with described surveying instrument, produce an original address and an instrument sign corresponding with described surveying instrument.
Identical with the step S11 of the measurement resource control system 4 of the first embodiment, step S31 is also connected with surveying instrument 22 in the same way, produce the original address with each surveying instrument 22, and obtain the corresponding instrument essential information of each surveying instrument 22, and produce a corresponding instrument sign according to this instrument essential information.
Step S32, input step: receive an instrument selection instruction and an application choice instruction of user's input, described instrument selection instruction is for selecting a stand-by surveying instrument from described instrument sign, and described application choice instruction is for selecting a stand-by application program from described application program; Wherein, step S32 comprises step S321~S324:
Step S321, measurement the Resources list produce step: according to described instrument sign, produce one and identify corresponding on-line instrument list with described instrument, and for according to described application resource, produce a list of application corresponding with described application resource;
Please refer to Figure 26, measure resource control system 6 and on display interface 68, produce an on-line instrument list 620 and a list of application 640, on-line instrument list 620 is comprising the corresponding instrument sign 621 of the surveying instrument 22 all having connected, 640 application name that comprising whole application program 24 641 of list of application.
Step S322, first resource are selected step: from described on-line instrument list and described list of application, select a stand-by first resource, described stand-by first resource is in described stand-by surveying instrument and described stand-by application resource;
Please refer to Figure 27, measure the instruction that resource control system 6 receives user's input, user can input an instrument selection instruction, selects an instrument sign 621, and then select this instrument to identify 621 corresponding surveying instruments from on-line instrument list 620; Please refer to Figure 28, also can input an application choice instruction, from list of application 640, select an application name 641, and then select the corresponding application program of this application name 641.
Step S323, dynamic Secondary resource list producing step: if described stand-by first resource is described stand-by application resource, according to described stand-by application resource and described surveying instrument, produce a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource, at least a portion that described dynamic on-line instrument list is described on-line instrument list; If described stand-by first resource is described stand-by surveying instrument, according to described stand-by surveying instrument and described application resource, produce a dynamic application list that comprises the application resource matching with described stand-by surveying instrument, described dynamic application list is at least a portion of described list of application;
Please refer to Figure 29, if the first selection instruction is application choice instruction, the instrument essential information that the application name 641 that measurement resource control system 6 is selected according to user comprises is retrieved the surveying instrument of whole connections, find the surveying instrument mating with this application name 641, and the instrument sign 621 of the surveying instrument of these couplings is shown, these instrument signs 621 form a dynamic on-line instrument list 660.Please refer to Figure 30, if the first selection instruction is instrument selection instruction, measure 6 of resource control systems and identify 621 instrument essential information according to the selected instrument of this instrument selection instruction, application programs is retrieved, obtain the application program of mating with surveying instrument, and form a dynamic application list 670 by the application name 641 of the application program of these couplings.
Step S324, Secondary resource are selected step: if described stand-by first resource is described stand-by application resource, from described dynamic on-line instrument list, select described stand-by surveying instrument; If described stand-by first resource is described stand-by surveying instrument, from described dynamic application list, select described stand-by application resource.
Please refer to Figure 31, if what produce is dynamic on-line instrument list 660, measure the instrument selection instruction that resource control system 6 receives user's input, from dynamic on-line instrument list 660, select an instrument sign 621, and then selected this instrument to identify 621 corresponding surveying instruments as stand-by surveying instrument.Please refer to Figure 32, if what produce is dynamic application list 670, measure resource control system 6 and receive the application choice instruction that user inputs, for selecting an application name 641 in dynamic application list 670, represent to select the corresponding application program of this application name 641, as a stand-by application program.
Step S33, resource matched step: the corresponding original address of described stand-by surveying instrument is sent to described stand-by application resource.
The original address that the instrument that measurement resource control system 6 is selected user identifies 621 corresponding surveying instruments passes to the application program that user selects.Make application program have definite communication object, use this original address to communicate by letter with surveying instrument.After this, user just can carry out measuring equipment by this application program normally.
Please refer to Figure 36, in order to realize above-mentioned each step, measure resource control system 4 and comprise an instrument resource control assembly M31, an input block M32 and a resource matched parts M33.This instrument resource control assembly M31, for connecting with described surveying instrument, produces an original address and an instrument sign corresponding with described surveying instrument; This input block M32 is used for from described surveying instrument, selecting a stand-by surveying instrument by described instrument sign, and from described application resource, selects a stand-by application resource; This resource matched parts M33 is for sending to described stand-by application resource by the corresponding original address of described stand-by surveying instrument.
Input block M32 comprises that one is measured the Resources list production part M321, first resource alternative pack M322, a dynamic Secondary resource list producing parts M223 and a Secondary resource alternative pack M224.
Measure the Resources list production part M321, for according to described instrument sign, produce one and identify corresponding on-line instrument list with described instrument, and for according to described application resource, produce a list of application corresponding with described application resource;
First resource alternative pack M322, for selecting a stand-by first resource from described on-line instrument list and described list of application, described stand-by first resource is in described stand-by surveying instrument and described stand-by application resource;
Dynamic Secondary resource list producing parts M323, if be described stand-by application resource for described stand-by first resource, according to described stand-by application resource and described surveying instrument, produce a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource, at least a portion that described dynamic on-line instrument list is described on-line instrument list; If described stand-by first resource is described stand-by surveying instrument, according to described stand-by surveying instrument and described application resource, produce a dynamic application list that comprises the application resource matching with described stand-by surveying instrument, described dynamic application list is at least a portion of described list of application;
Secondary resource alternative pack M324 if be described stand-by application resource for described stand-by first resource, selects described stand-by surveying instrument from described dynamic on-line instrument list; If described stand-by first resource is described stand-by surveying instrument, from described dynamic application list, select described stand-by application resource.
Measurement resource control system of the present invention and measurement resource control method at least have following beneficial effect:
1. because measurement resource control system of the present invention and measurement resource control method can provide for application program the original address of surveying instrument, no longer need each application program oneself to remove to produce original address, therefore in the performance history of original program, can save the exploitation that instrument is searched module 147, instrument link block 148, make application development, safeguard comparatively simple.
2. when the quantity of surveying instrument and application program is huge, user has selected after stand-by surveying instrument or stand-by application program, measurement resource control system of the present invention and measurement resource control method will find application program and the surveying instrument of coupling automatically, got rid of the interference of unmatched option, made surveying instrument very convenient with mating of application program.
Realization in order to demonstrate the invention, has described above-mentioned embodiment.But other variations of the present invention and modification, be apparent for those skilled in the art, any modification/variation within the scope of essence disclosed in this invention and cardinal rule or imitation conversion all belong to claim protection domain of the present invention.

Claims (10)

1. measure a resource control system, for controlling a plurality of surveying instruments and a plurality of application resource, it is characterized in that, described measurement resource control system comprises:
An instrument resource control assembly, for connecting with described surveying instrument, produces an original address corresponding with described surveying instrument and identifies with the unique corresponding instrument of described surveying instrument;
An input block for selecting a stand-by surveying instrument by described instrument sign from described surveying instrument, afterwards, is selected a stand-by application resource from described application resource according to stand-by surveying instrument;
Resource matched parts, for sending to described stand-by application resource by the corresponding original address of described stand-by surveying instrument.
2. measurement resource control system according to claim 1, is characterized in that, described instrument resource control assembly comprises:
An instrument resource is searched parts, for generation of the described original address of described surveying instrument;
An instrument resource link, for sending order according to described original address to described surveying instrument, obtains the instrument essential information of described surveying instrument, according to described instrument essential information, produces described instrument sign.
3. measurement resource control system according to claim 1, is characterized in that, described input block comprises:
Instrument list producing parts, for according to described instrument sign, produce one and identify corresponding on-line instrument list with described instrument;
An instrument alternative pack, for selecting a described surveying instrument as described stand-by surveying instrument from described on-line instrument list;
Dynamic application list producing parts, for producing a dynamic application list that comprises the application resource matching with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource;
Application choice parts, for selecting described stand-by application resource from described dynamic application list.
4. measurement resource control system according to claim 1, is characterized in that, described input block comprises:
A list of application production part, for according to described application resource, produces a list of application corresponding with described application resource;
Application choice parts, for selecting a described described application resource as described stand-by application resource from described list of application;
Dynamic instrument list producing parts, for producing a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource according to described stand-by application resource and described surveying instrument;
An instrument alternative pack, for selecting described stand-by surveying instrument from described dynamic on-line instrument list.
5. measurement resource control system according to claim 1, is characterized in that, described input block comprises:
Measure the Resources list production part for one, for according to described instrument sign, produce one and identify corresponding on-line instrument list with described instrument, and for according to described application resource, produce a list of application corresponding with described application resource;
A first resource alternative pack, for selecting a stand-by first resource from described on-line instrument list and described list of application, described stand-by first resource is in described stand-by surveying instrument and described stand-by application resource;
Dynamic Secondary resource list producing parts, if be described stand-by application resource for described stand-by first resource, according to described stand-by application resource and described surveying instrument, produce a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource, at least a portion that described dynamic on-line instrument list is described on-line instrument list; If described stand-by first resource is described stand-by surveying instrument, according to described stand-by surveying instrument and described application resource, produce a dynamic application list that comprises the application resource matching with described stand-by surveying instrument, described dynamic application list is at least a portion of described list of application;
A Secondary resource alternative pack if be described stand-by application resource for described stand-by first resource, is selected described stand-by surveying instrument from described dynamic on-line instrument list; If described stand-by first resource is described stand-by surveying instrument, from described dynamic application list, select described stand-by application resource.
6. measure a resource control method, control a plurality of surveying instruments and a plurality of application resource, it is characterized in that, described measurement resource control method comprises:
An instrument resource is controlled step, connects with described surveying instrument, produces an original address corresponding with described surveying instrument and identifies with the unique corresponding instrument of described surveying instrument;
An input step is selected a stand-by surveying instrument by described instrument sign from described surveying instrument, afterwards, selects a stand-by application resource according to stand-by surveying instrument from described application resource;
A resource matched step, sends to described stand-by application resource by the corresponding original address of described stand-by surveying instrument.
7. measurement resource control method according to claim 6, is characterized in that, described instrument resource is controlled step and comprised:
An instrument resource finding step, produces the described original address of described surveying instrument;
An instrument resource Connection Step, sends order according to described original address to described surveying instrument, obtains the instrument essential information of described surveying instrument, according to described instrument essential information, produces described instrument sign.
8. measurement resource control method according to claim 6, is characterized in that, described input step comprises:
An instrument list producing step, according to described instrument sign, produces one and identifies corresponding on-line instrument list with described instrument;
An instrument is selected step, selects a described surveying instrument as described stand-by surveying instrument from described on-line instrument list;
A dynamic application list producing step, produces a dynamic application list that comprises the application resource matching with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource;
An application choice step is selected described stand-by application resource from described dynamic application list.
9. measurement resource control method according to claim 6, is characterized in that, described input step comprises:
A list of application produces step, according to described application resource, produces a list of application corresponding with described application resource;
An application choice step selects a described described application resource as described stand-by application resource from described list of application;
A dynamic instrument list producing step, produces a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource according to described stand-by application resource and described surveying instrument;
An instrument is selected step, from described dynamic on-line instrument list, selects described stand-by surveying instrument.
10. measurement resource control method according to claim 6, is characterized in that, described input step comprises:
Measure the Resources list for one and produce step, according to described instrument sign, produce one and identify corresponding on-line instrument list with described instrument, and according to described application resource, produce a list of application corresponding with described application resource;
A first resource is selected step, selects a stand-by first resource from described on-line instrument list and described list of application, and described stand-by first resource is in described stand-by surveying instrument and described stand-by application resource;
A dynamic Secondary resource list producing step, if described stand-by first resource is described stand-by application resource, according to described stand-by application resource and described surveying instrument, produce a dynamic on-line instrument list that comprises the surveying instrument matching with described stand-by application resource, at least a portion that described dynamic on-line instrument list is described on-line instrument list; If described stand-by first resource is described stand-by surveying instrument, according to described stand-by surveying instrument and described application resource, produce a dynamic application list that comprises the application resource matching with described stand-by surveying instrument, described dynamic application list is at least a portion of described list of application;
A Secondary resource is selected step, if described stand-by first resource is described stand-by application resource, from described dynamic on-line instrument list, selects described stand-by surveying instrument; If described stand-by first resource is described stand-by surveying instrument, from described dynamic application list, select described stand-by application resource.
CN201010534899.7A 2010-11-03 2010-11-03 Measuring resource control system and measuring resource control method Active CN102004952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010534899.7A CN102004952B (en) 2010-11-03 2010-11-03 Measuring resource control system and measuring resource control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010534899.7A CN102004952B (en) 2010-11-03 2010-11-03 Measuring resource control system and measuring resource control method

Publications (2)

Publication Number Publication Date
CN102004952A CN102004952A (en) 2011-04-06
CN102004952B true CN102004952B (en) 2014-04-09

Family

ID=43812299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010534899.7A Active CN102004952B (en) 2010-11-03 2010-11-03 Measuring resource control system and measuring resource control method

Country Status (1)

Country Link
CN (1) CN102004952B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176155B (en) * 2011-12-21 2017-11-28 北京普源精电科技有限公司 A kind of detection method and device of measuring instrument
CN103593223B (en) * 2013-11-14 2017-02-01 中国电子科技集团公司第四十一研究所 Measuring instrument program control language compatibility system and processing method
CN103685545B (en) * 2013-12-24 2016-08-17 北京航天测控技术有限公司 A kind of distributed LAN-PXI service system based on LAN
CN105373028B (en) * 2014-09-02 2020-11-06 普源精电科技股份有限公司 Measuring equipment with interface communication function and interface communication system and method thereof
CN105573927B (en) * 2015-12-17 2018-03-13 中国电子科技集团公司第四十一研究所 A kind of PXI device access methods based on VISA
CN107193720B (en) * 2016-03-14 2020-04-10 苏州伊欧陆系统集成有限公司 Method for dynamically loading measurement application
CN107346243B (en) * 2017-06-09 2020-08-11 中国电子科技集团公司第四十一研究所 Online programming method applied to measuring instrument
CN111143262A (en) * 2018-11-05 2020-05-12 致伸科技股份有限公司 Switching device, instrument control system and instrument control method
CN113703836A (en) * 2021-08-20 2021-11-26 北京空间飞行器总体设计部 SCPI instruction management method for spacecraft power system evaluation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0967463A2 (en) * 1998-06-25 1999-12-29 Tektronix, Inc. Measuring instrument comprising a help system
WO2004046016A2 (en) * 2002-11-15 2004-06-03 Nuovo Pignone S.P.A. Method and system for controlling an electronic instrument for metrological measurements
CN102467372A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Measurement resource control system and measurement resource control method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5847955A (en) * 1994-05-04 1998-12-08 National Instruments Corporation System and method for controlling an instrumentation system
US6389491B1 (en) * 1999-03-23 2002-05-14 Agilent Technologies, Inc. Test instrumentation I/O communication interface and method
CN100359460C (en) * 2006-06-09 2008-01-02 宋丽娟 Planning scheme of electronic device with multiple display screen parallel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0967463A2 (en) * 1998-06-25 1999-12-29 Tektronix, Inc. Measuring instrument comprising a help system
WO2004046016A2 (en) * 2002-11-15 2004-06-03 Nuovo Pignone S.P.A. Method and system for controlling an electronic instrument for metrological measurements
CN102467372A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Measurement resource control system and measurement resource control method

Also Published As

Publication number Publication date
CN102004952A (en) 2011-04-06

Similar Documents

Publication Publication Date Title
CN102004952B (en) Measuring resource control system and measuring resource control method
CN101393442B (en) CEMS monitoring method based on OPC communication technology
CN102135938A (en) Software product testing method and system
CN104780407A (en) Automatic testing method and automatic testing system for set top box
CN105760296A (en) Automation testing control method, device and terminal
CN104915297B (en) A kind of automated testing method of the APP power consumption of android equipment
CN105204991A (en) Internet of things test method and device
CN113706110A (en) FPGA test tool integrated test management platform
CN102467372A (en) Measurement resource control system and measurement resource control method
RU2678717C9 (en) Method for building a software system for automating and visualizing testing of embedded software for electronic devices
CN113126993B (en) Automatic test method and system applied to vehicle detection software
CN104615928A (en) Metrological verification method and system and server
CN103955429A (en) Method and device for determining regression testing range
CN113220597B (en) Test method, test device, electronic equipment and storage medium
CN102467370B (en) Measure resource control system and measure resource control method
CN112148241A (en) Light processing method and device, computing equipment and storage medium
CN108762765B (en) Development board program compiling and downloading method based on contiki system
CN106528413A (en) Method and device for testing application program
Pour Software component technologies: JavaBeans and ActiveX
CN102467369A (en) Measurement resource control system and measurement resource control method
Xue et al. Learning with remote laboratories: Designing control algorithms with both block diagrams and customized C code schemes
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
CN111176995A (en) Test method and test system based on big data test case
CN105162645A (en) Interoperability test method based on PIIF configuration

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