CN102004952A - 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
CN102004952A
CN102004952A CN2010105348997A CN201010534899A CN102004952A CN 102004952 A CN102004952 A CN 102004952A CN 2010105348997 A CN2010105348997 A CN 2010105348997A CN 201010534899 A CN201010534899 A CN 201010534899A CN 102004952 A CN102004952 A CN 102004952A
Authority
CN
China
Prior art keywords
instrument
application
resource
stand
surveying instrument
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010105348997A
Other languages
Chinese (zh)
Other versions
CN102004952B (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, be used to manage the measurement resource control system of a plurality of surveying instruments and a plurality of application programs and the measurement resource control method of employing thereof.
Background technology
In Industrial Engineering and education of science field, measuring testing tool all is indispensable basic tool in the links such as experiment, manufacturing production, test, and for example oscillograph, multimeter, frequency spectrograph, signal source all are the multimeters of using always.Along with the continuous development of science and technology, surveying instrument is also transformed to the digital measurement instrument by the analogue measurement instrument.Digitized surveying instrument has the not available advantage of a lot of analogue measurement instruments, for example is convenient to store, conveniently carry out data analysis and calculating, strong interference immunity or the like.In addition, the advantage that digital measuring instrument also has a uniqueness is exactly, it can be connected with computing machine easily, forms a measuring system, utilizes computing machine rich in natural resources and strong functions to come surveying instrument is controlled and measurement result is carried out more complicated processing.
Because above-mentioned advantage, the measuring system of being made up of computing machine and surveying instrument is by extensive studies and development.What deserves to be mentioned is,, make surveying instrument such as oscillograph in measuring system, only play the effect of data acquisition, and data processing of itself and Presentation Function become a kind of waste because computing machine possesses powerful data processing and Presentation Function.Therefore, measuring integrated circuit board gives birth to therefrom.Measure integrated circuit board and also be considered to be a kind of surveying instrument, different with oscillograph etc. is, it only possesses the effect of data acquisition, and itself does not carry out the processing or the demonstration of data.In use, measuring integrated circuit board generally need be plugged on the IO interface of computing machine, for example, the measurement integrated circuit board can pass through VXI (VME extensions for Instrumentation) bus, PXI (PCIextensions for Instrumentation) bus, GPIB (General Purpose Interface Bus) and computer by serial (serial port) or parallel port (parallel port) is connected with computing machine.
According to above-mentioned introduction as can be known, please refer to Fig. 1, present 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 is oscillograph, multimeter, frequency spectrograph, signal source, also can be to measure integrated circuit board, even can also be sensor etc.Interface 13 can be vxi bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth, and serial ports comprises USB interface, RS232 etc.
Because the diversity of interface 13, computing machine 11 generally all can mounting interface drivers 111, for example VISA drives, and is used to shield the difference that different interface 13 is brought.Computing machine 11 can pass on various command to carry out corresponding operation to surveying instrument 12 based on interface drive program 111 by normalized SCPI command set 112.SCPI command set 112 comprises many SCPI order, and different SCPI orders are used for surveying instrument 12 is carried out different operations, this operation comprise to the control of surveying instrument 12, to the parameter of surveying instrument 12 be configured, from surveying instrument 12 reading of data etc.
The SCPI order is various, and the user controls, measurement result is carried out various computings different surveying instrument 12 for convenience, and computing machine 11 also comprises at least one application program 14.Application program 14 can be based on interface drive program 111 and SCPI command set 112, use programming language tools such as VC, VB, LabVIEW etc., finish by developer, user oneself or other people exploitation, be used for that 11 pairs of surveying instruments of control computer 12 carry out various operations and measurement data handled 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 the user can be easily imports various operations to surveying instrument 12 by input window 1491, and replaces directly sending the SCPI order to surveying instrument 12; Display interface 1490 also has a waveform display window 1492, is used for the form of figure line computing machine 11 being shown from the measurement data that surveying instrument 12 obtains.
Because the diversity of surveying instrument 12, the specification of each surveying instrument 12, parameter or function etc. all are not quite similar.Generally need the different application program 14 of exploitation for different surveying instrument 12.Please 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 same kind 12 owing to its model, version difference, causes possibilities such as its specification, parameter or function different, therefore also need to develop different application program 14 sometimes.
In addition, for some special application scenarios, need a plurality of identical or different surveying instruments 12 collaborative works to realize a certain measuring task, therefore, a plurality of surveying instruments 123 can be corresponding an application program 143, need these a plurality of surveying instruments 123 during these application program 143 operations work simultaneously and just can finish measuring task.
In addition, also can develop a plurality of application programs 144 for a surveying instrument 124 and be used for realizing respectively different functions again; For some surveying instrument 125, for example same type but the different surveying instrument of model, also can have the situation that an application program 145 can compatible a plurality of surveying instruments 125, this moment, this application program 145 can be separately and each surveying instrument 125 cooperating.For example, application program 145 simultaneously compatible model be the frequency spectrograph 125 of DSA1030A 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 finish communication by bus 117.Application program 14 is a kind of executable programs, is to be stored in the hard disk 116 not by operation the time usually.Be called and when moving, after the user opened the instruction of this application program 14 by the operating system input of computing machine 11, this application program 14 was loaded in the middle of the internal memory 115, just can be carried out by CPU114.
Please together with reference to Fig. 1 and Fig. 5, when application program 14 was carried out, computing machine 11 was carried out following steps in regular turn under the control of application program 14:
Step S1, instrument finding step;
Though according to aforementioned, surveying instrument 12 is connected with computing machine 11 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 can't be set up communication with surveying instrument 12.Therefore, the instrument finding step is mainly finished the configuration to surveying instrument 12, obtains the original address of a corresponding surveying instrument 12.Even if should be pointed out that to have obtained this original address, but this connection only is the connection on the physics rank, that is to say that computing machine 11 can utilize this original address to communicate by letter with this surveying instrument 12.And according to mentioned above, because application program 14 exists diversified corresponding relation with surveying instrument 12, finish the instrument finding step also and do not mean that application program 14 can control 11 pairs of these surveying instruments 12 of computing machine and operate and controlled, also need further to discern the essential information of the surveying instrument 12 that is connected, judge that whether the surveying instrument 12 that is connected mates with application program 14, or which platform surveying instrument 12 is complementary with application program 14 in many surveying instruments 12 that connected.
Step S2, instrument Connection Step;
Step S2 mainly finishes 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 finish the identification of instrument model, be application program 14 pairing surveying instruments 12 to guarantee this instrument, that is judge whether follow-up instrument application step can control this surveying instrument 12.
The concrete work of doing of step S2 is: receive this original address, utilize this original address to send order to surveying instrument 12, inquiry instrument essential information, this instrument essential information that surveying instrument 12 returns is resolved, parse trade name, instrument model, instrument sequence number, instrument version number etc. according to this instrument essential information, parse trade name, instrument model, instrument sequence number, instrument version number etc. according to this and judge whether this surveying instrument 12 is surveying instruments 12 of application program 14 correspondences.
Step S3, instrument application step;
The work of step S3 comprises: one, utilize this original address control computer 11 and surveying instrument 12 to communicate, Content of Communication comprises the measurement data that receives surveying instrument 12, orders to surveying instrument 12 transmission SCPI and surveying instrument 12 controlled etc.; Two, provide a display interface, please refer to Fig. 2, for example be the display interface of the application program of this frequency spectrograph, the measurement data that receives shown, receives the instruction of user's input and be converted into corresponding SCPI order by modes such as input windows 1491 and be sent to surveying instrument 12 with forms such as curves by waveform display window 1492.
Please refer to Fig. 6, application program 14 comprises that an instrument that is used for control computer 11 performing step S1 searches module 147, an instrument link block 148 and an instrument application module 149 that is used for control computer 11 performing step S3 that is used for control computer 11 performing step S2.
A kind of software (Measurement ﹠amp that can be used for communication between authenticating computer and the surveying instrument that instrument (NI) company of country releases; Automation Explorer MAX) also can pass through the original address that step S1 obtains surveying instrument, but software just produces this original address, does not have follow-up step S2 and step S3.
Agilent (Agilent) company has also released a kind of software (Agilent Connection Expert) that can be used for communication between authenticating computer and the surveying instrument, this software also can produce original address and obtain the instrument essential information by step S1 and S2, but this software also just produces this original address and instrument essential information, does not also have subsequent step S3.
According to the introduction of front as can be known, 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, search module 147, instrument link block 148 and instrument application module 149 and when developing application 14, still need to develop again instrument, make the exploitation and the maintenance process complexity of application program 14, cost is higher.
Summary of the invention
In order to solve prior art application development and maintenance process complexity, cost problem of higher, the invention provides a kind of measurement resource control system that application development and maintenance process simplification, cost are reduced.
Simultaneously, the present invention also provides the measurement resource control method that described measurement resource control system is adopted.
A kind of measurement resource control system, be used to control a plurality of surveying instruments and a plurality of application resource, described measurement resource control system comprises: an instrument resource control assembly, be used for connecting, produce an original address and an instrument sign corresponding with described surveying instrument with described surveying instrument; An input block is used for identifying from described surveying instrument by described instrument selecting a stand-by surveying instrument and select a stand-by application resource from described application resource; Resource matched parts are used for the pairing original address of described stand-by surveying instrument is sent to described stand-by application resource.
In an embodiment of the invention, described instrument resource control module comprises: an instrument resource is searched parts, is used to produce the described original address of described surveying instrument; An instrument resource link is used for sending order according to described original address to described surveying instrument, obtains the instrument essential information of described surveying instrument, produces described instrument sign according to described instrument essential information.
In an embodiment of the invention, described load module comprises: instrument list producing parts, be used for according to described instrument sign, and produces one and identify corresponding on-line instrument with described instrument and tabulate; An instrument alternative pack is used for selecting a described surveying instrument as described stand-by surveying instrument from described on-line instrument tabulation; Dynamic application list producing parts are used for producing a dynamic application tabulation that comprises the application resource that is complementary with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource; Application choice parts are used for selecting described stand-by application resource from described dynamic application tabulation.
In an embodiment of the invention, described load module comprises: a list of application production part, be used for according to described application resource, and produce one and the corresponding list of application of described application resource; Application choice parts are used for selecting a described described application resource as described stand-by application resource from described list of application; Dynamic instrument list producing parts are used for producing a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with described stand-by application resource according to described stand-by application resource and described surveying instrument; An instrument alternative pack is used for selecting described stand-by surveying instrument from described dynamic on-line instrument tabulation.
In an embodiment of the invention, described load module comprises: measure the Resources list production part for one, be used for according to described instrument sign, produce one and identify the tabulation of corresponding on-line instrument with described instrument, with be used for according to described application resource, produce one with the corresponding list of application of described application resource; One first resource selection parts are used for selecting stand-by first resource from described on-line instrument tabulation and described list of application, and described stand-by first resource is in described stand-by surveying instrument and the described stand-by application resource; Dynamic second the Resources list production part, if being used for described stand-by first resource is described stand-by application resource, then produce a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with described stand-by application resource, at least a portion that described dynamic on-line instrument tabulation is described on-line instrument tabulation according to described stand-by application resource and described surveying instrument; If described stand-by first resource is described stand-by surveying instrument, then produce a dynamic application tabulation that comprises the application resource that is complementary with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource, described dynamic application tabulation is at least a portion of described list of application; One second resource selection parts are described stand-by application resources if be used for described stand-by first resource, then select described stand-by surveying instrument from described dynamic on-line instrument tabulation; If described stand-by first resource is described stand-by surveying instrument, then from described dynamic application tabulation, 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 controlled step, connect with described surveying instrument, and produce an original address and an instrument sign corresponding with described surveying instrument; An input step identifies from described surveying instrument by described instrument and to select a stand-by surveying instrument and select a stand-by application resource from described application resource; A resource matched step sends to described stand-by application resource with the pairing original address of described stand-by surveying instrument.
In an embodiment of the invention, described instrument resource controlled step comprises: 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, produces described instrument sign according to described instrument essential information.
In an embodiment of the invention, described input step comprises: an instrument list producing step according to described instrument sign, produces one and identifies corresponding on-line instrument with described instrument and tabulate; An instrument is selected step, selects a described surveying instrument as described stand-by surveying instrument from described on-line instrument tabulation; A dynamic application list producing step produces a dynamic application tabulation that comprises the application resource that is complementary 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 tabulation.
In an embodiment of the invention, described input step comprises: a list of application produces step, according to described application resource, produces one and the corresponding list of application of 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 tabulation that comprises the surveying instrument that is complementary with described stand-by application resource according to described stand-by application resource and described surveying instrument; An instrument is selected step, selects described stand-by surveying instrument from described dynamic on-line instrument tabulation.
In an embodiment of the invention, described input step comprises:
Measure the Resources list for one and produce step,, produces one and identify corresponding on-line instrument tabulation and, produce one and the corresponding list of application of described application resource according to described application resource with described instrument according to described instrument sign;
One first resource selection step is selected stand-by first resource from described on-line instrument tabulation and described list of application, described stand-by first resource is in described stand-by surveying instrument and the described stand-by application resource;
Dynamic second the Resources list produces step, if described stand-by first resource is described stand-by application resource, then produce a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with described stand-by application resource, at least a portion that described dynamic on-line instrument tabulation is described on-line instrument tabulation according to described stand-by application resource and described surveying instrument; If described stand-by first resource is described stand-by surveying instrument, then produce a dynamic application tabulation that comprises the application resource that is complementary with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource, described dynamic application tabulation is at least a portion of described list of application;
One second resource selection step if described stand-by first resource is described stand-by application resource, is then selected described stand-by surveying instrument from described dynamic on-line instrument tabulation; If described stand-by first resource is described stand-by surveying instrument, then from described dynamic application tabulation, select described stand-by application resource.
Measurement resource control system of the present invention and measurement resource control method have following beneficial effect at least:
1. because measurement resource control system of the present invention and measurement resource control method can provide the original address of surveying instrument for application program, no longer need each application program oneself to remove to produce original address, therefore can save the exploitation that instrument is searched module, instrument link block in the performance history of original program, make application development, safeguard comparatively simply, cost is lower.
2. when the quantity of surveying instrument and application program is huge, after the user has selected stand-by surveying instrument or stand-by application program, measurement resource control system of the present invention and measurement resource control method will find the application program and the surveying instrument of coupling automatically, got rid of the interference of unmatched option, made the coupling of surveying instrument and application program is very convenient.
Description of drawings
Fig. 1 is a kind of modular structure synoptic diagram of traditional measuring system.
Fig. 2 is a kind of display interface synoptic diagram of existing application program.
Fig. 3 is the synoptic diagram of surveying instrument and application matches relation.
Fig. 4 is a kind of modular structure synoptic diagram of traditional 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 synoptic diagram of application program shown in Figure 5.
Fig. 7 is that the present invention measures the modular structure synoptic diagram that resource control system first embodiment is applied to a measuring system.
Fig. 8 is the structural representation of the computing machine that measuring system adopted among Fig. 7.
Fig. 9 is the synoptic diagram of surveying instrument and application matches relation.
Figure 10 is the software module structure synoptic diagram that the present invention measures the application program that resource control system first embodiment manages.
Figure 11 is that the present invention measures resource control system first embodiment performed flow chart of steps of when work.
Figure 12 is the display interface figure that the present invention measures resource control system first embodiment.
Figure 13 is the surface chart that the present invention measures the gpib interface parameter setting of resource control system first embodiment.
Figure 14 is the surface chart that the present invention measures the RS232 interface parameters setting of resource control system first embodiment.
Figure 15 is the display interface figure that the present invention measures the on-line instrument tabulation of resource control system first embodiment.
Figure 16 is the concrete steps process flow diagram that the present invention measures dynamic application list producing step in resource control system first embodiment.
Figure 17 is the display interface figure that the present invention measures the dynamic application tabulation of resource control system first embodiment.
Figure 18 is the synoptic diagram that application program that the present invention measures resource control system first embodiment is deposited file.
Figure 19 is the later interface synoptic diagram of startup application program that the present invention measures resource control system first embodiment.
Figure 20 is that the present invention measures the module diagram that resource control system first embodiment is realized Figure 11 process step.
Figure 21 is the module diagram that the dynamic application list producing loses M123 among Figure 20.
Figure 22 is that the present invention measures resource control system second embodiment performed flow chart of steps of when work.
Figure 23 is the display interface figure that the present invention measures the list of application of resource control system second embodiment.
Figure 24 is that the present invention measures the display interface figure that user in the list of application of resource control system second embodiment selects an application program.
Figure 25 is the display interface figure that the present invention measures the dynamic on-line instrument tabulation of resource control system second embodiment.
Figure 26 is that the present invention measures the display interface figure that user in the dynamic on-line instrument tabulation of resource control system second embodiment selects a surveying instrument.
Figure 27 is that the present invention measures the module diagram that resource control system second embodiment is realized Figure 22 process step.
Figure 28 is that the present invention measures resource control system the 3rd embodiment performed flow chart of steps of when work.
Figure 29 is that the present invention measures the list of application of resource control system the 3rd embodiment and the display interface figure of on-line instrument tabulation.
Figure 30 is user that the present invention measures resource control system the 3rd embodiment selects a surveying instrument in the on-line instrument tabulation in Figure 26 display interface figure.
Figure 31 is user that the present invention measures resource control system the 3rd embodiment selects an application program in the list of application in Figure 26 display interface figure.
Figure 32 is the display interface figure that the present invention measures the dynamic application tabulation of resource control system the 3rd embodiment.
Figure 33 is the display interface figure that the present invention measures the dynamic on-line instrument tabulation of resource control system the 3rd embodiment.
Figure 34 is the display interface figure that selects an application program in the dynamic application tabulation of user in Figure 29.
Figure 35 is the display interface figure that selects a surveying instrument in the dynamic on-line instrument tabulation of user in Figure 30.
Figure 36 is that the present invention measures the module diagram that resource control system the 3rd embodiment is realized Figure 28 process step.
Embodiment
Introduce first embodiment that the present invention measures resource control system below.
Please refer to Fig. 7, measure resource control system 4 and be applied in the measuring system 2.Measuring system 2 comprises a plurality of measurement resources 20 and is used to manage and control the measurement resource control system 4 of these a plurality of measurement resources 20.These a plurality of measurement resources 20 comprise a plurality of surveying instruments 22 and a plurality of application resource, and in the present embodiment, this application resource is an application program 24.
Surveying instrument 22 is the equipment with data acquisition function, can be surveying instrument, for example is oscillograph, multimeter, frequency spectrograph, signal source, also can be to measure integrated circuit board, even can also be sensor etc.Measuring resource control system 4 is realized by computing machine and operation measurement resource control system software on computers.Computing machine can be the equipment that PC, panel computer, server or the client that is connected to server etc. have data operation and processing capacity.Surveying instrument 22 is connected with measurement resource control system 4 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 is adopted comprises CPU414, internal memory 415, storer 416, bus 417, display screen 418 and peripheral hardware 419.CPU414, internal memory 415, storer 416 are connected with bus 417 respectively, display screen 418 is connected with bus 417 by video card 419, peripheral hardware 419 links to each other with bus 417 by various interface, and CPU414, internal memory 415, storer 416, display screen 418 and peripheral hardware 419 are finished by bus 417 and communicated by letter.Storer 416 is made of hard disk, can also be flash memory, CD, disk etc. certainly.Peripheral hardware 419 comprises mouse, keyboard etc.
Because the diversity of surveying instrument 22, the specification of each surveying instrument 22, parameter or function etc. all are not quite similar.Generally need the different application program 24 of exploitation for different surveying instrument 22, promptly each surveying instrument 22 has its corresponding application program 24.Please 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 same kind 22 owing to its model, version difference, causes possibilities such as its specification, parameter or function different, therefore also need to develop different application program 24 sometimes.
In addition, for some special application scenarios, need a plurality of identical or different surveying instruments 22 collaborative works to realize a certain measuring task, therefore, a plurality of surveying instruments 223 can be corresponding an application program 243, need these a plurality of surveying instruments 223 during these application program 243 operations work simultaneously and just can finish measuring task.
In addition, also can develop a plurality of application programs 244 for a surveying instrument 224 and be used for realizing respectively different functions again; For some surveying instrument 225, for example same type but the different surveying instrument of model, also can have the situation that an application program 245 can compatible a plurality of surveying instruments 225, this moment, this application program 245 can be separately and each surveying instrument 225 cooperating.For example, application program 245 simultaneously compatible model be the frequency spectrograph 225 of DSA1030A and the frequency spectrograph 225 ' of DSA1000A.
Application program 24 is a kind of executable programs, is to be stored in the storer 416 of computing machine 41 not by operation the time.Please refer to Figure 10, application program 24 comprises instrument application module 249.Because application program 24 no longer comprises instrument and searches module and instrument link block, therefore only by executive utility 24 can not control computer 41 acquisition surveying instruments 22 original address, and resource control systems 4 to be measured such as needs pass to application program 24 with original address, promptly can not be only 24 come control computer 41 to set up with surveying instrument 22 to communicate by letter by running application.Therefore user's 24 controls that can not realize that directly run application to surveying instrument 22.
Introduce to measure resource control system 4 below and be and how to finish the management of measuring 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 comprises the original searching work of finishing instrument resource, promptly find 41 that be connected with computing machine, be in the surveying instrument 22 that (is also referred to as presence) under the open state, and obtain an original address.Because surveying instrument 22 can link to each other with computing machine 41 by different interfaces, therefore at different interfaces, its obtain manner of searching mode and original address also is not quite similar.
Type of service according to interface is divided three classes the mode of searching: the first kind: search automatically, the plug and play mode triggers finding step, for example the USB-TMC interface; Second class: semi-automatic searching needs manual triggers finding step or configure trigger condition to trigger finding step, for example the LAN-VX-11 interface; The 3rd class: manually search, the mode that connects instrument by the input configuration data realizes searching, for example the RS232 interface.
For searching automatically, with the USB-TMC interface is the example explanation, be based on Universal Serial Bus Testand Measurement Class Specification (USBTMC) and Universal Serial Bus Test andMeasurement Class, Subclass USB488 Specification (USBTMC-USB488).Surveying instrument 22 connects computing machine 41 back operation systems (for example Windows) can install driving (Windows Vista and 7 can install automatically, and other versions need manual installation) for it.After finishing drive installation, measure the action triggers that the measured instrument 22 of resource control system 4 meetings connects computing machines 41, the USB-TMC that measurement resource control system 4 calls VISA searches the address information that function obtains the USB-TMC interface, and this address information is exactly this original address.
Searching for semi-automatic, is example explanation with the LAN interface, is based on searching of LAN interface instrument that VX-11 agreement and mDNS agreement finish.Because there are two cover agreements on existing LAN interface upper strata and deposit (VX-11 and mDNS) so its mode of searching is had two covers.
For VX-11 interface instrument, the mode of searching is accepted the response of this message within a certain period of time for searching message to inner transmission of LAN (Local Area Network), and the IP of response is considered as surveying instrument to be determined, and the IP of this response constitutes this original address.Please refer to Figure 12, have " LAN " button 140 on the display interface of measurement resource control system 4, the user should trigger step S11 by " LAN " button 140 by clicking.
To with mDNS interface instrument (satisfy this agreement and also satisfy the VX-11 agreement), the instrument of mDNS interface is in the mode of supporting also to support on the above-mentioned basis of searching mode based on mDNS of searching, promptly when satisfying the equipment access network of mDNS agreement, measure resource control system 4 and can receive the connection request report of this equipment, measure resource control system 4 and obtain this resource information by this report, this resource information constitutes this original address.Measure resource control system 4 and also comprise a regularly online situation authentication function of resource, can remove this surveying instrument 22 automatically if there is mDNS equipment to disconnect connection measurement resource control system 4.
For manually searching, with the gpib interface example explanation, be based on searching that IEEE488.1 and IEEE488.2 agreement finish.Please refer to Figure 13, the user connects instrument by input GPIB parameter in window 150, and the parameter of input constitutes this original address 151.
For manually searching, be the example explanation with the RS232 interface, be based on searching that EIA 232 standards finish.Please refer to Figure 14, the user connects instrument by input RS232 parameter in window 160, and the parameter of input constitutes this original address.
Step S112, instrument Connection Step: send order according to described original address to described surveying instrument, obtain the instrument essential information of described surveying instrument, produce described instrument sign according to described instrument essential information.
Measure resource control system 4 and connect instrument according to this original address, carry out communication with this instrument, the content of communication is to send the SCPI order to surveying instrument 22, promptly " * IDN? " order.This order is the basic command in the SCPI standard, to certain original address sends " * IDN? " order and can not respond this order thinks that promptly this original address is unusual, then is not identified as surveying instrument 22 thereby refuses record, otherwise promptly be recorded.At " * IDN? " can obtain the instrument essential information in the return data of order, this instrument essential information has the form of SCPI standard definition, resolve this instrument essential information and can obtain corresponding trade name and be, instrument model, instrument sequence number, instrument version number etc., and with at least a portion of this instrument essential information instrument sign as this surveying instrument 22.
For example: the original address that step S11 produces is: USB0::0x0400::0x09C4::DSA1A113600019::INSTR, step S12 then sends to original address USB0::0x0400::0x09C4::DSA1A113600019::INSTR: " * IDN? " the instrument essential information that meets with a response: " XXXX; DSA1030A; DSA1A113600019,00.01.03.01.01 ".Obtain " manufacturer's information: " XXXX ", " type information: DSA1030A " etc. by resolving this instrument essential information.
Please refer to Figure 15, in the present embodiment, measure resource control system 4 the instrument sign 220 of this type information as this surveying instrument 22.For example, the original address in the previous example is: the instrument of the surveying instrument 22 of USB0::0x0400::0x09C4::DSA1A113600019::INSTR is designated " DSA1030A ".Again for example, the instrument of another surveying instrument sign 220 is " DS1204B ".In other embodiments, this instrument sign can also comprise trade name in this instrument essential information, instrument sequence number, instrument version number etc., perhaps can also comprise this original address.
Step S12, input step: identify from described surveying instrument by described instrument and to select a stand-by surveying instrument and from described application resource, to select a stand-by application resource; Wherein, step S12 comprises step S121~S124:
Step S121, instrument list producing step:, produces one and identify corresponding on-line instrument with described instrument and tabulate according to described instrument sign;
Please refer to Figure 15, measure resource control system 4 and on display interface, produce an on-line instrument tabulation 410, on-line instrument tabulation 410 comprises whole instrument signs 220 that step S11 produces, why adopt instrument sign 220 to represent the advantage of a surveying instrument to be: only represent surveying instrument very not directly perceived with original address, the user is difficult to remember what surveying instrument which original address represents.For example the instrument among Figure 15 sign " DS1204B ", " DSA1030A " demonstrate very intuitively be connected with computing machine 41 which surveying instrument 22 all arranged.Each instrument identifies 220 unique correspondences and a surveying instrument that has connected 22, and each also unique correspondence of 220 while of instrument sign an original address.
Step S122, instrument are selected step: select a described surveying instrument as described stand-by surveying instrument from described on-line instrument tabulation;
Please refer to Figure 15, measure the instrument selection instruction that resource control system 4 receives user's input, come from on-line instrument tabulation 410, to select an instrument sign 220.The user has selected instrument sign 220, has just selected corresponding surveying instrument 22 as stand-by surveying instrument.In the present embodiment, the user imports this instrument selection instruction by the mode of 410 instrument sign 220 in the click on-line instrument tabulation, has selected instrument sign 2201 to be the surveying instrument of DSA1030A.Certainly, the user can also import this instrument selection instruction by peripheral hardwares such as keyboards.
Step S123, dynamic application list producing step: produce a dynamic application tabulation that comprises the application resource that is complementary with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource; 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: the described instrument essential information according to described stand-by surveying instrument produces a match information.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.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, precedingly describe in detail, the 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 the present embodiment comprises the affiliated series name and the affiliated model name of described stand-by surveying instrument.For example, please refer to Figure 17, the user selected instrument sign 220 for the surveying instrument of DAS1030A as stand-by surveying instrument, by this stand-by surveying instrument as can be known the instrument model in its instrument essential information be " DSA1030A ", this instrument model " DSA1030A " illustrates that not only the instrument model of this stand-by surveying instrument is DAS1030A, and this stand-by surveying instrument belongs to DAS1000A series as can be known, therefore can determine the affiliated series " DSA1000A " by name of this stand-by surveying instrument, affiliated model is called " DSA1030A ".The execution sequence that should be pointed out that series name obtaining step S12311 and model name obtaining step S12312 can be put upside down mutually, also can the while executed in parallel.
As other embodiment, the instrument essential information comprises instrument model and instrument series number, therefore model name under can determining by the instrument model in the instrument essential information of stand-by surveying instrument is 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: search the application program that is complementary with described stand-by surveying instrument according to described match information.Application resource searching step S1232 specifically comprises a generic resource finding step S12321, a series name finding step S12322 and a model name finding step S12323.Generic resource finding step S12321: search the application program of mating with whole described surveying instruments according to a common name of using in the essential information; Series name finding step S12322: according to series name under described search with described stand-by surveying instrument under the application program of series coupling; Model name finding step S12323: according to model name under described search with described stand-by surveying instrument under the application program of model coupling.
In the present embodiment, application program 24 has one and uses essential information, and this application basic information packet is drawn together series name, model name and common name.Comprise in the middle of the file name of this application program 24 series name, model name and common name one of them.Comprise common name in the middle of the file name of this application program 24, represent that this application program 24 can mate surveying instrument 22 arbitrarily.Comprise series name in the middle of the file name of this application program 24, represent that this application program 24 can mate the surveying instrument 22 with a series of, promptly can mate this series surveying instrument 22 of all models under one's name.Comprise model name in the middle of the file name of this application program 24, represent the surveying instruments 22 of 24 same model name of coupling of this application program.Explanation please refer to Figure 18 for example, is storing a plurality of application programs 24 in the storer 416 of computing machine 41, and each application program 24 leaves under the file of the same name with it.Wherein, name is called in the title of application program 2401 of " Instrument_Common_XXXX_SCPIControlPanel " and comprises common name " Instrument_Common ", represents that therefore 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 ", represents that therefore this application program 2402 can mate the surveying instrument 22 that belongs to DSA1000A series.Name is called in the title of application program 2403 of " XXXX_DSA1030A_Tools " and comprises model name " DSA1030A ", represents that therefore 2403 couplings of this application program model name is all the surveying instrument 22 of DSA1030A.
Therefore, generic resource finding step S12321 can find application program 2401 by searching the application program that comprises common name " Instrument_Common "; Series name finding step S12322 can find application program 2402 according to affiliated series name " DSA1000A "; Model name finding step S12323 can find application program 2403 according to affiliated model name " DSA1030A ".
As other embodiment, can also in the filename of application program 24, write down the instrument essential information of being mated partly or entirely.
As other embodiment, can also in the supporting paper of application program 24, write down the instrument essential information of being mated partly or entirely.
As other embodiment, can also in the registration table of operating system, write down the part or all of of this application program 24 and the instrument essential information of being mated.
Dynamic listing generates step S1233: produce described dynamic application tabulation according to the described application program that is complementary that finds.
Please refer to Figure 17,, generate this dynamic application tabulation 240 according to the application program 2401,2402,2403 that step S1232 finds.What this dynamic application tabulation 240 comprised is and the application program of stand-by surveying instrument coupling to come further to select for the user.Dynamic application tabulation 240 has been got rid of and the unmatched application program of selected surveying instrument, avoids being interfered when the user is selected, and is convenient to select fast and accurately.
Step S124, application choice step: from described dynamic application tabulation, 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, be used for selecting an application program, as a stand-by application program in dynamic application tabulation 240.This application choice instruction can be a click application program 2401.That is, the user selects name to be called the application program of " Instrument_Common_XXXX_SCPI Control Panel ".
Step S13, resource matched step: the pairing original address of 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 the stand-by application program 2401 that are used to choose, the original address of stand-by surveying instrument is passed to stand-by application program 2401, make this stand-by application program 2401 that the communication object of determining arranged, use this original address to communicate by letter with stand-by surveying instrument.After this, the user just can use this stand-by application program 2401 to control stand-by surveying instrument normally.
Particularly, for the application program 24 of expansion .exe by name, measurement resource control system 4 uses the command line mode of Windows band parameters to finish when starting this application program 24 original address is transmitted to application program 24; For the application program 24 of VI form, measure resource control system 4 and use the dynamic load mode of VI to finish the original address transmission.
Please refer to Figure 20,, measure resource control system 4 and comprise an instrument resource control assembly M11, an input block M12 and a resource matched parts M13 in order to realize above-mentioned each step.This instrument resource control assembly M11 is used 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 identifying from described surveying instrument by described instrument selecting a stand-by surveying instrument and select a stand-by application resource from described application resource; This resource matched parts M13 is used for the pairing original address of described stand-by surveying instrument is sent to described stand-by application resource.
Instrument resource control assembly M11 comprises that an instrument resource searches parts M111 and an instrument resource link M112.This instrument resource is searched the described original address that parts M111 is used to produce described surveying instrument; This instrument resource link M112 is used for sending order according to described original address to described surveying instrument, obtains the instrument essential information of described surveying instrument, produces described instrument sign according to described instrument essential information.
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 is used for according to described instrument sign, produces one and identifies corresponding on-line instrument with described instrument and tabulate; Instrument alternative pack M122 is used for selecting a described surveying instrument as described stand-by surveying instrument from described on-line instrument tabulation; Dynamic application list producing parts M123 is used for producing a dynamic application tabulation that comprises the application resource that is complementary with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource; Application choice parts M124 is used for selecting described stand-by application resource from described dynamic application tabulation.
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 used for producing a match information according to the described instrument essential information of described stand-by surveying instrument.Application resource searching part M1232 is used for searching the application program that is complementary with described stand-by surveying instrument according to described match information.Dynamic listing generates parts M1233 and is used for producing described dynamic application tabulation according to the described application program that is complementary that finds.
Match information is obtained parts M1231 and is comprised that a series name is obtained parts M12311 and a model name is obtained parts M12312.The series name is obtained the affiliated series name that parts M12311 is used for producing according to the instrument essential information of described stand-by surveying instrument described stand-by surveying instrument.Model name is obtained the affiliated model name that parts M12312 is used for producing according to the instrument essential information of described stand-by surveying instrument described stand-by surveying instrument.
Application resource searching part M1232 comprises that specifically a generic resource is searched parts M12321, series name searches parts M12322 and a model name is searched parts M12323.Generic resource is searched parts M12321 and is used for searching the application program of mating with whole described surveying instruments according to a common name using essential information; Series name search parts M12322 be used for according to series name under described search with described stand-by surveying instrument under the application program of series coupling; Model name search parts M12323 be used for according to model name under described search with described stand-by surveying instrument under the application program of model coupling.
Introduce second embodiment that the present invention measures resource control system below.
Please refer to Figure 22, execution in step was different when the key distinction of the measurement resource control system 5 of second embodiment and the measurement resource control system 4 of first embodiment was work.Wherein, it is identical with step S11 to measure the step S21 that resource control system 5 carries out, and step S23 is identical with step S13, and the included step of the included step of step S22 and step S12 is different.
Step S21, instrument resource management process: connect with 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 first embodiment, step S21 also comprises step S211 and S212, be connected with surveying instrument 22 in the same way, produce original address with each surveying instrument 22, and obtain each surveying instrument 22 pairing instrument essential information, and produce the instrument sign of a correspondence according to this instrument essential information.
Step S22, input step: receive an instrument selection instruction and an application choice instruction of user's input, described instrument selection instruction is used for selecting a stand-by surveying instrument from described instrument sign, and described application choice instruction is used 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 one and the corresponding list of application of described application resource;
Please refer to Figure 23, measure resource control system 5 and produce a list of application 540 on display interface 58, list of application 540 comprises the pairing application name 541 of whole application programs, is used for selecting stand-by application program for the 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, come from list of application 540, to select an application name 541, and then select this application name 541 pairing application programs.In the present embodiment, comprising match information in the application name 541 of this application program, promptly manufacturer's information and the type information in the instrument essential information just can be determined the surveying instrument corresponding with this application program by this manufacturer's information and type information.
Step S223, dynamic instrument list producing step: produce a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with described stand-by application resource according to described stand-by application resource and described surveying instrument;
Please refer to Figure 25, the match information that the application name 541 that measurement resource control system 5 is selected according to the user is comprised is retrieved the surveying instrument of whole connections, find surveying instrument with this application name 541 couplings, and the instrument sign 521 of the surveying instrument of these couplings shown that these instruments signs 521 constitute a dynamic on-line instrument tabulation 520.
Step S224, instrument alternative pack: from described dynamic on-line instrument tabulation, 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, come from dynamic on-line instrument tabulation 520, to select an instrument sign 521, and then selected this instrument to identify 521 pairing surveying instruments as stand-by surveying instrument.
Step S23, resource matched step: the pairing 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 the user identifies 521 pairing surveying instruments passes to the application program that the user selects.Make application program that the communication object of determining arranged, use this original address to communicate by letter with surveying instrument.After this, the user just can use this application program to come measuring equipment normally.
Please refer to Figure 27,, measure resource control system 4 and comprise an instrument resource control assembly M21, an input block M22 and a resource matched parts M23 in order to realize above-mentioned each step.This instrument resource control assembly M21 is used 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 identifying from described surveying instrument by described instrument selecting a stand-by surveying instrument and select a stand-by application resource from described application resource; This resource matched parts M23 is used for the pairing original address of described stand-by surveying instrument is sent to described stand-by application resource.
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 is used for according to described application resource, produces one and the corresponding list of application of described application resource; Application choice parts M222 is used for selecting a described described application resource as described stand-by application resource from described list of application; Dynamically instrument list producing parts M223 is used for producing a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with described stand-by application resource according to described stand-by application resource and described surveying instrument; Instrument alternative pack M224 is used for selecting described stand-by surveying instrument from described dynamic on-line instrument tabulation.
Introduce the 3rd embodiment that the present invention measures resource control system below.
Please refer to Figure 25, execution in step was different when the key distinction of the measurement resource control system 6 of the 3rd embodiment and the measurement resource control system 4 of first embodiment was work.Wherein, it is identical with step S11 to measure the step S31 that resource control system 6 carries out, and step S33 is identical with step S13, and the included step of the included step of step S32 and step S12 is different.
Step S31, instrument resource management process: connect with 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 first embodiment, step S31 also is connected with surveying instrument 22 in the same way, produce original address with each surveying instrument 22, and obtain each surveying instrument 22 pairing instrument essential information, and produce the instrument sign of a correspondence according to this instrument essential information.
Step S32, input step: receive an instrument selection instruction and an application choice instruction of user's input, described instrument selection instruction is used for selecting a stand-by surveying instrument from described instrument sign, and described application choice instruction is used for selecting a stand-by application program from described application program; Wherein, step S32 comprises step S321~S324:
Step S321, measure the Resources list and produce step: according to described instrument sign, produces one and identify corresponding on-line instrument tabulation with described instrument and be used for, produce one and the corresponding list of application of described application resource according to described application resource;
Please refer to Figure 26, measure resource control system 6 and on display interface 68, produce 620 and list of applications 640 of an on-line instrument tabulation, on-line instrument tabulation 620 is comprising the surveying instrument 22 pairing instrument signs 621 that all connected, and 640 of list of applications are comprising the application name 641 of whole application program 24.
Step S322, the first resource selection step: select stand-by first resource from described on-line instrument tabulation and described list of application, described stand-by first resource is in described stand-by surveying instrument and the described stand-by application resource;
Please refer to Figure 27, measure the instruction that resource control system 6 receives user's input, the user can import an instrument selection instruction, selects an instrument sign 621 from on-line instrument tabulation 620, and then selects this instrument to identify 621 pairing surveying instruments; Please refer to Figure 28, also can import an application choice instruction, from list of application 640, select an application name 641, and then select this application name 641 pairing application programs.
Step S323, dynamic second the Resources list produce step: if described stand-by first resource is described stand-by application resource, then produce a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with described stand-by application resource, at least a portion that described dynamic on-line instrument tabulation is described on-line instrument tabulation according to described stand-by application resource and described surveying instrument; If described stand-by first resource is described stand-by surveying instrument, then produce a dynamic application tabulation that comprises the application resource that is complementary with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource, described dynamic application tabulation is at least a portion of described list of application;
Please refer to Figure 29, if first selection instruction is the application choice instruction, the instrument essential information that the application name 641 that measurement resource control system 6 is selected according to the user is comprised is retrieved the surveying instrument of whole connections, find surveying instrument with this application name 641 couplings, and the instrument sign 621 of the surveying instrument of these couplings shown that these instruments signs 621 constitute a dynamic on-line instrument tabulation 660.Please refer to Figure 30, if first selection instruction is the instrument selection instruction, measure 6 instrument essential informations of resource control system according to the selected instrument sign 621 of this instrument selection instruction, application programs is retrieved, obtain the application program with surveying instrument coupling, and constitute a dynamic application tabulation 670 by the application name 641 of the application program of these couplings.
Step S324, the second resource selection step:, then from described dynamic on-line instrument tabulation, select described stand-by surveying instrument if described stand-by first resource is described stand-by application resource; If described stand-by first resource is described stand-by surveying instrument, then from described dynamic application tabulation, select described stand-by application resource.
Please refer to Figure 31, if what produce is dynamic on-line instrument tabulation 660, measure the instrument selection instruction that resource control system 6 receives user's input, come from dynamic on-line instrument tabulation 660, to select an instrument sign 621, and then selected this instrument to identify 621 pairing surveying instruments as stand-by surveying instrument.Please refer to Figure 32, if what produce is dynamic application tabulation 670, measure resource control system 6 and receive the application choice instruction that the user imports, be used for selecting an application name 641 in dynamic application tabulation 670, represent to select this application name 641 pairing application programs, as a stand-by application program.
Step S33, resource matched step: the pairing 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 the user identifies 621 pairing surveying instruments passes to the application program that the user selects.Make application program that the communication object of determining arranged, use this original address to communicate by letter with surveying instrument.After this, the user just can use this application program to come measuring equipment normally.
Please refer to Figure 36,, measure resource control system 4 and comprise an instrument resource control assembly M31, an input block M32 and a resource matched parts M33 in order to realize above-mentioned each step.This instrument resource control assembly M31 is used 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 identifying from described surveying instrument by described instrument selecting a stand-by surveying instrument and select a stand-by application resource from described application resource; This resource matched parts M33 is used for the pairing original address of described stand-by surveying instrument is sent to described stand-by application resource.
Input block M32 comprises that one is measured the Resources list production part M321, the first resource selection parts M322, dynamic second the Resources list production part M223 and one second resource selection parts M224.
Measure the Resources list production part M321, be used for, produces one and identify corresponding on-line instrument tabulation with described instrument and be used for, produce one and the corresponding list of application of described application resource according to described application resource according to described instrument sign;
The first resource selection parts M322 is used for selecting stand-by first resource from described on-line instrument tabulation and described list of application, and described stand-by first resource is in described stand-by surveying instrument and the described stand-by application resource;
Dynamic second the Resources list production part M323, if being used for described stand-by first resource is described stand-by application resource, then produce a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with described stand-by application resource, at least a portion that described dynamic on-line instrument tabulation is described on-line instrument tabulation according to described stand-by application resource and described surveying instrument; If described stand-by first resource is described stand-by surveying instrument, then produce a dynamic application tabulation that comprises the application resource that is complementary with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource, described dynamic application tabulation is at least a portion of described list of application;
The second resource selection parts M324 is described stand-by application resource if be used for described stand-by first resource, then selects described stand-by surveying instrument from described dynamic on-line instrument tabulation; If described stand-by first resource is described stand-by surveying instrument, then from described dynamic application tabulation, select described stand-by application resource.
Measurement resource control system of the present invention and measurement resource control method have following beneficial effect at least:
1. because measurement resource control system of the present invention and measurement resource control method can provide the original address of surveying instrument for application program, no longer need each application program oneself to remove to produce original address, therefore can save the exploitation that instrument is searched module 147, instrument link block 148 in the performance history of original program, make application development, safeguard comparatively simple.
2. when the quantity of surveying instrument and application program is huge, after the user has selected stand-by surveying instrument or stand-by application program, measurement resource control system of the present invention and measurement resource control method will find the application program and the surveying instrument of coupling automatically, got rid of the interference of unmatched option, made the coupling of surveying instrument and application program is very convenient.
Above-mentioned embodiment has been described in realization in order to demonstrate the invention.But other variations of the present invention and modification are conspicuous for those skilled in the art, and any modification/variation in essence disclosed in this invention and cardinal rule scope or imitation conversion all belong to claim protection domain of the present invention.

Claims (10)

1. measure resource control system for one kind, be used to control a plurality of surveying instruments and a plurality of application resource, it is characterized in that described measurement resource control system comprises:
An instrument resource control assembly is used for connecting with described surveying instrument, produces an original address and an instrument sign corresponding with described surveying instrument;
An input block is used for identifying from described surveying instrument by described instrument selecting a stand-by surveying instrument and select a stand-by application resource from described application resource;
Resource matched parts are used for the pairing original address of described stand-by surveying instrument is sent to described stand-by application resource.
2. measurement resource control system according to claim 1 is characterized in that, described instrument resource control module comprises:
An instrument resource is searched parts, is used to produce the described original address of described surveying instrument;
An instrument resource link is used for sending order according to described original address to described surveying instrument, obtains the instrument essential information of described surveying instrument, produces described instrument sign according to described instrument essential information.
3. measurement resource control system according to claim 1 is characterized in that, described load module comprises:
Instrument list producing parts are used for according to described instrument sign, produce one and identify corresponding on-line instrument with described instrument and tabulate;
An instrument alternative pack is used for selecting a described surveying instrument as described stand-by surveying instrument from described on-line instrument tabulation;
Dynamic application list producing parts are used for producing a dynamic application tabulation that comprises the application resource that is complementary with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource;
Application choice parts are used for selecting described stand-by application resource from described dynamic application tabulation.
4. measurement resource control system according to claim 1 is characterized in that, described load module comprises:
A list of application production part is used for according to described application resource, produces one and the corresponding list of application of described application resource;
Application choice parts are used for selecting a described described application resource as described stand-by application resource from described list of application;
Dynamic instrument list producing parts are used for producing a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with described stand-by application resource according to described stand-by application resource and described surveying instrument;
An instrument alternative pack is used for selecting described stand-by surveying instrument from described dynamic on-line instrument tabulation.
5. measurement resource control system according to claim 1 is characterized in that, described load module comprises:
Measure the Resources list production part for one, be used for, produces one and identify corresponding on-line instrument tabulation with described instrument and be used for, produce one and the corresponding list of application of described application resource according to described application resource according to described instrument sign;
One first resource selection parts are used for selecting stand-by first resource from described on-line instrument tabulation and described list of application, and described stand-by first resource is in described stand-by surveying instrument and the described stand-by application resource;
Dynamic second the Resources list production part, if being used for described stand-by first resource is described stand-by application resource, then produce a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with described stand-by application resource, at least a portion that described dynamic on-line instrument tabulation is described on-line instrument tabulation according to described stand-by application resource and described surveying instrument; If described stand-by first resource is described stand-by surveying instrument, then produce a dynamic application tabulation that comprises the application resource that is complementary with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource, described dynamic application tabulation is at least a portion of described list of application;
One second resource selection parts are described stand-by application resources if be used for described stand-by first resource, then select described stand-by surveying instrument from described dynamic on-line instrument tabulation; If described stand-by first resource is described stand-by surveying instrument, then from described dynamic application tabulation, select described stand-by application resource.
6. measure resource control method for one kind, 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 controlled step connects with described surveying instrument, produces an original address and an instrument sign corresponding with described surveying instrument;
An input step identifies from described surveying instrument by described instrument and to select a stand-by surveying instrument and select a stand-by application resource from described application resource;
A resource matched step sends to described stand-by application resource with the pairing original address of described stand-by surveying instrument.
7. measurement resource control method according to claim 6 is characterized in that, described instrument resource controlled step comprises:
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, produces described instrument sign according to described instrument essential information.
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 with described instrument and tabulate;
An instrument is selected step, selects a described surveying instrument as described stand-by surveying instrument from described on-line instrument tabulation;
A dynamic application list producing step produces a dynamic application tabulation that comprises the application resource that is complementary 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 tabulation.
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 one and the corresponding list of application of 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 tabulation that comprises the surveying instrument that is complementary with described stand-by application resource according to described stand-by application resource and described surveying instrument;
An instrument is selected step, selects described stand-by surveying instrument from described dynamic on-line instrument tabulation.
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,, produces one and identify corresponding on-line instrument tabulation and, produce one and the corresponding list of application of described application resource according to described application resource with described instrument according to described instrument sign;
One first resource selection step is selected stand-by first resource from described on-line instrument tabulation and described list of application, described stand-by first resource is in described stand-by surveying instrument and the described stand-by application resource;
Dynamic second the Resources list produces step, if described stand-by first resource is described stand-by application resource, then produce a dynamic on-line instrument tabulation that comprises the surveying instrument that is complementary with described stand-by application resource, at least a portion that described dynamic on-line instrument tabulation is described on-line instrument tabulation according to described stand-by application resource and described surveying instrument; If described stand-by first resource is described stand-by surveying instrument, then produce a dynamic application tabulation that comprises the application resource that is complementary with described stand-by surveying instrument according to described stand-by surveying instrument and described application resource, described dynamic application tabulation is at least a portion of described list of application;
One second resource selection step if described stand-by first resource is described stand-by application resource, is then selected described stand-by surveying instrument from described dynamic on-line instrument tabulation; If described stand-by first resource is described stand-by surveying instrument, then from described dynamic application tabulation, 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 true CN102004952A (en) 2011-04-06
CN102004952B 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)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176155A (en) * 2011-12-21 2013-06-26 北京普源精电科技有限公司 Detection method and device of measuring instrument
CN103593223A (en) * 2013-11-14 2014-02-19 中国电子科技集团公司第四十一研究所 Measuring instrument program control language compatibility system and processing method
CN103685545A (en) * 2013-12-24 2014-03-26 北京航天测控技术有限公司 LAN (Local Area Network) based distributed LAN-PXI service system
CN105373028A (en) * 2014-09-02 2016-03-02 苏州普源精电科技有限公司 Measurement equipment possessing interface communication function, interface communication system and method thereof
CN105573927A (en) * 2015-12-17 2016-05-11 中国电子科技集团公司第四十一研究所 PXI equipment access method based on VISA (virtual instrument software architecture)
CN107193720A (en) * 2016-03-14 2017-09-22 苏州伊欧陆系统集成有限公司 A kind of method of dynamic load measurement application
CN107346243A (en) * 2017-06-09 2017-11-14 中国电子科技集团公司第四十研究所 A kind of 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 (6)

