虚拟仪器外文翻译Word文档格式.docx
《虚拟仪器外文翻译Word文档格式.docx》由会员分享,可在线阅读,更多相关《虚拟仪器外文翻译Word文档格式.docx(19页珍藏版)》请在冰豆网上搜索。
1.overview
LabVIEWisaprogramdevelopmentenvironment,bythenationalinstruments(NI)researchanddevelopmentcompany,similartotheCandBASICdevelopmentenvironment,butwithothercomputerlanguageLabVIEWsignificantdifferenceis:
othercomputerlanguageisbasedonthetext,andthelanguagecodeofgraphicalLabVIEWusescriptinglanguageGprogram,applicationisintheformofblockdiagram.
Acomplete,LabVIEWvirtualinstrumentsystemofopenapplicationsoftwaredevelopment,anduseittoforminstrumenttestingsystemanddatacollectingsystemcansimplifythedesignprocedure.WithVisualC++LabVIEW,VisualBasic,LabWindows/CVI,etc,whichadoptsdifferentprogramminglanguageisbasedonthetextlanguageprogramCode(Code),andabVIEWLisusinggraphicalprogramminglanguage),Graphic(GinsteadofthetraditionaldiagramoftheCode.TheLabVIEWofequipmentwiththescientistsandengineersiconinthehabitofbasicagreement,thismakestheiconprogrammingprocessandthinkingprocessisverysimilar.
LabVIEWconvenientcallsWindowsDLLanduser-definedfunctionintheDLL,LabVIEWalsoprovidesCIN(C)NodewithanyuserscanusebyC++languageor,iftheANSIC,compiledprogrammodules,makesaopenLabVIEWdevelopmentplatform.LabVIEWalsodirectlysupportdynamicdataexchange(DDE),structuredquerylanguage(SQL),TCPandUDPnetworkprotocol.Inaddition,theLabVIEWalsoprovidesspecialusedforprogramdevelopmentkit,userscaneasilysetbreakpoints,dynamicprogramexecutiontoveryintuitiveimageobservationdatatransmissionprocess,andconvenientdebug.
TheoperationmechanismisLabVIEWmacroeconomicsenseisnolongerthevonneumanntraditionallycomputersystemstructureofthemethod.Thetraditionalcomputerlanguage(suchasC)totheorderofexecutionbyparallelstructureinLabVIEWmechanism;
Essentially,itisakindofcontrolFlowstructurewithgraphicalDataFlowpattern(DataFlowMode),thiskindofmeanstoensuretheprocessofanyNodeFunctioninhirethoseknowledgeableprogrammersonlyafterallitcanonlybeexecutedData.
Thatistosay,inthedataflowintheconceptofprogramexecution,anditisthedatadrivenbyoperatingsystem,calculatemachineandsoon.
SinceLabVIEWprogramisdataflowdriven,dataflowdesignprogram,agoalonlywhenit'
sallinputcanonlybeeffective,Andthegoalofoutputonlywhenitiscomplete.So,inVIEWoftheLabisconnectedthedataflowbetweennodesfunctioncontrolprogramexecutionsequence,anddon'
tliketextprogramexecutionsequencebyrowsofconstraint.Thus,wecanbeconnectedthroughtherapiddevelopmentofconcisefunctionnodeapplications,evencanhavemultipledatasynchronizationoperationchannel,theso-calledMultithreading(Multithreading).
2.DataStorageandReportingwithNILabVIEW
Thecontinuedincreaseinprocessingandstoragecapacityandthedecreaseofhardwareandsoftwarecostshasresultedinanexplosionofcollecteddatabeingacquired.Butwhiletechnologyisenablingfasterandricherdataretention,storing,managing,andsharingdataremainstherealchallenge.Traditionalsoftwarepackagestendtotakeoneoftwolimitingapproaches:
1)theyforceyouintoaparticularformatthatisnotexchangeablewithotherapplicationsorusersor2)savingdataisleftsoopenendedyouwastetimetryingtodeterminethebestwaytoorganizeandsaveyourdatatodisksoyoucanshareit.
NILabVIEW,designedfortheentireengineeringprocess,includesbuilt-infunctionalitytohelpyoueasilysavedatatodiskandcreateprofessionalreports.ByprovidingeasyyetrobustinterfacesforfileI/Oandreporting,youcanmakethemostofyouracquireddatatomakedecisionsfaster.
(1)FileI/ODesignedSpecificallyforEngineeringData
DespitethefactthatLabVIEWoffersawidevarietyoffileI/Ooptions,thesetraditionalfiletypesrarelymeetallthecriteriayouneedinafileformat.Forexample,ASCIIfilesareexchangeable,butareverylargeandslowtoreadandwrite.Ontheotherhand,binaryfilereadandwritespeedscankeepupwithhigh-speedhardware,butaredifficulttosharewithothers.
Becauseofthedrawbacksoftraditional
fileI/O,NationalInstrumentsdevelopedtheTechnicalDataManagementStreaming(TDMS)fileformattomeetthespecificneedsandhighdemandsofengineersandscientists.TDMSfilesarebasedontheTDMdatamodelforsavingwell-organizedanddocumentedtestandmeasurementdata.TheTDMdatamodeloffersthreelevelsofhierarchy,asshowninFigure2–file,group,andchannel.Thefilelevelcancontainanunlimitednumberofgroups,andeachgroupcancontainandunlimitednumberofchannels.Becauseofthischannelgrouping,youcanorganizeyourdatatomakeiteasiertounderstand.Forexample,youmayhaveonegroupforyourrawdataandanothergroupforyour