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

Measurement resource control system and measurement resource control method Download PDF

Info

Publication number
CN102467369A
CN102467369A CN2010105348380A CN201010534838A CN102467369A CN 102467369 A CN102467369 A CN 102467369A CN 2010105348380 A CN2010105348380 A CN 2010105348380A CN 201010534838 A CN201010534838 A CN 201010534838A CN 102467369 A CN102467369 A CN 102467369A
Authority
CN
China
Prior art keywords
surveying instrument
instrument
resource
surveying
application
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
CN2010105348380A
Other languages
Chinese (zh)
Other versions
CN102467369B (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 CN201010534838.0A priority Critical patent/CN102467369B/en
Publication of CN102467369A publication Critical patent/CN102467369A/en
Application granted granted Critical
Publication of CN102467369B publication Critical patent/CN102467369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a measurement resource control system, which is used for controlling a plurality of measurement instruments and a plurality of application resources. The control system comprises a resource calling part, wherein the resource calling part is used for making a selected application resource call a selected measurement instrument according to the selected application resource and the selected measurement instrument which are paired into a group, and making the measurement instrument enter a recalling forbidding state. By the measurement resource control system, the number of measurement instruments in a called state is clear, and the system is convenient to use.

Description

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

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 said control system comprises:
Resource transfer parts are used for making said application resource call said surveying instrument according to right surveying instrument and the application resource of an assembly selected, and said surveying instrument are in forbid calling once more state.
2. system according to claim 1 is characterized in that, said to forbid calling once more state be to show said surveying instrument is outstanding.
3. system according to claim 2 is characterized in that, said resource matched parts comprise:
Measure the Resources list production part for one; Be used for according to said surveying instrument; Produce a surveying instrument tabulation that comprises a plurality of surveying instrument signs; Wherein, said surveying instrument sign is corresponding with said surveying instrument, and the said surveying instrument sign in the said surveying instrument tabulation shows with first display properties;
A resource transfer is set up parts, is used for calling setting up with one that from said application resource, selects selected application resource from selected surveying instrument of selection of said surveying instrument;
A display control unit spare is used for according to said foundation of calling the pairing surveying instrument sign of selected surveying instrument described in the said surveying instrument tabulation being shown with second display properties.
4. 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 said control system comprises:
Resource matched parts; Be used for according to right surveying instrument and the application resource of selecting of an assembly; Make said application resource call said surveying instrument; And said surveying instrument is in forbid calling once more state, according to said releasing of calling, said surveying instrument is in allows to call state.
5. system according to claim 4 is characterized in that, said resource matched parts comprise:
Measure the Resources list production part for one; Be used for according to said surveying instrument; Produce a surveying instrument tabulation that comprises a plurality of surveying instrument signs; Wherein, said surveying instrument sign is corresponding with said surveying instrument, and the said surveying instrument sign in the said surveying instrument tabulation shows with first display properties;
A resource transfer is set up parts, is used for calling setting up with one that from said application resource, selects selected application resource from selected surveying instrument of selection of said surveying instrument;
A resource transfer is removed parts, is used for the call release between said selected surveying instrument and the said selected application resource;
A display control unit spare; Be used for the pairing surveying instrument sign of selected surveying instrument described in the said surveying instrument tabulation being shown with second display properties, and the pairing surveying instrument sign of selected surveying instrument described in the said surveying instrument tabulation shown with first display properties according to said releasing of calling according to said foundation of calling.
6. measure resource control method for one kind, be used to control a plurality of surveying instruments and a plurality of application resource, it is characterized in that said control method comprises:
A resource transfer step according to right surveying instrument and the application resource of an assembly selected, makes said application resource call said surveying instrument, and said surveying instrument is in forbid calling once more state.
7. method according to claim 6 is characterized in that, said to forbid calling once more state be to show said surveying instrument is outstanding.
8. method according to claim 7 is characterized in that, said resource matched step comprises:
Measure the Resources list for one and produce step; According to said surveying instrument; Produce a surveying instrument tabulation that comprises a plurality of surveying instrument signs; Wherein, said surveying instrument sign is corresponding with said surveying instrument, and the said surveying instrument sign in the said surveying instrument tabulation shows with first display properties;
A resource transfer establishment step will be set up with one that from said application resource, selects selected application resource from selected surveying instrument of the selection the said surveying instrument and call;
One shows controlled step, according to said foundation of calling the pairing surveying instrument sign of selected surveying instrument described in the said surveying instrument tabulation is shown with second display properties.
9. measure resource control method for one kind, be used to control a plurality of surveying instruments and a plurality of application resource, it is characterized in that said control method comprises:
A resource matched step; According to right surveying instrument and the application resource of an assembly selected, make said application resource call said surveying instrument, and said surveying instrument is in forbid calling once more state; According to said releasing of calling, said surveying instrument is in allows to call state.
10. method according to claim 9 is characterized in that, said resource matched step comprises:
Measure the Resources list for one and produce step; According to said surveying instrument; Produce a surveying instrument tabulation that comprises a plurality of surveying instrument signs; Wherein, said surveying instrument sign is corresponding with said surveying instrument, and the said surveying instrument sign in the said surveying instrument tabulation shows with first display properties;
A resource transfer establishment step will be set up with one that from said application resource, selects selected application resource from selected surveying instrument of the selection the said surveying instrument and call;
A resource transfer is removed step, with the call release between said selected surveying instrument and the said selected application resource;
One shows controlled step; According to said foundation of calling the pairing surveying instrument sign of selected surveying instrument described in the said surveying instrument tabulation is shown with second display properties, and the pairing surveying instrument sign of selected surveying instrument described in the said surveying instrument tabulation is shown with first display properties according to said releasing of calling.
CN201010534838.0A 2010-11-03 2010-11-03 Measurement resource control system and measurement resource control method Active CN102467369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010534838.0A CN102467369B (en) 2010-11-03 2010-11-03 Measurement resource control system and measurement resource control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010534838.0A CN102467369B (en) 2010-11-03 2010-11-03 Measurement resource control system and measurement resource control method

Publications (2)

Publication Number Publication Date
CN102467369A true CN102467369A (en) 2012-05-23
CN102467369B CN102467369B (en) 2017-06-09

Family

ID=46071046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010534838.0A Active CN102467369B (en) 2010-11-03 2010-11-03 Measurement resource control system and measurement resource control method

Country Status (1)

Country Link
CN (1) CN102467369B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302609B (en) * 2015-11-05 2018-10-16 中国电子科技集团公司第四十一研究所 Data resource configuring management method applied to measuring instrument
CN110174855A (en) * 2018-02-21 2019-08-27 凯柏精密机械(嘉兴)有限公司 Meter data collection apparatus and method
CN112650576A (en) * 2021-01-22 2021-04-13 百度在线网络技术(北京)有限公司 Resource scheduling method, device, equipment, storage medium and computer program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1367426A (en) * 2000-12-28 2002-09-04 微软公司 Label related to environment for electronic equipment
CN1573723A (en) * 2003-05-15 2005-02-02 三星电子株式会社 Method and apparatus for communication via serial multi-port
CN1821959A (en) * 2005-02-17 2006-08-23 国际商业机器公司 Methods for user interface controlling system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1367426A (en) * 2000-12-28 2002-09-04 微软公司 Label related to environment for electronic equipment
CN1573723A (en) * 2003-05-15 2005-02-02 三星电子株式会社 Method and apparatus for communication via serial multi-port
CN1821959A (en) * 2005-02-17 2006-08-23 国际商业机器公司 Methods for user interface controlling system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
赵伟等: "多仪器测试系统及其串行通信驱动程序的开发", 《鱼雷技术》 *
郝建勋: "基于网络的高频虚拟实验室的设计与开发", 《学位论文》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302609B (en) * 2015-11-05 2018-10-16 中国电子科技集团公司第四十一研究所 Data resource configuring management method applied to measuring instrument
CN110174855A (en) * 2018-02-21 2019-08-27 凯柏精密机械(嘉兴)有限公司 Meter data collection apparatus and method
CN112650576A (en) * 2021-01-22 2021-04-13 百度在线网络技术(北京)有限公司 Resource scheduling method, device, equipment, storage medium and computer program product
CN112650576B (en) * 2021-01-22 2023-12-29 百度在线网络技术(北京)有限公司 Resource scheduling method, device, equipment, storage medium and computer program product

Also Published As

Publication number Publication date
CN102467369B (en) 2017-06-09

Similar Documents

Publication Publication Date Title
CN102004952B (en) Measuring resource control system and measuring resource control method
US10268185B2 (en) Multiple deployment of applications with multiple configurations in an industrial automation environment
US20210117210A1 (en) Methods and Systems for Integrated Development Environment Editor Support with a Single Code Base
US10198422B2 (en) Information-processing equipment based on a spreadsheet
CN102597964B (en) A computing device for enabling concurrent testing
US6802053B1 (en) Graphical programming system with distributed block diagram execution and front panel display
CN102375778B (en) Method and system for automatically testing digital signal processor (DSP)
CN104007957B (en) The improvement graphic user interface editing machine of real time data is shown during editor
CN105912473B (en) Mobile APP automatically testing platform and test method based on BDD
US20020174264A1 (en) System and method for obtaining driver software and documentation for a detected hardware and software configuration
CN101944026B (en) Implementation method of universal virtual instrument interface
CN102135938A (en) Software product testing method and system
JP5931806B2 (en) Automatic operation apparatus by image recognition, method and program thereof
CN104915297B (en) A kind of automated testing method of the APP power consumption of android equipment
Fill SeMFIS: a flexible engineering platform for semantic annotations of conceptual models
CN113010359B (en) Bus test system generation method, system, device and storage medium
CN113706110B (en) FPGA test tool integrated test management platform
RU2678717C9 (en) Method for building a software system for automating and visualizing testing of embedded software for electronic devices
CN102467372A (en) Measurement resource control system and measurement resource control method
CN114995816A (en) Business process configuration method and device, electronic equipment and readable storage medium
CN102467369A (en) Measurement resource control system and measurement resource control method
CN112148241A (en) Light processing method and device, computing equipment and storage medium
CN102467370B (en) Measure resource control system and measure resource control method
CN112148611B (en) Cloud architecture-based automatic test intermediate interface method and platform
CN106126240A (en) A kind of method and system customizing mobile terminal desktop shortcut icon

Legal Events

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