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

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

Info

Publication number
CN102467371B
CN102467371B CN201010534869.6A CN201010534869A CN102467371B CN 102467371 B CN102467371 B CN 102467371B CN 201010534869 A CN201010534869 A CN 201010534869A CN 102467371 B CN102467371 B CN 102467371B
Authority
CN
China
Prior art keywords
application resource
window
resource
application
control system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010534869.6A
Other languages
Chinese (zh)
Other versions
CN102467371A (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 CN201010534869.6A priority Critical patent/CN102467371B/en
Publication of CN102467371A publication Critical patent/CN102467371A/en
Application granted granted Critical
Publication of CN102467371B publication Critical patent/CN102467371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of measurement resource control system and method, for managing multiple application resource with display window, described application resource is used for measuring equipment, described measurement resource control system includes: one is run application resource list generating section, running application resource list for producing one, described operation application resource list includes the identification information of multiple application resource being currently running;One application resource Window state controls parts, for according at least one the selected application resource selected from described operation application resource list, changes the state of window corresponding to described selected application resource.Measurement resource control system and the management by methods application window of the present invention are more convenient.

Description

A kind of measurement resource control method and measurement resource control system
Technical field
The present invention relates to a kind of measure resource control system and measure resource control method, particularly relate to a kind of run on computer, measure resource control system and the measurement resource control method of employing thereof for that manage multiple measuring instrument and application program.
Background technology
In industrial engineering and education of science field, measuring test instrunment and be all experiment, manufacture basic tool indispensable in the links such as production, test, such as oscillograph, circuit tester, audiofrequency spectrometer, signal source are all conventional multimeters.Along with the development of science and technology, measuring instrument is also converted to digital measuring instruments by analogue measurement instrument.Digitized measuring instrument has the advantage not available for a lot of analogue measurement instrument, such as, be easy to store, conveniently carry out data analysis and calculating, strong interference immunity etc..In addition, digital measuring instrument also has a unique advantage, it can be connected with computer easily, forms one and measures system, utilizes computer rich in natural resources and powerful function are controlled measuring instrument and measurement result is carried out increasingly complex process.
Due to above-mentioned advantage, the measurement system being made up of computer and measuring instrument is by research and development widely.It is noted that process and display function owing to computer possesses powerful data so that the measuring instruments such as oscillograph have functioned only as the effect of data acquisition in measurement system, and the data of itself process and display function becomes a kind of waste.Therefore, measure board to give birth to therefrom.Measuring board and be also regarded as a kind of measuring instrument, unlike oscillograph etc., it only possesses the effect of data acquisition, and itself does not carry out process or the display of data.In use, measure board it is generally required to be plugged on the I/O interface of computer, such as, measurement board can pass through VXI (VME extensions for Instrumentation) bus, PXI (PCI extensions for Instrumentation) bus, GPIB (General Purpose Interface Bus) and the serial ports (serial port) of computer or parallel port (parallel port) is connected with computer.
According to above-mentioned introduction, refer to Fig. 1, current measurement system 1 includes a computer 11 and at least one measuring instrument 12, and each measuring instrument 12 is connected with computer 11 by an interface 13.Computer 11 can be the equipment that PC (PC), server (server) or the client (client) etc. being connected to server have data operation and process function.Measuring instrument 12 is to have the equipment of data acquisition function, can be measuring instrument, e.g. oscillograph, circuit tester, audiofrequency spectrometer, signal source, it is also possible to is to measure board, even can also is that sensor etc..Interface 13 can be vxi bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth, and serial ports includes USB interface, RS232 etc..
Due to the multiformity of interface 13, computer 11 general the most all can mounting interface driver 111, such as VISA drives, for shielding the difference that different interfaces 13 is brought.Measuring instrument 12, based on interface drive program 111, can be passed on various order to carry out the operation of correspondence by normalized SCPI command set 112 by computer 11.SCPI command set 112 includes a plurality of SCPI order, and different SCPI orders is for carrying out different operations to measuring instrument 12, and this operation includes that the control to measuring instrument 12, parameter to measuring instrument 12 configure, read data etc. from measuring instrument 12.
SCPI order is various, and different measuring instruments 12 is controlled, measurement result carries out various computing by user for convenience, and computer 11 also includes at least one application program 14.Application program 14 can be based on interface drive program 111 and SCPI command set 112, use programming language tools such as VC, VB, LabVIEW etc., by developer, user oneself or other people developed, be used for controlling computer 11 and measuring instrument 12 carried out various operation and measurement data is carried out process etc..Such as, refer to Fig. 2, shown in Fig. 2 is the display window 1490 of the application program being applied to the audiofrequency spectrometer disclosed in a kind of prior art.Display window 1490 is displayed on the display interface of display device, display window 1490 has multiple input field 1491, user can input the various operations to measuring instrument 12 by input field 1491 easily, and replaces directly sending SCPI order to measuring instrument 12;Display window 1490 also has a waveform display field 1492, for the measurement data that computer 11 obtains from measuring instrument 12 being shown with the form of figure line.
Due to the multiformity of measuring instrument 12, specification, parameter or the function etc. of each measuring instrument 12 are not quite similar.For different measuring instruments 12 it is generally required to develop different application programs 14.Refer to Fig. 3, such as, a bench-type number is that the power supply 121 of DP1308A correspond to application program 141;Bench-type No. one is that the audiofrequency spectrometer 122 of DSA1030A correspond to application program 142.In addition, even if same kind of measuring instrument 12 is different due to its model, version, causes its specification, parameter or function etc. possible different, be the most sometimes also required to develop different application programs 14.
Additionally, for the application scenario that some are special, multiple identical or different measuring instrument 12 is needed to cooperate to realize a certain measuring task, therefore, multiple measuring instruments 123 may correspond to an application program 143, and this application program 143 needs the plurality of measuring instrument 123 to work just when running simultaneously can complete measuring task.
Another again, multiple application program 144 can also be developed for realizing different functions respectively for a measuring instrument 124;For some measuring instrument 125, such as same type but the different measuring instrument of model, can also have an application program 145 can the situation of compatible multiple measuring instruments 125, now this application program 145 can individually and each measuring instrument 125 cooperating.Such as, the while of application program 145, compatible model is the audiofrequency spectrometer 125 ' of the audiofrequency spectrometer 125 and DSA1000A of DSA1030A.
Refer to Fig. 4, computer 11 includes CPU114, internal memory 115, hard disk 116 and bus 117.CPU114, internal memory 115, hard disk 116 are connected with bus 117 respectively, and complete communication by bus 117.Application program 14 is a kind of executable program, is generally stored in when not being run in hard disk 116.When being called and run, after user opens the instruction of this application program 14 by the operating system input of computer 11, this application program 14 is loaded in the middle of internal memory 115, just can be performed by CPU114.
The most together with reference to Fig. 1 and Fig. 5, when application program 14 performs, computer 11 sequentially performs following steps under the control of application program 14:
Step S1, instrument finding step;
Although according to aforementioned, measuring instrument 12 has been passed through an interface 13 and has been connected with computer 11, measuring instrument 12 is simply got up by this connection with interface 13 grafting, also measuring instrument 12 is not configured, such as interface configuration, obtaining the address of measuring instrument 12, this computer-chronograph 11 cannot set up communication with measuring instrument 12.Therefore, instrument finding step mainly completes the configuration to measuring instrument 12, obtains the original address of a corresponding measuring instrument 12.Even if it should be pointed out that, obtain this original address, but this connection is only the connection in physics rank, say, that computer 11 can utilize this original address to communicate with this measuring instrument 12.And according to mentioned above, owing to application program 14 and measuring instrument 12 also exist diversified corresponding relation, complete instrument finding step and be also not meant to that application program 14 can control computer 11 and this measuring instrument 12 is operated and controlled, also need to identify further the essential information of connected measuring instrument 12, judge whether connected measuring instrument 12 mates with application program 14, or in the multiple stage measuring instrument 12 connected, which platform measuring instrument 12 matches with application program 14.
Step S2, instrument Connection Step;
Step S2 mainly completes measuring instrument 12 and is connected with the logic of computer 11, sets up the communication channel of measuring instrument 12 and computer 11 on application.That is, it needs to complete the identification of INSTRUMENT MODEL, to ensure that this instrument is the measuring instrument 12 corresponding to application program 14, that is judge whether follow-up instrument application step can control this measuring instrument 12.
The work specifically made of step S2 is: receive this original address, this original address is utilized to send order to measuring instrument 12, inquiry instrument essential information, this instrument essential information returning measuring instrument 12 resolves, parse trade name, INSTRUMENT MODEL, instrument serial number, instrument version number etc. according to this instrument essential information, parse trade name, INSTRUMENT MODEL, instrument serial number, instrument version number etc. according to this and judge that whether this measuring instrument 12 is the measuring instrument 12 of application program 14 correspondence.
Step S3, instrument application step;
The work of step S3 includes: one, utilizing this original address to control computer 11 and communicate with measuring instrument 12, Content of Communication includes the measurement data of reception measuring instrument 12, sends SCPI order to measuring instrument 12 and be controlled measuring instrument 12;Two, a display interface is provided, refer to Fig. 2, the e.g. display interface of the application program of this audiofrequency spectrometer, the instruction that the measurement data received is shown with forms such as curves by waveform display window 1492, received by modes such as input windows 1491 user's input the SCPI order being converted into correspondence are sent to measuring instrument 12.
Refer to Fig. 6, when computer 11 is connected to multiple measuring instrument 12, and open multiple application program 14 when controlling the plurality of measuring instrument 12 respectively, display interface can show the display window of multiple application program 14.Due to the display interface limited area of display device, when display window quantity is more, the most mutually block.Especially identical in multiple measuring instrument 12 types, when being the most all audiofrequency spectrometer, the display window of multiple application programs 14 is also essentially identical so that user has no way of differentiating.Now, the window 1490 that user is difficult to from mutually blocking and find oneself to want all multiwindows of resolution of having no way of activates, and therefore uses very inconvenient.
Summary of the invention
In order to solve the problem being inconvenient to use when prior art has the window of multiple application program in the multiple measuring instruments of control on display interface, the present invention provides a kind of convenient measurement resource control system used.
Meanwhile, the present invention also provides for the measurement resource control method that described measurement resource control system is used.
A kind of measurement resource control system, for managing multiple application resource with display window, described application resource is used for measuring equipment, it is characterized in that, described measurement resource control system includes: one is run application resource list generating section, running application resource list for producing one, described operation application resource list includes the identification information of multiple application resource being currently running;One application resource Window state controls parts, for according at least one the selected application resource selected from described operation application resource list, changes the state of window corresponding to described selected application resource.
In the present invention measures an embodiment of resource control system, described application resource Window state controls parts, it is further used for according to the multiple selected application resource selected from described operation application resource list, according to the order of application resource in described operation application resource list, the window corresponding to described selected application resource is activated and arranges.
In the present invention measures an embodiment of resource control system, described identification information includes measuring instrument title and the title of described application resource that described application resource controlled
In the present invention measures an embodiment of resource control system, described activation is that the window corresponding to described selected application resource is changed to current exercisable window.
In the present invention measures an embodiment of resource control system, described arrangement is by the window stacking corresponding to described selected application resource staggered.
In the present invention measures an embodiment of resource control system, described application resource is the application program for measuring equipment.
In the present invention measures an embodiment of resource control system, described arrangement is to be arranged according to rule by the window corresponding to described selected application resource.
A kind of measurement resource control method, for managing multiple application resource with display window, described application resource measuring equipment, it is characterized in that, described measurement resource control method includes: one is run application resource list and produces step, producing one and run application resource list, described operation application resource list includes the identification information of multiple application resource being currently running;One application resource Window state rate-determining steps, according at least one the selected application resource selected from described operation application resource list, changes the state of window corresponding to described selected application resource.
In the present invention measures an embodiment of resource control method, described application resource Window state rate-determining steps, further according to the multiple selected application resource selected from described operation application resource list, according to the order of application resource in described operation application resource list, the window corresponding to described selected application resource is activated and arranges.
In the present invention measures an embodiment of resource control method, described identification information includes measuring instrument title and the title of described application resource that described application resource controlled
In the present invention measures an embodiment of resource control method, described activation is that the window corresponding to described selected application resource is changed to current exercisable window.
In the present invention measures an embodiment of resource control method, described arrangement is by the window stacking corresponding to described selected application resource staggered.、
In the present invention measures an embodiment of resource control method, described application resource is the application program for measuring equipment.
In the present invention measures an embodiment of resource control method, described arrangement is to be arranged according to rule by the window corresponding to described selected application resource.
The present invention measures resource control system and measures resource control method owing to user can be made to select an application program to activate the window of correspondence by running application resource list, and run the abundant information of application resource list, user can find the window of the application program oneself wanted easily, and then easy to use.
Further, owing to the measurement resource control system in one embodiment of the present invention is when arranging window, window is first activated rearrangement according in the order running application resource list, or activate one and arrange one, therefore, when being arranged in staggered state, not only stagger successively in the position of window, and the order of the figure layer of window is also adjusted to window.Therefore, the Layer Order of window and the problem that is inconsistent and that cause confusion that puts in order will not occur.
Accompanying drawing explanation
Fig. 1 is the modular structure schematic diagram of a kind of traditional measurement system.
Fig. 2 is the display interface schematic diagram of a kind of existing application program.
Fig. 3 is the schematic diagram of measuring instrument and application matches relation.
Fig. 4 is the modular structure schematic diagram of a kind of traditional computer.
Fig. 5 is that a kind of traditional application program runs is performed flow chart of steps.
The window arrangement situation schematic diagram of display interface when Fig. 6 is to utilize traditional approach to open multiple application program.
Fig. 7 be the present invention measure resource control system the first embodiment be applied to one measure system modular structure schematic diagram.
Fig. 8 is the structural representation measuring the computer that system is used in Fig. 7.
Fig. 9 is the window arrangement situation schematic diagram that the present invention measures display interface when opening multiple application program under resource control system the first embodiment.
Figure 10 is that the present invention measures flow chart of steps performed during the work of resource control system the first embodiment.
Figure 11 is the schematic diagram running application resource list 46 that the present invention measures resource control system the first embodiment.
Figure 12 is to run the schematic diagram selecting application window to be managed in application resource list 46 shown in Figure 11.
Figure 13 is the Window state schematic diagram that the first embodiment measures after resource control system is managed.
Figure 14 is the module diagram that the present invention measures resource control system the first embodiment.
Figure 15 is the schematic diagram selecting application window to be managed in the operation application resource list 46 measuring resource control system of the second embodiment.
Figure 16 is the Window state schematic diagram that the second embodiment measures after resource control system is managed.
Detailed description of the invention
The present invention is described below and measures the first embodiment of resource control system.
Refer to Fig. 7, measure resource control system 4 and be applied in a measurement system 2.Measurement system 2 includes multiple measurement resource 20 and for managing and control the measurement resource control system 4 of the plurality of measurement resource 20.The plurality of measurement resource 20 includes multiple measuring instrument 22 and multiple application resource 24.In the present embodiment, the plurality of measuring instrument 22 includes that measuring instrument 221, measuring instrument 222 and measuring instrument 223, the plurality of application resource 24 include application program 241, application program 242 and application program 243.Application program 241 is for measuring equipment 221, and application program 242 is for measuring equipment 222, and application program 243 is for measuring equipment 223.Application program has application program essential information, including title and this application program storing path of application program.
Measuring instrument 22 is to have the equipment of data acquisition function, can be oscillograph, circuit tester, audiofrequency spectrometer, signal source, it is also possible to is to measure board, even can also is that sensor etc..Measure resource control system 4 to be realized by computer and operation measurement resource control system software on computers.Computer can be PC, panel computer, server or the client etc. being connected to server has data operation and processes the equipment of function.Measuring instrument 22 is connected with measuring resource control system 4 by interface, and interface can be vxi bus, PXI bus, GPIB, serial ports, parallel port or LAN mouth.
Refer to Fig. 8, in the middle of present embodiment, measure resource control system 4, application program 241, application program 242 and application program 243 and all run on computer 41.Computer 41 includes CPU414, internal memory 415, memorizer 416, bus 417, display screen 418 and peripheral hardware 419.CPU414, internal memory 415, memorizer 416 are connected with bus 417 respectively, display screen 418 is connected with bus 417 by video card 419, peripheral hardware 419 is connected by various Interface & Bus 417, and CPU414, internal memory 415, memorizer 416, display screen 418 complete to communicate by bus 417 with peripheral hardware 419.Memorizer 416 is made up of hard disk, certainly can also is that flash memory, CD, disk etc..Peripheral hardware 419 includes mouse, keyboard etc..
Please merge with reference to Fig. 8 and Fig. 9, application program 241 has a window 251, and application program 242 has a window 252, and application program 243 has a window 253, window 251,252,253 is shown on the display interface of display screen 418, is used for realizing man-machine interaction.Each window has a window name (Windows Title), is normally at the top edges of window.Owing to computer 41 is mounted with operating system, such as Windows operating system, therefore window 251,252,253 meets the general rule of window under operating system.General rule includes:
The first, in window 251,252,253, a window can only be had to be active.State of activation refers to: it is the most mutually with the object operated that this window is in the state that this window can be operated by user, i.e. this window.Under conventional situation, user needs to click on this window with the input equipment of such as mouse just can make this window enter state of activation, but as described in background technology, when window is more, selects the dress mouth not a duck soup wanted.
The second, the position of window 251,252,253 can arbitrarily be moved.The window of activation can arbitrarily be dragged by user, realizes the change of the window's position.Therefore, when number of windows is more, after long-time use, the position of window is the most in disorder.
3rd, between window 251,252,253, there is hierarchical relationship.After each window is activated, all can be placed in the upper strata of other windows.Therefore, user activates a window every time, all can change the hierarchical relationship between window 251,252,253.Such as, user elder generation theactivewindow 251, then theactivewindow 252, last theactivewindow 253, then last result is, window 253 is positioned at the top of window 252 and 251, and window 252 is positioned at above window 251, and window 251 is positioned at the bottom.
In the present embodiment, user can change the state of window by measuring resource control system 4 to window 251,252,253, and the form of the state changing window includes activating the carrying out in window 251,252,253.The most just the work process measuring resource control system 4 is described in detail.
Refer to Figure 10, the first embodiment measure resource control system 4 when realizing the activation function of window, perform following steps:
Step S11, operation application resource list produce step, produce one and run application resource list, and described operation application resource list includes the identification information of multiple application resource being currently running;
Refer to Figure 11, measure resource control system 4 on the display interface of display screen 418, produce an operation application resource list 46, running application resource list 46 and include the identification information of the application program 241,242,243 run, each identification information represents an application program.In the present embodiment, identification information includes the corresponding measuring instrument name 262 controlled of the title 261 of application program, this application program and this application program storing path 263.
The corresponding measuring instrument name 262 controlled of this application program can be obtained by measuring instrument essential information, and the title 261 of application program and this application program storing path 263 can be obtained by the essential information of application program.
Step S12, application resource Window state rate-determining steps, according at least one the selected application resource selected from described operation application resource list, change the state of window corresponding to described selected application resource.In the present embodiment, the state changing the window corresponding to described selected application resource refers to activate the window corresponding to selected application program.
Refer to Figure 12, user passes through input equipment, such as mouse, selects one to identify information from running application resource list 46, chooses a corresponding application program, such as, selects identification information 271.Identification information 271 being clicked on right mouse button, measures resource control system 4 and produce a menu 28, user selects " activation " button 281 in menu.Measure resource control system 4 and extract the window name of window 251 of this application program 241 corresponding to identification information 271, call Windows api function FindWindowA, obtain window handle, wherein, window handle be 32 without symbol shape data.Recall Windows api function SetWindowPos, use window handle as parameter, it is possible to be activated by window 251.Refer to Figure 13, the figure layer of the window 251 being activated then is changed to the superiors and becomes current operation object, i.e. window 251 is positioned at the upper strata of window 252 and 253, and is in the manipulable state of user.
Refer to Figure 14, in order to realize above-mentioned steps, measure resource control system 4 and include that is run an an application resource list generating section M11 and application resource Window state control parts M12.Running application resource list generating section M11 and run application resource list for producing one, described operation application resource list includes the identification information of multiple application resource being currently running;Application resource Window state controls parts M12 for according at least one selected application resource of selecting from described operation application resource list, changes the state of window corresponding to described selected application resource.In the present embodiment, the state changing the window corresponding to described selected application resource refers to activate the window corresponding to selected application program.
Owing to the measurement resource control system 4 of the first embodiment can make user select an application program to activate the window of correspondence by running application resource list 46, and run the abundant information of application resource list 46, user can find the window of the application program oneself wanted easily, and then easy to use.
The present invention is described below and measures the second embodiment of resource control system.The measurement resource control system 5 of the second embodiment is with the difference of the first embodiment: in the present embodiment, user can change the state of window by measuring resource control system 5 to window 251,252,253, the form of the state changing window includes the carrying out in window 251,252,253 is activated and arranged, arrangement refers to the position of moving window so that the position of window is according to certain rule arrangement.The most just the work process measuring resource control system 5 is described in detail.
Refer to Figure 10, the second embodiment measure resource control system 5 when realizing the activation of window and arranging functional, perform following steps:
Step S11, operation application resource list produce step, produce one and run application resource list, and described operation application resource list includes the identification information of multiple application resource being currently running;Step S11 and step S11 of the first embodiment in second embodiment are identical, repeat no more here.
Step S12, application resource Window state rate-determining steps, according at least one the selected application resource selected from described operation application resource list, change the state of window corresponding to described selected application resource.In the present embodiment, the state changing the window corresponding to described selected application resource refers to according to the multiple selected application resource selected from described operation application resource list, according to the order of application resource in described operation application resource list, the window corresponding to described selected application resource is activated and arranges.
Refer to Figure 15, user passes through input equipment, such as mouse, selects multiple identification information from running application resource list 46, chooses the application program of multiple correspondence, such as, selects identification information 271,272,273.Any one identified in information 271,272,273 being clicked on right mouse button, measures resource control system 5 and produce a menu 28, user selects " arrangement " button 282 in menu.Measure the window name that resource control system 5 extracts the window 251,252,23 of this application program 241,242,243 corresponding to identification information 271,272,273, call Windows api function FindWindowA, obtain window handle.Then, according still further to identifying that information 271,272,273 is in the order running application resource list 56, call Windows api function SetWindowPos, use window handle as parameter, it is possible to by window 251,252,253 according at the Sequential Activation running application resource list 46.Then, call Windows api function MoveWindow, use window handle as parameter, it is possible to by window 251,252,253 according in the position being moved sequentially to specify running application resource list 46.
In the present embodiment, this arrangement be by window 251,252,253 according to run application resource list 56 order movement be staggered state.Specifically, measure resource control system 5 first according to identifying that information 271,272,273 is in the order running application resource list 46, the window 251 of identification information 271 correspondence is activated, then the window 252 of identification information 272 correspondence is activated, then the window 253 of identification information 273 correspondence is activated.Then, according to identifying that information 271,272,273 is in the order running application resource list 46, the window 251 of identification information 271 correspondence is moved to the upper left corner of display interface, the window 252 of identification information 272 correspondence is moved to the position of 30 pixels in window 251 lower right again, the window 253 of identification information 273 correspondence is moved to the position of 30 pixels in window 252 lower right again, thus realizes staggered state.
In another embodiment, step S12 can also realize in such a way:
User passes through input equipment, such as mouse, selects multiple identification information from running application resource list 56, chooses a corresponding application program, such as, selects identification information 271,272,273.Measure the window name that resource control system 5 extracts the window 251,252,23 of this application program 241,242,243 corresponding to identification information 271,272,273, call Windows api function FindWindowA, obtain window handle.Then, according still further to identifying that information 271,272,273 is in the order running application resource list 56, call Windows api function SetWindowPos, use the window handle of window 251 as parameter, window 251 is activated, call Windows api function MoveWindow, use the window handle of window 251 as parameter, window 251 is moved to the position specified.Calling Windows api function SetWindowPos, use the window handle of window 252 as parameter, activated by window 252, call Windows api function MoveWindow, the window handle of use window 252 is as parameter, by window 252 to the position specified.Call Windows api function SetWindowPos, use the window handle of window 253 as parameter, window 253 is activated, call Windows api function MoveWindow, use the window handle of window 253 as parameter, window 253 is moved to the position specified.
In another embodiment, refer to Figure 16, this arrangement is by window 251,252,253 according to running the order movement of application resource list 56 to same position so that window 251,252,253 is overlapping.Such as, window 251,252,253 is moved (0, the 0) position in the upper left corner to display interface, i.e. pixel coordinate.
Refer to Figure 14, in order to realize the described step of the second embodiment, measure resource control system 5 essentially identical with measurement resource control system 4, also include that is run an an application resource list generating section M11 and application resource Window state control parts M12.Running application resource list generating section M11 and run application resource list for producing one, described operation application resource list includes the identification information of multiple application resource being currently running.Application resource Window state controls parts M12 for according at least one selected application resource of selecting from described operation application resource list, changes the state of window corresponding to described selected application resource.Measure resource control system 5 to be with the difference measuring resource control system 4: in the present embodiment, the state changing the window corresponding to described selected application resource refers to according to the multiple selected application resource selected from described operation application resource list, according to the order of application resource in described operation application resource list, the window corresponding to described selected application resource is activated and arranges.
Owing to the measurement resource control system 4 of the second embodiment is when arranging window 251,252,253, window 251,252,253 is first activated rearrangement according in the order running application resource list 56, or activate one and arrange one, therefore, when being arranged in staggered state, not only stagger successively in the position of window 251,252,253, and the order of the figure layer of window is also adjusted to window 253,252,251.Therefore, the Layer Order of window and the problem that is inconsistent and that cause confusion that puts in order will not occur.
Realization in order to demonstrate the invention, describes above-mentioned detailed description of the invention.But other of the present invention change and modifications, and will be readily apparent to one having ordinary skill, any amendment in the range of essence disclosed in this invention and basic principle/change or imitate conversion to broadly fall into the claims of the present invention.

Claims (10)

1. measure a resource control system, for managing multiple application resource with display window, institute State application resource for measuring equipment, it is characterised in that described measurement resource control system includes:
One is run application resource list generating section, runs application resource list for producing one, described Run application resource list and include the identification information of multiple application resource being currently running;
One application resource Window state controls parts, for selecting according to from described operation application resource list The selected application resource of at least one selected out, changes the state of window corresponding to described selected application resource.
Measurement resource control system the most according to claim 1, it is characterised in that: described application provides Source window state controls parts, is further used for according to selecting from described operation application resource list many Individual selected application resource, according to the order of application resource in described operation application resource list, by described quilt The window corresponding to application resource is selected to activate and arrange.
Measurement resource control system the most according to claim 1, it is characterised in that: described identification is believed Cease measuring instrument title and the title of described application resource including that described application resource is controlled.
Measurement resource control system the most according to claim 2, it is characterised in that: described activation is Window corresponding to described selected application resource is changed to current exercisable window.
Measurement resource control system the most according to claim 2, it is characterised in that: described arrangement is By the window stacking corresponding to described selected application resource staggered.
6. measure a resource control method, for managing multiple application resource with display window, institute State application resource measuring equipment, it is characterised in that described measurement resource control method includes:
One is run application resource list and produces step, produces one and runs application resource list, described operation Application resource list includes the identification information of multiple application resource being currently running;
One application resource Window state rate-determining steps, selects according to from described operation application resource list At least one selected application resource, change the state of window corresponding to described selected application resource.
Measurement resource control method the most according to claim 6, it is characterised in that: described application provides Source window state rate-determining steps, further according to the multiple quilts selected from described operation application resource list Select application resource, according to the order of application resource in described operation application resource list, by described selected should Activate with the window corresponding to resource and arrange.
Measurement resource control method the most according to claim 6, it is characterised in that: described identification is believed Cease measuring instrument title and the title of described application resource including that described application resource is controlled.
Measurement resource control method the most according to claim 7, it is characterised in that: described activation is Window corresponding to described selected application resource is changed to current exercisable window.
Measurement resource control method the most according to claim 7, it is characterised in that: described arrangement is By the window stacking corresponding to described selected application resource staggered.
CN201010534869.6A 2010-11-03 2010-11-03 A kind of measurement resource control method and measurement resource control system Active CN102467371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010534869.6A CN102467371B (en) 2010-11-03 2010-11-03 A kind of measurement resource control method and measurement resource control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010534869.6A CN102467371B (en) 2010-11-03 2010-11-03 A kind of measurement resource control method and measurement resource control system

Publications (2)

Publication Number Publication Date
CN102467371A CN102467371A (en) 2012-05-23
CN102467371B true CN102467371B (en) 2016-09-07

Family

ID=46071048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010534869.6A Active CN102467371B (en) 2010-11-03 2010-11-03 A kind of measurement resource control method and measurement resource control system

Country Status (1)

Country Link
CN (1) CN102467371B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094534A (en) * 2015-06-30 2015-11-25 青岛海信移动通信技术股份有限公司 Method and device for window display switching of intelligent hand-held equipment

Citations (2)

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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090019396A1 (en) * 2007-07-11 2009-01-15 Agilent Technologies, Inc. User Programmable Key in a User Interface System
JP2010061218A (en) * 2008-09-01 2010-03-18 Fujifilm Corp Web advertising effect measurement device, web advertising effect measurement method, and program

Patent Citations (2)

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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于网络的高频虚拟实验室的设计与开发;郝建勋;《中国优秀硕士学位论文全文数据库 信息科技辑》;20060815;I138-715 第10-13页 *

Also Published As

Publication number Publication date
CN102467371A (en) 2012-05-23

Similar Documents

Publication Publication Date Title
Jerome Virtual instrumentation using LabVIEW
CN102004952B (en) Measuring resource control system and measuring resource control method
CN104536889A (en) Method and system for testing user interface, use case management platform and operating terminal
JPH09510567A (en) Document proxy framework
JPS63271541A (en) Graphic interface apparatus and electronic equipment control
Ingalls et al. The lively kernel a self-supporting system on a web page
US20020138719A1 (en) Oscilloscope panel capture and implementation
US9785415B2 (en) Remote interface to logical instruments
CN106354517B (en) A kind of edit methods and mobile terminal of screen locking wallpaper
CN113010359B (en) Bus test system generation method, system, device and storage medium
CN105824755A (en) Automation test method, automation test device and mobile terminal
CN106354373A (en) Icon moving method and mobile terminal
US9547479B2 (en) Method for adapting GUI-based instrument components in a visual programming language
CN102467371B (en) A kind of measurement resource control method and measurement resource control system
CN106126240A (en) A kind of method and system customizing mobile terminal desktop shortcut icon
US20170310532A1 (en) Method and device to assist with decision-making
Klemmer et al. Toolkit support for integrating physical and digital interactions
CN102467372A (en) Measurement resource control system and measurement resource control method
WO2021046718A1 (en) Quick operation method and apparatus based on floating button, and electronic device
CN109739493A (en) Generation method, device, electronic equipment and the storage medium of data base manipulation statement
CN102467090B (en) A kind of measurement resource control method and measurement resource control system
CN102467369B (en) Measurement resource control system and measurement resource control method
CN102467370A (en) Measurement resource control system and measurement resource control method
US10235868B2 (en) Embedded shared logical instrument
Healey et al. A tool for performing and analysing experiments on graphical communication

Legal Events

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