CN1555007A - Method for intelligent control of virtual instrument - Google Patents

Method for intelligent control of virtual instrument Download PDF

Info

Publication number
CN1555007A
CN1555007A CNA2003101041903A CN200310104190A CN1555007A CN 1555007 A CN1555007 A CN 1555007A CN A2003101041903 A CNA2003101041903 A CN A2003101041903A CN 200310104190 A CN200310104190 A CN 200310104190A CN 1555007 A CN1555007 A CN 1555007A
Authority
CN
China
Prior art keywords
virtual
instrument
control
intelligent
function
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
CNA2003101041903A
Other languages
Chinese (zh)
Other versions
CN1277184C (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 200310104190 priority Critical patent/CN1277184C/en
Publication of CN1555007A publication Critical patent/CN1555007A/en
Application granted granted Critical
Publication of CN1277184C publication Critical patent/CN1277184C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The method of establishing intelligent virtual control instrument includes the following steps: determining the function, performance index and intelligent virtual control of the instrument; establishing the math model of instrument function and intelligent virtual control; establishing non-intelligent virtual control library; establishing function library; and establishing the development system and the intelligent virtual control instrument in Windows system through making intelligent virtual controls, setting the intelligent virtual controls in proper positions in the development system, running the established virtual instrument, saving the virtual instrument file in memory and loading the saved virtual instrument for operation or edition. The present invention has the features of integration, being economic, interactive, opened, fast in response and green, etc.

Description

The method of virtual instrument smart controlization
Technical field
The present invention relates to field of test instrument, is the method that the virtual test instrument is realized smart controlization.
Background technology
By retrieval, the following publication document that relates to virtual instrument is arranged:
[1]Graphical?method?for?programming?a?virtual?instrument,NI?Co.,
United?States?Patent,5301336
[2]Instrumentation?system?&?method?including?an?improved?driver
software?architecture,NI?Co.,United?States?Patent,5963726
[3]System?&?method?for?creating?resources?in?instrumentation?system,
NI?Co.,United?States?Patent,5710727
[4]System?&?method?for?performing?interface?independent?virtual
instrumentation,NI?Co.,United?States?Patent,5920479
[5]Functions?in?a?graphical?data?flow?program?method?&?apparatus
for?controll?ing?an?instrumentation?system,NI?Co.,United?States
Patent,5724272
Surveying instrument develops so far, and can be divided into three phases substantially: first stage is the conventional hardware instrument, and second stage is the virtual instrument based on software of current trend, and three phases is an intelligent controls-oriented virtual instrument.
20th century, the mid-80 at first came across the virtual instrument of the U.S., was that technical device and computer technology interpenetrate the result that mutual fusion forms.(Virtual Instrument is by application program the measurement function of computer resource (microprocessor, storer, display) and instrument hardware (A/D, D/A, digital I/O, timer, signal conditioner) to be combined formed measurement mechanism or test macro VI) to virtual instrument.The user is by friendly graphical interfaces (being called virtual panel) operational computations machine, just as the operation with traditional instrument, by built-in function realize between instrument module communication, regularly, triggering and data analysis, data representation, and form graphical interface.Its processing power of the computer technology of high speed development had satisfied the required powerful data-handling capacity of instrument already, had shown memory function and high resolution graphic presentation.The principal character of virtual instrument is:
(1) hardware capability software implementation.The function that is about to originally to be finished by hardware in the traditional instrument realizes by software, even manyly is difficult to solve or insurmountable at all problem with hardware circuit originally, also adopts software engineering to solve well.
(2) integrated, the modularization of instrumental function.Because the high speed development of large scale integrated circuit technology makes the integrated level of whole instrument system improve greatly.And modular functionality is a distinct characteristic of modern instrument instrument, and it makes instrument more flexible, and the composition of instrument is more succinct.
(3) instrument parameter is revised real time implementation.Development along with various field programmable devices and online programming technology, the parameter of instrument and meter even structure needn't just be determined when design, but can insert in real time at the scene that instrument uses and on-the-fly modify, thereby make instrument and meter adapt to on-the-spot actual thermometrically environment more neatly.
(4) instrument hardware platform universalization.Because instrument softwareization, make to share underlying instrument hardware and unite many instruments to be extended to multiple function apparatus or system and to become and realize easily.
Virtual instrument makes instrument and meter software implementation farthest, thereby makes the development of instrument cost the bullet train of computing machine development.Can think to have caused once leap in the development that appears at instrument and meter of virtual instrument, be the developing important stage of instrument.
But fasten in the version of instrument and the function of instrument and the pass of panel control, present virtual instrument and traditional hardware instruments be the difference of essence not.According to the pattern of existing virtual instrument, in order to set up an instrument, the user also must carry out " design " and " manufacturing " except the definition instrument.With the change of conventional hardware instrument software, produce also not a duck soup of a virtual instrument though that is to say existing virtual instrument, it requires the user to possess the professional knowledge and the abundant computer programming experience of instrumental science simultaneously.This forms bottleneck in the exploitation of virtual instrument, thereby directly influences its fast development.Can find a kind of new method or a kind of new model, under the prerequisite of open system, leave the right of " definition instrument ", " modification instrument " for user, and give the professional fully with the work that " design ", " assembling ", " debugging ", " combination ", " connection " etc. belong to instrument " manufacturing " aspect, thereby make all users---have profession basis and veteran and profession basis and experience all relatively the user of shortcoming can both in face of this quasi-instrument system, be in same starting line?
If invent a kind of novel virtual instrument, its inside has powerful containing ability and peripheral operation is very simple, the user is during in the face of this New Virtual instrument, need not to carry out work such as " design certainly ", " setting up certainly ", just can directly use, the direct control instrument, change the form of instrument and the function of instrument freely, make this quasi-instrument arrive the user on hand just just as one " user-friendly camera ", can realize above target.
Summary of the invention
The objective of the invention is in the test analytical instrument field, to propose a kind of new method of producing virtual instrument.According to the proposed method, test function, performance and the precision index of instrument and the corresponding construction of instrument control are combined together, be formed with the intelligent virtual control of intelligent characteristic, form a virtual instrument by these intelligent virtual controls through easy " dragging-put " mode of mouse again.Because virtual instrument carry out smart controlization, in the process of making virtual instrument, need not to carry out (hard, soft) assembling, only intelligent virtual control need be pieced together in the specific development platform of computing machine and be taken, and the location independent put of restricting relation and the intelligent virtual control that form between each intelligent virtual control to instrumental function, each intelligent virtual control can be put at random, and therefore the function of instrument, performance and precision can not change.After adopting this new model, make virtual instrument and set up virtual instrument system and will become efficiently, simply, and realized under the prerequisite of open system leaving the work of the design of instrument and establishment for expert or manufacturer and the right that will define instrument has been left the user fully for.
The technical solution used in the present invention is as follows, a kind of virtual instrument smart control method in order to production of intelligent control virtual instrument, and its key step has (referring to accompanying drawing 1):
1, establishes function, performance index and the intelligent virtual control form of instrument object
In the forming process of intelligent controls-oriented virtual instrument, at first to analyze the instrument that will set up, determine the various functions and the performance index of instrument, and required intelligent virtual control form.
2, instrumental function and intelligent virtual control are carried out mathematical modeling
After having only intelligent virtual control to instrumental function and instrument to carry out mathematical modeling, could design corresponding algorithm and programming according to mathematical model.The mathematical modeling of virtual instrument is equivalent to the conceptual design of instrument, and it is the important step of intelligent controls-oriented virtual instrument design and manufacture process.Intelligent controls-oriented virtual instrument adopts modularization mathematical modeling method.
Mathematical model is meant the abstract patterns of representing the research object essential characteristic with special symbol, generally comprises two parts: mathematics part and regular part.Mathematics partly is meant with mathematic(al) representation describes relation between the factor of easy quantification, and the rule part then refers to the immaterial factor that some are difficult to quantize, as thinking activities rule, reasoning from logic etc.The two all may be embodied in the program with certain certain computer coded representation.
Virtual instrument system comprises wide range, and its version changes span very greatly, the band signal analysis from simple physical parameter surveying instrument to complexity and the instrument of processing etc.Therefore should set up their mathematical model according to typical general character parts in advance, the overall model of whole instrument then is the array configuration with certain rule that these parts submodels are realized by certain means.Base part of the same race can be reused the model of same module, like this, just can describe the mathematical model of multiple virtual instrument with a spot of modular mathematical model, the basic thought of Here it is modularization modeling method.Its content comprises (referring to accompanying drawing 2):
(1) function of the virtual instrument system of being studied and intelligent virtual control carry out rational modularization decomposition, and this is the key of modularization modeling.The mode of Module Division has determined the type of attachment of module, and is often relevant with the object of emphasis of dealing with problems and software use.The division result of module should guarantee that the modularization of system is decomposed and carry out easily with the anabolic process that is connected of module, can make the deletion of any one module simultaneously and inserts and bring influence to the anabolic process of other module.
(2) functional module and the intelligent virtual control module of having decomposed are carried out mathematical modeling.
(3) set up a set of modules from being dynamically connected rule of combination.This is the assurance that the modularization modeling is achieved, and also is difficult point.These rules comprise:
1) connect rule of combination, this is based on the interconnecting interface of message, carries out communication by message between the module, interface definition the module massage set sending and receive;
2) only relevant with message itself, how to produce irrelevantly with message, and the person of sending of message and recipient needn't know situation each other;
3) message is divided two classes: the message of sending and the message of reception, and the former refers to that the service that provides other module required is provided for the service of asking other module to provide, the latter;
4) each message definition a port of module, the module with complementary port just can be carried out communication by bus;
5) complementary port refers to except the direction difference of message turnover module, and the parameter that message name, message have and the type of return results are identical.
3, the foundation in non intelligent virtual control storehouse
Intelligent virtual control in the intelligent controls-oriented virtual instrument is the carrier of instrumental function, also is the interface of man-machine interaction.Just make virtual instrument realize smart controlization by intelligent virtual control just.The making of intelligent virtual control depends on the foundation in non intelligent virtual control storehouse and function storehouse.So the 3rd step and the 4th step of virtual instrument smart control method are exactly the foundation in non intelligent virtual control storehouse and function storehouse.
Be the step that non-intelligent virtual control storehouse is set up below:
(1) the upright non intelligent virtual control form corresponding with function comprises virtual selector switch, virtual knob, virtual push button, virtual monitor;
(2) the non intelligent virtual control that will complete deposits in the storehouse, and is standby as the carrier of function endowing.
4, the foundation in function storehouse
On the basis of the instrumental function mathematical model of having set up, algorithm for design and programming are transformed into computer program one by one with the various physical functions of instrument, and concentrate and deposit the function storehouse that forms software implementation.5, under the Windows system, set up the intelligent controls-oriented virtual instrument development system, and in this system, finish building of virtual instrument
Under the Windows system, adopt the meta-synthetic engineering towards control, data and demonstration, the intelligent controls-oriented virtual instrument development system that the foundation of level messaging bus technology possesses characteristics such as dynamic similation operation and evolution.In this development system, can finish from a series of activities such as manufacturing, test, modification, editor, storage and loading intelligent controls-oriented virtual instruments.The steps include:
(1) making of energy virtual control.
Intelligent virtual control is the carrier of intelligent controls-oriented virtual instrument function, also is the interface of man-machine interaction, and it is an essential elements of forming intelligent controls-oriented virtual instrument.The making of intelligent virtual control depends on the foundation in non intelligent virtual control storehouse and function storehouse.The making step of intelligent virtual control had 4 steps (referring to accompanying drawing 3):
1) chooses suitable non intelligent virtual control in the non intelligent virtual control storehouse;
2) the non intelligent virtual control of choosing is carried out corresponding attribute setting;
3) the non intelligent virtual control of choosing is carried out function endowing (referring to accompanying drawing 4), concrete technical step is as follows:
1. the receivable feature list of the non intelligent virtual control of receiving function chained list, and initialization;
2. the action of the non intelligent virtual control of initialization or contact tabulation;
3. get non intelligent virtual control with right mouse button point, in the dialog box that ejects, select action or contact in corresponding control actions or the contact tabulation, selection function in the function corresponding tabulation;
4. the tabulation of feature list and control actions or contact all has a public attribute, the public attribute that compares both, if it is identical, then the functional address in control actions or the contact tabulation is chosen out in the pairing function of action or contact that is imparted to control and go, when the user presses " giving " action button, just can finish the mapping of function to action or contact;
5. press " giving " action button, with the corresponding connection with action or contact of selected function, then selected function has been given the action or the contact of selected control, and non intelligent virtual control changes intelligent virtual control (referring to accompanying drawing 5) into;
4) the non intelligent virtual control of choosing is tested fusion, just the intelligent virtual control of making is carried out self check, whether the function in the inspection control is given correct and is satisfied performance and accuracy requirement.
(2) in the specific region in the intelligent controls-oriented virtual instrument development system (field is taken in assembly), select corresponding intelligent virtual control to be dragged and dropped into suitable position (referring to accompanying drawing 6) with mouse.
(3) " RUN " of selection " state " menu from the menu bar of intelligent controls-oriented virtual instrument development system, the virtual instrument that operation is put up.
(4) from the menu bar of intelligent controls-oriented virtual instrument development system, select " preservations " menu, and the key entry filename, the virtual instrument put up is kept at the form of file in the storer such as hard disk.
(5) from the menu bar of intelligent controls-oriented virtual instrument development system, select " loadings " menu, and key in filename (required instrument name), be kept at virtual instrument in the storer be loaded into piece together take in operation or edit.
As can be seen, the manufacturing process of whole intelligent controls-oriented virtual instrument neither needs programming, also need not carry out line between control from above-mentioned steps, only needs that control is carried out some simple attribute settings and gets final product.
Technique effect of the present invention comprises:
1, integration.The test integration technology that the inventive method adopted makes some position of the function of instrument and instrument control or " structure " the formation intelligent virtual control that combines together, and the intelligent controls-oriented virtual instrument that the structure that is produced by this technical characterictic is greatly simplified is the pattern of new generation of field of test instrument.
2, economy.Intermediate product in the inventive method---intelligent virtual control possesses the product feature of software implementation " combined instrument unit ", except that data communication and the hard interface of collection need the processing separately, the main body of whole instrument system " processing factory " can be based upon in the common computing machine, thereby form a kind of novel high-tech product Manufacturing Models, start the brand-new situation of the cheap and good-quality instrument product of High-efficient Production in computing machine.
3, property of participation and opening.The test integration technology that the inventive method adopted greatly strengthens the pardon of virtual instrument inside, and external structure is very simple, particularly instrument can be taken formation by simple assembly, form between each control of instrument the relation and the location independent of putting to functional constraint, the function, performance and the precision that are instrument can not change with the putting position of control, and the user is easy to grasp the utilization of this quasi-instrument.Because intelligent controls-oriented virtual instrument is easy to use, good and cheap, greatly strengthened its speed of applying simultaneously.
4, fast-response.The fast-response of intelligent controls-oriented virtual instrument has the implication of two aspects: the one, to the fast-response of up-to-date science and technology, promptly the up-to-date science and technology in the world can be applied to intelligent controls-oriented virtual instrument early, and make itself and world-technology development synchronously; The 2nd, to the fast-response of the market demand, can respond user's latest requirement at once, satisfy the demand that turn of the market causes in the very first time.
5, green.The intelligent controls-oriented virtual instrument that the inventive method is produced has all characteristics of green product in the consumption of resource, the energy and to aspect the protection of ecologic environment.
Description of drawings
Be described further below in conjunction with accompanying drawing.
Accompanying drawing 1 is the process flow diagram that adopts virtual instrument smart control method construct intelligent controls-oriented virtual instrument, has described the implementation step of virtual instrument smart control method.
Fig. 2 represents instrumental function and intelligent virtual control are carried out mathematical modeling, and the synoptic diagram of algorithm for design and programming.
Fig. 3 has described the making step of intelligent virtual control.
Fig. 4 is the function endowing synoptic diagram, and expression is given test function to the corresponding site or the structure of non intelligent virtual control.Comprising a non intelligent virtual control among the figure---non intelligent virtual single-layer selector switch, it comprises 1 pointer, 1 zero-bit and 4 switch contacts, and 4 software implementation test functions to be given.
Fig. 5 is that synoptic diagram is merged in test, represents the corresponding site of non intelligent virtual control or structure through behind the function endowing, the process that functional module and control module merge again.In order to check fusion process whether to finish, must check on non intelligent virtual control corresponding site or structure, whether to carry instrumental function and satisfy performance and accuracy requirement.The non intelligent virtual control that is up to the standards after tested changes intelligent virtual control into.
Fig. 6 pieces together to take at the instrument of intelligent controls-oriented virtual instrument development system to carry out the synoptic diagram that the brick pattern assembly is taken in the field.The figure shows and from widget library, choose required intelligent virtual control and (comprise 1 intelligent virtual individual layer selector switch that contains 11 switch contacts, 1 " beginning " intelligent virtual button, 1 " stopping " intelligent virtual button, 1 intelligent virtual display control), piece together to take at instrument and carry out brick pattern in the field and piece together and take an intelligent controls-oriented virtual instrument of formation.
Gear train assembly accuracy detection and the analyzer system figure of Fig. 7 for being made of hardware instruments, system comprises testing tool and equipment such as sensor, amplifier, wave filter, data acquisition unit, storer, spectrum analyzer, computing machine.
Fig. 8 is the schematic diagram of gear train assembly accuracy detection and analyser.
Fig. 9 is the synoptic diagram that the non intelligent virtual single-layer selector switch that contains 15 switch contacts is carried out function endowing according to the principle of gear train assembly accuracy detection and analyser.Wherein the outer ring is a function program, and inner ring is selected non intelligent virtual control.
Figure 10 is the intelligent virtual rotary switch with gear train assembly accuracy detection and analyser function after finishing, and has indicated the concrete function of contained 15 switch contacts among the figure in detail.
Figure 11 takes smart control subjunctive mood gear train assembly accuracy detection and the analyser that forms for being pieced together by selected intelligent virtual control (comprising intelligent virtual control and gear train assembly accuracy detection and analyser intelligent virtual controls shown in Figure 10 such as display, print button, measurement button, channel selector switch).
Specific embodiments
According to virtual instrument smart control method of the present invention, can design and manufacture any smart control subjunctive mood measurement and control instrument.Be example now, the process that manufactures and designs of intelligent controls-oriented virtual instrument is described with gear train assembly accuracy detection and analyzer system.Gear train assembly accuracy detection and analyzer system are that a kind of measuring accuracy is very high, the dynamic accuracy of structure more complicated is measured and the analytical instrument system, are used in the laboratory, workshop or outdoor on-the-spot driving-chain to plant equipment carry out dynamic test.System generally includes testing tool and equipment (referring to accompanying drawing 7) such as sensor, amplifier, wave filter, data acquisition unit, storer, spectrum analyzer, computing machine, make that total system is not only bulky, power consumption is high, and debug difficulties, complicated operation, the error rate height causes test analysis to waste time and energy, inefficiency, be difficult to obtain satisfied result, and safeguard inconvenience, upgrading difficulty even can not realize.The price of system is very expensive in addition, resembles the instrument system shown in the accompanying drawing 7, and its total value surpasses 500,000 yuan, and as seen, it is high to implement such test cost.
The principle of gear train assembly accuracy detection and analyzer system is referring to accompanying drawing 8.From schematic diagram as can be seen, gear train assembly accuracy detection and analyzer system comprise multiple function: to the driving-chains that obtain from sensor 1 and 2 for information about, need finish amplification, shaping, differential, slicing, with frequency ratio phase, calibration, high-pass filtering, low-pass filtering, bandpass filtering, fft analysis, temporal signatures value calculate, the functions such as printing of signal demonstration and data and figure.Except sensor, early stage signal amplify, the A/D conversion be finish by hardware, all available intelligent controls-oriented virtual instrument of all the other functions is finished.Because the integration of intelligent controls-oriented virtual instrument excellence, economy and green, the gear train assembly accuracy detection that is made of hardware instruments equipment and the above-mentioned shortcoming of analyzer system are all overcome, the gear train assembly accuracy detection of corresponding smart controlization and analyzing virtual instrument system are only by sensor, be responsible for the signal conditioner of signal amplification in early stage and A/D conversion, computing machine three parts constitute, the space hold rate greatly reduces, power consumption reduces, there is not the debugging matching problem between each testing tool, operability is strengthened, easy to maintenance, testing efficiency also is improved, particularly price is cut down significantly to below 10 times, and upgrading easily.In view of this, the inventor has proposed the inventive method.Introduce gear train assembly accuracy detection and the required step of finishing of analyzing virtual instrument system of setting up smart controlization below:
1, determine the function type and the performance index of this instrument system according to schematic diagram, in respect of amplification, shaping, calibration, waveform demonstration, differential, with functions such as frequency ratio phase, filtering, frequency spectrums, each function all has corresponding work scope and accuracy requirement.Then determine required control type, in respect of rotary switch, knob, button, display etc.
2, set up the mathematical model of above-mentioned instrumental function and control.
(1), instrumental function and control carried out modularization decompose, various instrumental functions are resolved into minimum, attainable functional module; Control is also done same processing.
(2) carry out mathematical modeling at instrumental function and control after decomposing.Design the algorithm of each functional mode, the main models algorithm is as follows:
With the frequency ratio phase
Discrete Fourier transform (DFT) (DFT) X ( k ) = Σ n = 0 N - 1 x ( n ) e - j 2 πkn / N - - - - - - - ( 2 )
Filtering
Eigenwert
Figure A20031010419000144
(3) the connection rule of combination according to module carries out program composition to functional mode and control model.
3, set up non intelligent virtual control storehouse.
(1) sets up the form of the required non intelligent virtual control of 4 classes (rotary switch, knob, button, display), be compiled into the stand-alone program that can call.
(2) the non intelligent virtual control that will complete deposits in the storehouse, forms non intelligent virtual control storehouse, as the carrier of function endowing, calls during for the making intelligent virtual control.
4, set up the function storehouse, promptly finish instrument system required various functions and performance index, comprise amplification, shaping, calibration, waveform demonstration, differential, with functions such as frequency ratio phase, filtering, frequency spectrums, each function match has corresponding work scope and accuracy requirement.
5, in the intelligent controls-oriented virtual instrument development system, set up into the gear train assembly accuracy detection and the analyzing virtual instrument system of smart controlization.
(1), makes required intelligent virtual control, the intelligent virtual selector switch of comprise the intelligent virtual display of giving graphical display function, the intelligent virtual button of giving printing function, the intelligent virtual button of giving measurement function, finishing channel selecting and function selecting etc.
1), selects the non intelligent virtual control of four classes in the non intelligent virtual control storehouse: virtual rotary switch, virtual knob, virtual push button, virtual monitor.
2) finish the attribute setting of above-mentioned non intelligent virtual control, as shape, size, color, indication range or the like.
3) above-mentioned non intelligent virtual control is carried out function endowing.According to the making step of stating in the technical scheme, instrumental function is imparted in the respective action of corresponding control or the contact one by one goes.Comprise printing function is given to intelligent virtual button " pressing " action, measurement function is given to intelligent virtual button " pressing " action, graphical display function is given to the intelligent virtual display, give 2 contacts of intelligent virtual knob with the channel selecting function endowing, give 15 contacts to the intelligent virtual selector switch (referring to accompanying drawing 9 and accompanying drawing 10) various instrumental functions (amplification, shaping, calibration, waveform demonstration, differential, with frequency ratio phase, filtering, frequency spectrum etc.).
4) these controls are tested fusion, promptly these 6 intelligent virtual controls are carried out self check, whether audit function gives correctly.The normative testing that has only instrument routinely just completes after the assay was approved.
Required 6 intelligent virtual controls of 4 classes of the gear train assembly accuracy detection of smart controlization and analyzing virtual instrument system have completed like this.
(2) carry out building of gear train assembly accuracy detection and analyzing virtual instrument system.In the specific region in the intelligent controls-oriented virtual instrument development system (field is taken in assembly), select corresponding intelligent virtual control to be dragged and dropped into suitable position, form instrument system with mouse.
(3) " RUN " of selection " state " menu from the menu bar of intelligent controls-oriented virtual instrument development system, gear train assembly accuracy detection and analyzing virtual instrument system that operation is put up.
(4) from the menu bar of intelligent controls-oriented virtual instrument development system, select " preservations " menu, and the key entry filename, the gear train assembly accuracy detection of putting up and the analyzing virtual instrument system form with file can be kept in the storer.
(5) from the menu bar of intelligent controls-oriented virtual instrument development system, select " loading " menu, and key in just now filename, can be kept at gear train assembly accuracy detection and analyzing virtual instrument system in the storer be reloaded into piece together take in operation or edit.
According to above-mentioned steps, the researchist of field tests can set up the gear train assembly accuracy detection and the analyzing virtual instrument system (referring to accompanying drawing 11) of smart controlization.The manufacturing process of Other Instruments system is the same, and difference only is different instrumental function division and modeling, i.e. step 2.