* 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
EP0967463A2 (en) * 1998-06-25 1999-12-29 Tektronix, Inc. Measuring instrument comprising a help system
US6389491B1 (en) * 1999-03-23 2002-05-14 Agilent Technologies, Inc. Test instrumentation I/O communication interface and method
WO2004046016A2 (en) * 2002-11-15 2004-06-03 Nuovo Pignone S.P.A. Method and system for controlling an electronic instrument for metrological measurements
CN1896946A (en) * 2006-06-09 2007-01-17 宋丽娟 Planning scheme of electronic device with multiple display screen parallel
CN102467372A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Measurement resource control system and measurement resource control method

Patent Citations (6)

* 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
EP0967463A2 (en) * 1998-06-25 1999-12-29 Tektronix, Inc. Measuring instrument comprising a help system
US6389491B1 (en) * 1999-03-23 2002-05-14 Agilent Technologies, Inc. Test instrumentation I/O communication interface and method
WO2004046016A2 (en) * 2002-11-15 2004-06-03 Nuovo Pignone S.P.A. Method and system for controlling an electronic instrument for metrological measurements
CN1896946A (en) * 2006-06-09 2007-01-17 宋丽娟 Planning scheme of electronic device with multiple display screen parallel
CN102467372A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Measurement resource control system and measurement resource control method

