安徽理工大学毕业设计外文翻译共25页第1页NationalInstrumentsLabVIEW:AProgrammingEnvironmentforLaboratoryAutomationandMeasurement.NationalInstrumentsLabVIEWisagraphicalprogramminglanguagethathasitsrootsinautomationcontrolanddataacquisition.Itsgraphicalrepresentation,similartoaprocessflowdiagram,wascreatedtoprovideanintuitiveprogrammingenvironmentforscientistsandengineers.Thelanguagehasmaturedoverthelast20yearstobecomeageneralpurposeprogrammingenvironment.LabVIEWhasseveralkeyfeatureswhichmakeitagoodchoiceinanautomationenvironment.Theseincludesimplenetworkcommunication,turnkeyimplementationofcommoncommunicationprotocols(RS232,GPIB,etc.),powerfultoolsetsforprocesscontrolanddatafitting,fastandeasyuserinterfaceconstruction,andanefficientcodeexecutionenvironment.Wediscussthemeritsofthelanguageandprovideanexampleapplicationsuitewrittenin-housewhichisusedinintegratingandcontrollingautomationplatforms.Keywords:NILabVIEW;graphicalprogramming;systemintegration;instrumentcontrol;componentbasedarchitecture;robotics;automation;staticscheduling;dynamicscheduling;database.IntroductionCytokineticsisabiopharmaceuticalcompanyfocusedonthediscoveryofsmallmoleculetherapeuticsthattargetthecytoskeleton.Sinceinceptionwehavedevelopedarobusttechnologyinfrastructuretosupportourdrugdiscoveryefforts.Theinfrastructureprovidescapacitytoscreenmillionsofcompoundsperyearintestsrangingfrommultiproteinbiochemicalassaysthatmimicbiologicalfunctionto安徽理工大学毕业设计外文翻译共25页第2页automatedimage-basedcellularassayswithphenotypicreadouts.Therequirementsforprocessingthesenumbersanddiversityofassayshavemandateddeploymentofmultipleintegratedautomationsystems.Forexample,wehaveseveralplatformsforbiochemicalscreening,systemsforlivecellprocessing,automatedmicroscopysystems,andanautomatedcompoundstorageandretrievalsystem.Eachin-houseintegratedsystemisdesignedaroundaroboticarmandcontainsanoptimalsetofplate-processingperipherals(suchaspipettingdevices,platereaders,andcarousels)dependingonitsintendedrangeofuse.Tocreatethemostflexible,highperformance,andcost-effectivesystems,wehavetakentheapproachofbuildingourownsystemsin-house.Thishasgivenustheabilitytointegratethemostappropriatehardwareandsoftwaresolutionsregardlessofwhethertheyarepurchasedfromavendororengineereddenovo,andhencewecanrapidlymodifysystemsasassayrequirementschange.Tomaximizeplatformconsistencyandmodularity,eachofour10automatedplatformsiscontrolledbyacommon,distributedapplicationsuitethatwedevelopedusingNationalInstruments(NI)LabVIEW.Thisapplicationsuitedescribedindetailbelow,enablesourenduserstocreateandmanagetheirownprocessmodels(assayscripts)inacommonmodelingenvironment,tousetheseprocessmodelsonanyautomationsystemwiththerequireddevices,andallowseasyandrapiddevicereconfiguration.TheplatformissupportedbyacentralOracledatabaseandcanruneitherstaticallyordynamicallyscheduledprocesses.NILabVIEWBackgroundLabVIEW,whichstandsforLaboratoryVirtualInstrumentationEngineeringWorkbenchisagraphicalprogramminglanguagefirstreleasedin1986byNationalInstruments(Austin,TX).LabVIEWimplementsadataflowparadigminwhichthe安徽理工大学毕业设计外文翻译共25页第3页codeisnotwritten,butratherdrawnorrepresentedgraphicallysimilartoaflowchartdiagramProgramexecutionfollowsconnectorwireslinkingprocessingnodestogether.Eachfunctionorroutineisstoredasavirtualinstrument(VI)havingthreemaincomponents:thefrontpanelwhichisessentiallyaformcontaininginputsandcontrolsandcanbedisplayedatruntime,ablockdiagramwherethecodeiseditedandrepresentedgraphically,andaconnectorpanewhichservesasaninterfacetotheVIwhenitisimbeddedasasub-VI.Figure1.ExampleNILabVIEWVI.安徽理工大学毕业设计外文翻译共25页第4页Thetoppanel(A)showsthefrontpaneloftheVI.Inputdataarepassedthrough“Controls”whichareshowntotheleft.Includedherearenumberinputs,afilepathbox,andageneralerrorpropagationcluster.WhentheVIruns,the“Indicator”outputsontherightofthepanelarepopulatedwithoutputdata.Inthisexample,dataincludenumbers(bothasscalarandarray),agraph,andtheoutputoftheerrorcluster.Inthebottompanel(B)theblockdiagramfortheVIisshown.Theoutercasestructureexecutesinthe“NoError”case(VIscanmakeinternalerrorsorifcalledasasub-VIthecallermaypropagateanerrorthroughtheconnectorpane).Unlikemostprogramminglanguages,LabVIEWcompilescodeasitiscreatedtherebyprovidingimmediatesyntacticandsemanticfeedbackandreducingthetimerequiredfordevelopmentandtesting.2WritingcodeisassimpleasdragginganddroppingfunctionsorVIsfromafunctionspaletteontotheblockdiagramwithinprocessstructures(suchasForLoops,orCaseStructures)andwiringterminals(passinginputvalues,orreferences).Unittestingissimplifiedbecauseeachfunctionisseparatelyencapsulated;inputvaluescanbesetdirectlyonthefrontpanelwithouthavingtotestthecontainingmoduleorcreateaseparatetestharness.Thefunctionsthatgeneratedatatakecareofmanagingthestorageforthedata.NILabVIEWsupportsmultithreadedapplicationdesignandexecutescodeinaninherentlyparallelratherthansequentialmanner;assoonasafunctionorsub-VIreceivesallofitsrequiredinputs,itcanbeginexecution.InFigure1b,allthesub-VIsreceivethearrayinputsimultaneouslyassoonastheForLoopiscomplete,andthustheyexecu