Claims (4)

1, a kind of virtual instrument smart control method in order to production of intelligent control virtual instrument is characterized in that the step of method comprises:
(1) function, performance index and the intelligent virtual control form of establishment instrument object;
(2) instrumental function and intelligent virtual control are carried out modeling, modeling method comprises:
1. the function of the virtual instrument system studied and intelligent virtual control being carried out modularization decomposes;
2. functional module and the intelligent virtual control module of having decomposed are carried out mathematical modeling;
3. set up module from being dynamically connected rule of combination;
(3) foundation in non intelligent virtual control storehouse; The steps include:
1. set up the non intelligent virtual control form corresponding, comprise virtual selector switch, virtual knob, virtual push button, virtual monitor with function;
The non intelligent virtual control that 2. will complete deposits in the storehouse, and is standby as the carrier of function endowing;
(4) foundation in function storehouse, on the basis of the instrumental function mathematical model of having set up, algorithm for design and programming with the various physical function sequencing of instrument, and are concentrated and are deposited;
(5) under the Windows system, set up the intelligent controls-oriented virtual instrument development system, and in this system, finish building of virtual instrument; The steps include:
1. the making of intelligent virtual control;
2. the assembly in the intelligent controls-oriented virtual instrument development system is taken in the field, selects corresponding intelligent virtual control to be dragged and dropped into suitable position with mouse;
3. from the menu bar of intelligent controls-oriented virtual instrument development system, select the " RUN " of " state " menu, the virtual instrument that operation is put up;
4. from the menu bar of intelligent controls-oriented virtual instrument development system, select " preservations " menu, and the key entry filename, the virtual instrument put up is kept at the form of file in the storer such as hard disk;
5. from the menu bar of intelligent controls-oriented virtual instrument development system, select " loadings " menu, and key in required instrument name, be kept at virtual instrument in the storer be loaded into piece together take in operation or edit.
2, virtual instrument smart control method according to claim 1 is characterized in that: set up module in the step (2) and comprise from the rule of the combination that is dynamically connected:
(1) the connection rule of combination of message based interconnecting interface carries out communication by message between the module, interface definition the module massage set sending and receive;
(2) only relevant with message itself, how to produce irrelevantly with message, and the person of sending of message and recipient needn't know situation each other;
(3) message is divided two classes: the message of sending and the message of reception, and the former refers to that the service that provides other module required is provided for the service of asking other module to provide, the latter;
(4) each message definition a port of module, the module with complementary port just can be carried out communication by bus;
(5) complementary port refers to except the direction difference of message turnover module, and the parameter that message name, message have and the type of return results are identical.
3, virtual instrument smart control method according to claim 1 is characterized in that: the making of intelligent virtual control in the step (5) comprises:
(1) from non intelligent virtual control storehouse, chooses suitable non intelligent virtual control;
(2) the non intelligent virtual control of choosing is carried out corresponding attribute setting;
(3) the non intelligent virtual control of choosing is carried out function endowing;
(4) the non intelligent virtual control of choosing is tested fusion, just the intelligent virtual control of making is carried out self check, whether the function in the inspection control is given correct and is satisfied performance and accuracy requirement.
4, virtual instrument smart control method according to claim 3, it is characterized in that: the concrete technical step that the non intelligent virtual control of choosing is carried out function endowing is as follows:
(1) the receivable feature list of the non intelligent virtual control of receiving function chained list, and initialization;
(2) action of the non intelligent virtual control of initialization or contact tabulation;
(3) get non intelligent virtual control with right mouse button point, in the dialog box that ejects, select action or contact in corresponding control actions or the contact tabulation, selection function in the function corresponding tabulation;
(4) comparing function tabulation and control actions or contact both public attributes of tabulating, if it is identical, then the functional address in control actions or the contact tabulation is chosen out in the pairing function of action or contact that is imparted to control and go, press " giving " action button, can finish the mapping of function to action or contact;
(5) press " giving " action button, with the corresponding connection with action or contact of selected function, then selected function has been given the action or the contact of selected control, and non intelligent virtual control changes intelligent virtual control into.
CN 200310104190 2003-12-29 2003-12-29 Method for intelligent control of virtual instrument Expired - Fee Related CN1277184C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200310104190 CN1277184C (en) 2003-12-29 2003-12-29 Method for intelligent control of virtual instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200310104190 CN1277184C (en) 2003-12-29 2003-12-29 Method for intelligent control of virtual instrument