Cited By (14)

* 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
CN103176155A (en) * 2011-12-21 2013-06-26 北京普源精电科技有限公司 Detection method and device of measuring instrument
CN103593223A (en) * 2013-11-14 2014-02-19 中国电子科技集团公司第四十一研究所 Measuring instrument program control language compatibility system and processing method
CN103685545A (en) * 2013-12-24 2014-03-26 北京航天测控技术有限公司 LAN (Local Area Network) based distributed LAN-PXI service system
CN103685545B (en) * 2013-12-24 2016-08-17 北京航天测控技术有限公司 A kind of distributed LAN-PXI service system based on LAN
CN105373028A (en) * 2014-09-02 2016-03-02 苏州普源精电科技有限公司 Measurement equipment possessing interface communication function, interface communication system and method thereof
CN105573927B (en) * 2015-12-17 2018-03-13 中国电子科技集团公司第四十一研究所 A kind of PXI device access methods based on VISA
CN105573927A (en) * 2015-12-17 2016-05-11 中国电子科技集团公司第四十一研究所 PXI equipment access method based on VISA (virtual instrument software architecture)
CN107193720A (en) * 2016-03-14 2017-09-22 苏州伊欧陆系统集成有限公司 A kind of method of dynamic load measurement application
CN107193720B (en) * 2016-03-14 2020-04-10 苏州伊欧陆系统集成有限公司 Method for dynamically loading measurement application
CN107346243A (en) * 2017-06-09 2017-11-14 中国电子科技集团公司第四十研究所 A kind of online programming method applied to measuring instrument
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

