Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, the embodiment of the invention is explained further details below in conjunction with accompanying drawing.At this, illustrative examples of the present invention and explanation thereof are used to explain the present invention, but not as to qualification of the present invention.
In the embodiment of the invention, use spectrum analyzer, through effectively making of PC end input peripheral (mouse) being used for accomplishing the intuitive and accurate work that instrument parameter (initial frequency stops frequency for span, centre frequency) is set based on PC.
As shown in Figure 2, in the embodiment of the invention, the method for operating treatment scheme of spectrum analyzer can comprise:
Step 201, obtain the service data of mouse in spectrum analyzer display frame;
Step 202, according to the service data of mouse in spectrum analyzer display frame, spectrum analyzer is carried out the parameter setting.
Can learn by treatment scheme shown in Figure 2, in the embodiment of the invention, through obtaining the service data of mouse in spectrum analyzer display frame; And according to the service data of mouse in spectrum analyzer display frame; Spectrum analyzer is carried out the parameter setting; Thereby the peripheral hardware mouse based on PC comes spectrum analyzer is carried out the parameter setting; For the technical scheme that the mode of available technology adopting input frame input is set the spectrum analysis instrument parameter, the parameter setting mode of the embodiment of the invention is directly perceived more, accurately, need not the correlation parameter of institute's attention signal just estimated to select the wanted signal interval.
In addition, the embodiment of the invention is used for spectrum analyzer is carried out the parameter setting based on effectively the making of peripheral hardware mouse of PC, implements also to possess characteristics fast and efficiently, can improve the ease for use of spectrum analyzer greatly.
During practical implementation, through the action of mouse in the spectrum analyzer display frame that appears on the PC, the correlation parameter of spectrum analyzer is set, mouse action can comprise:
Selected areas, i.e. the initiation region is chosen in click, and is drawn to the termination zone of expectation, discharges mouse afterwards;
Moving area, i.e. transfer point is confirmed in click, and is drawn to the expectation dwell point, discharges mouse afterwards.
Use above-mentioned mouse action and can accomplish that spectrum analyzer datum, centre frequency, initial frequency, termination frequency are isoparametric to be provided with work.
Among the embodiment, step 201 is obtained the service data of mouse in spectrum analyzer display frame, can comprise: the coordinate data of obtaining mouse selected areas in spectrum analyzer display frame; Step 202 is according to the service data of mouse in spectrum analyzer display frame; Spectrum analyzer is carried out the parameter setting; Can comprise: according to the coordinate data of mouse selected areas in spectrum analyzer display frame; Revise transverse axis span or longitudinal axis span in the spectrum analyzer display frame, obtain datum and scale value in the amended spectrum analyzer display frame; Datum and scale value in the amended spectrum analyzer display frame are arranged to spectrum analyzer.
Pass through the operation of the selected areas of mouse in spectrum analyzer display frame in this example; Can be provided with transverse axis span in the spectrum analyzer display frame or longitudinal axis span, and then obtain datum and the scale value in the spectrum analyzer display frame and be arranged to spectrum analyzer.After these parameters are arranged to spectrum analyzer, can also comprise: the received spectrum analyser is according to the data of set parameter acquisition.
Lift the above-mentioned process of carrying out the span setting of an example explanation.As shown in Figure 3, pay close attention to the signal (signal 1 among Fig. 3) in certain span in this example, accomplish through the operation of mouse selected areas.Get access to the coordinate data (this coordinate data indication span information) of mouse selected areas behind this EO; Can revise or be provided with transverse axis span or longitudinal axis span in the spectrum analyzer display frame according to this coordinate data, thereby obtain datum and the scale value in the amended spectrum analyzer display frame; The datum and the scale value that obtain are set to instrument end (slave computer), and slave computer just can be provided with image data according to this and pass the PC host computer back, obtains span shown in Figure 4 the result is set.
Fig. 3, shown in Figure 4 be horizontal vertical span setting, and the class of operation of (datum, the scale) setting of the longitudinal axis span on the horizontal direction and Fig. 3, Fig. 4 signal is seemingly.
Among the embodiment, step 201 is obtained the service data of mouse in spectrum analyzer display frame, can comprise: the coordinate data of obtaining mouse moving area in spectrum analyzer display frame; Step 202 is according to the service data of mouse in spectrum analyzer display frame; Spectrum analyzer is carried out the parameter setting; Can comprise: according to the coordinate data of mouse moving area in spectrum analyzer display frame; Revise the signal location that shows in the spectrum analyzer display frame, obtain centre frequency, initial frequency, termination frequency, datum and scale value in the amended spectrum analyzer display frame; Centre frequency in the amended spectrum analyzer display frame, initial frequency, termination frequency, datum and scale value are arranged to spectrum analyzer.
Pass through the operation of the moving area of mouse in spectrum analyzer display frame in this example; Can the signal location of the demonstration in the spectrum analyzer display frame be provided with, and then obtain centre frequency, initial frequency, termination frequency, datum and the scale value in the spectrum analyzer display frame and be arranged to spectrum analyzer.After these parameters are arranged to spectrum analyzer, can also comprise: the received spectrum analyser is according to the data of set parameter acquisition.
Lift the above-mentioned process that the signal location of the demonstration in the spectrum analyzer display frame is provided with of an example explanation; This process can think that change in location has taken place in " frequency spectrum display window " (spectrum analyzer display frame); Span (transverse axis and the longitudinal axis) in this process intermediate frequency spectrum analyser display frame is constant, and centre frequency, initial frequency, termination frequency, datum and scale value have been sent out into variation.This operation is appreciated that the position for carrying out " frequency spectrum display window " is provided with, and does not change the size of " frequency spectrum display window ", just revises " frequency spectrum display window " position on frequency range.As shown in Figure 5; Operation through the mouse moving zone is accomplished; Obtain the coordinate data (positional information of this coordinate data indication " frequency spectrum display window ") of mouse moving area in spectrum analyzer display frame behind this EO; Revise the signal location that shows in the spectrum analyzer display frame according to this coordinate data; Obtain centre frequency, initial frequency, termination frequency, datum and the scale value in the amended spectrum analyzer display frame and be set to instrument end (slave computer), slave computer will be provided with image data according to this and pass the PC host computer back, obtains shows signal position shown in Figure 6 the result is set.Rectangle marked partly is and moves fixed point among Fig. 5, moves (arrow points among Fig. 5) to the right down based on this point.Fig. 5 is the final display result that moves.
Among the embodiment, step 201 is obtained the service data of mouse in spectrum analyzer display frame, can comprise: the coordinate data of obtaining mouse selected areas in spectrum analyzer display frame; Step 202 is according to the service data of mouse in spectrum analyzer display frame; Spectrum analyzer is carried out the parameter setting; Can comprise: according to the coordinate data of mouse selected areas in spectrum analyzer display frame; Revise the size of spectrum analyzer display frame, obtain centre frequency, initial frequency, termination frequency, datum and scale value in the amended spectrum analyzer display frame; Centre frequency in the amended spectrum analyzer display frame, initial frequency, termination frequency, datum and scale value are arranged to spectrum analyzer.
Pass through the operation of the selected areas of mouse in spectrum analyzer display frame in this example; Can the size of spectrum analyzer display frame be provided with, and then obtain centre frequency, initial frequency, termination frequency, datum and the scale value in the spectrum analyzer display frame and be arranged to spectrum analyzer.After these parameters are arranged to spectrum analyzer, can also comprise: the received spectrum analyser is according to the data of set parameter acquisition.
Lift the setting up procedure of the size of the above-mentioned spectrum analyzer display frame of an example explanation.This process can be thought to carry out " frequency spectrum display window " (being spectrum analyzer display frame) and is provided with, and particularly is the size of in certain frequency range, revising " frequency spectrum display window ".As shown in Figure 7; Selected areas operation through mouse is accomplished; Obtain the coordinate data (size information of this coordinate data indication " frequency spectrum display window ") of mouse selected areas behind this EO; Revise the size of spectrum analyzer display frame according to this coordinate data; Obtain centre frequency, initial frequency, termination frequency, datum and the scale value in the amended spectrum analyzer display frame and be set to instrument end (slave computer), slave computer will be provided with image data according to this and pass the PC host computer back, and the size that obtains spectrum analyzer display frame shown in Figure 8 is provided with the result.Can see, in Fig. 7, have three than large-signal, choosing these signals, Fig. 8 through the selected areas operation of mouse is the show states of these three signals in new window.
Can know through the foregoing description; The embodiment of the invention is through using the operation that mouse carries out the spectrum analyzer display frame that appears on the PC; And the packing of the parameter of spectrum analyzer is distributed into " span "; The function of spectrum analysis instrument parameter is accomplished intuitively, is provided with exactly to parameter sets such as the position of " frequency spectrum display window " and size.
A kind of operating means of spectrum analyzer also is provided in the embodiment of the invention, of following embodiment.Because the principle of this device solves problem is similar with the method for operating of spectrum analyzer, so the enforcement of this device can repeat part and repeat no more referring to the enforcement of method.
As shown in Figure 9, the operating means of the spectrum analyzer in the embodiment of the invention can comprise:
Acquisition module 901 is used to obtain the service data of mouse in spectrum analyzer display frame;
Parameter is provided with module 902, is used for according to the service data of mouse in spectrum analyzer display frame spectrum analyzer being carried out the parameter setting.
Among the embodiment, acquisition module 901 specifically can be used for:
Obtain the coordinate data of mouse selected areas in spectrum analyzer display frame;
Shown in figure 10, parameter is provided with module 902 and can comprises:
First parameter obtains unit 1001; Be used for coordinate data according to mouse selected areas in spectrum analyzer display frame; Revise transverse axis span or longitudinal axis span in the spectrum analyzer display frame, obtain datum and scale value in the amended spectrum analyzer display frame;
First parameter set unit 1002 is used for datum and scale value in the amended spectrum analyzer display frame are arranged to spectrum analyzer.
Among the embodiment, acquisition module 901 specifically can be used for:
Obtain the coordinate data of mouse moving area in spectrum analyzer display frame;
Shown in figure 11, parameter is provided with module 902 and can comprises:
Second parameter obtains unit 1101; Be used for coordinate data according to mouse moving area in spectrum analyzer display frame; Revise the signal location that shows in the spectrum analyzer display frame, obtain centre frequency, initial frequency, termination frequency, datum and scale value in the amended spectrum analyzer display frame;
Second parameter set unit 1102 is used for the centre frequency in the amended spectrum analyzer display frame, initial frequency, termination frequency, datum and scale value are arranged to spectrum analyzer.
Among the embodiment, acquisition module 901 specifically can be used for:
Obtain the coordinate data of mouse selected areas in spectrum analyzer display frame;
Shown in figure 12, parameter is provided with module 902 and can comprises:
The 3rd parameter obtains unit 1201; Be used for coordinate data according to mouse selected areas in spectrum analyzer display frame; Revise the size of spectrum analyzer display frame, obtain centre frequency, initial frequency, termination frequency, datum and scale value in the amended spectrum analyzer display frame;
The 3rd parameter set unit 1202 is used for the centre frequency in the amended spectrum analyzer display frame, initial frequency, termination frequency, datum and scale value are arranged to spectrum analyzer.
Among the embodiment, the parameter among Figure 10, Figure 11, Figure 12 is provided with module 902 and can also comprises:
Parameter is provided with response unit 9021, is used for the data of received spectrum analyser according to set parameter acquisition.
In sum, in the embodiment of the invention, through obtaining the service data of mouse in spectrum analyzer display frame; And according to the service data of mouse in spectrum analyzer display frame; Spectrum analyzer is carried out the parameter setting; Thereby the peripheral hardware mouse based on PC comes spectrum analyzer is carried out the parameter setting; For the technical scheme that the mode of available technology adopting input frame input is set the spectrum analysis instrument parameter, the parameter setting mode of the embodiment of the invention is directly perceived more, accurately, need not the correlation parameter of institute's attention signal just estimated to select the wanted signal interval.
In addition, the embodiment of the invention is used for spectrum analyzer is carried out the parameter setting based on effectively the making of peripheral hardware mouse of PC, implements also to possess characteristics fast and efficiently, can improve the ease for use of spectrum analyzer greatly.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computing machine or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device; Make on computing machine or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computing machine or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
Above-described specific embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely specific embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.