Publications (2)

Publication Number Publication Date
CN1555007A true CN1555007A (en) 2004-12-15
CN1277184C CN1277184C (en) 2006-09-27

Family

ID=34333492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200310104190 Expired - Fee Related CN1277184C (en) 2003-12-29 2003-12-29 Method for intelligent control of virtual instrument

Country Status (1)

Country Link
CN (1) CN1277184C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100514287C (en) * 2006-10-11 2009-07-15 秦树人 Large-scale virtual base for test instruments, and forming method
CN103049954A (en) * 2012-12-27 2013-04-17 福州福大自动化科技有限公司 Graphic control strategy configuration method for door control system
CN109714212A (en) * 2018-12-29 2019-05-03 上海仪电物联技术股份有限公司 A kind of method and system of dynamic construction visual instrument
CN110781103A (en) * 2019-11-05 2020-02-11 中电科仪器仪表有限公司 PXI bus switch module control system and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100514287C (en) * 2006-10-11 2009-07-15 秦树人 Large-scale virtual base for test instruments, and forming method
CN103049954A (en) * 2012-12-27 2013-04-17 福州福大自动化科技有限公司 Graphic control strategy configuration method for door control system
CN109714212A (en) * 2018-12-29 2019-05-03 上海仪电物联技术股份有限公司 A kind of method and system of dynamic construction visual instrument
CN109714212B (en) * 2018-12-29 2022-02-08 上海仪电物联技术股份有限公司 Method and system for dynamically constructing virtual instrument
CN110781103A (en) * 2019-11-05 2020-02-11 中电科仪器仪表有限公司 PXI bus switch module control system and method
CN110781103B (en) * 2019-11-05 2022-02-15 中电科思仪科技股份有限公司 PXI bus switch module control system and method