Also Published As

Publication number Publication date
CN102004952B (en) 2014-04-09

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
US20020174264A1 (en) System and method for obtaining driver software and documentation for a detected hardware and software configuration
CN106776294B (en) Automatic android mobile phone testing method and system
CN102722440A (en) Debugging device of executive codes of embedded system, debugging method and embedded system
CN113706110B (en) FPGA test tool integrated test management platform
CN104780407A (en) Automatic testing method and automatic testing system for set top box
CN111176984A (en) Signal-oriented automatic test implementation method
CN104915297B (en) A kind of automated testing method of the APP power consumption of android equipment
CN105760296A (en) Automation testing control method, device and terminal
CN113010359B (en) Bus test system generation method, system, device and storage medium
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
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN114995816A (en) Business process configuration method and device, electronic equipment and readable storage medium
CN113126993B (en) Automatic test method and system applied to vehicle detection software
CN102467370B (en) Measure resource control system and measure resource control method
CN112148241A (en) Light processing method and device, computing equipment and storage medium
US8161402B1 (en) Methods and apparatus for graphical test and measurement
CN102467369A (en) Measurement resource control system and measurement resource control method
CN102467090A (en) Measurement resource control method and measurement resource control system
CN111290937B (en) Extensible mobile application automation test platform based on hybrid cloud
CN106528413A (en) Method and device for testing application program
CN105162645A (en) Interoperability test method based on PIIF configuration
WO2005094115A1 (en) A system of operating a multifunction remote control via internet and the method thereof

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