Also Published As

Publication number Publication date
CN1277184C (en) 2006-09-27

Similar Documents

Publication Publication Date Title
CN110543860B (en) Mechanical fault diagnosis method and system based on TJM (machine learning model) transfer learning
US20040168107A1 (en) Graphical feedback of disparities in target designs in graphical development environment
CN102214261B (en) Method for automatic check of process data of printed circuit board
TWI518310B (en) Method for determining the precision of gears
CN109933851B (en) Bench endurance test data processing and analyzing method
CN1277184C (en) Method for intelligent control of virtual instrument
CN102433911B (en) Online fault diagnosis system and method for excavator
CN1802657A (en) Method and system for the automatic design of experiments
CN106933572B (en) Measurement model based on LLVM intermediate representation program slice
CN103473349A (en) Three-dimensional presentation method and device for testing data of wireless network
CN110412967B (en) Industrial production line fault diagnosis system and method
CN1750048A (en) Digital figure automobile instrument
CN100343801C (en) Method for producing intelligent virtual display
CN107341300A (en) The design method and device of transmission system
CN1712972A (en) Realizing method for digital fluorescent corrugated image sensor
CN105372517A (en) An electrical system modeling method and an electrical system fault diagnosis system based on a qualitative model
CN103868689B (en) Vibration frequency analysis-based gear defect rapid detection system and method
Voudoukis Arduino Based Embedded System and Remote Access Technologies of Environmental Variables Monitoring
CN110553723B (en) Vibration signal processing system and method
CN106502886A (en) Low-power consumption bluetooth test system based on TCL
CN106338747A (en) Lock-losing recapturing test method based on multi-mode multi-band OEM board card
CN110487314A (en) A kind of gauge pointer automatic testing method
CN100514287C (en) Large-scale virtual base for test instruments, and forming method
CN1258077C (en) Intelligent frequency system with steel string sensor
US20020178402A1 (en) System and method for software diagnosis

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
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee