一种实验室自动化和测量的编程环境.docx

上传人:b****4 文档编号:6151359 上传时间:2023-05-09 格式:DOCX 页数:17 大小:40.56KB
下载 相关 举报
一种实验室自动化和测量的编程环境.docx_第1页
第1页 / 共17页
一种实验室自动化和测量的编程环境.docx_第2页
第2页 / 共17页
一种实验室自动化和测量的编程环境.docx_第3页
第3页 / 共17页
一种实验室自动化和测量的编程环境.docx_第4页
第4页 / 共17页
一种实验室自动化和测量的编程环境.docx_第5页
第5页 / 共17页
一种实验室自动化和测量的编程环境.docx_第6页
第6页 / 共17页
一种实验室自动化和测量的编程环境.docx_第7页
第7页 / 共17页
一种实验室自动化和测量的编程环境.docx_第8页
第8页 / 共17页
一种实验室自动化和测量的编程环境.docx_第9页
第9页 / 共17页
一种实验室自动化和测量的编程环境.docx_第10页
第10页 / 共17页
一种实验室自动化和测量的编程环境.docx_第11页
第11页 / 共17页
一种实验室自动化和测量的编程环境.docx_第12页
第12页 / 共17页
一种实验室自动化和测量的编程环境.docx_第13页
第13页 / 共17页
一种实验室自动化和测量的编程环境.docx_第14页
第14页 / 共17页
一种实验室自动化和测量的编程环境.docx_第15页
第15页 / 共17页
一种实验室自动化和测量的编程环境.docx_第16页
第16页 / 共17页
一种实验室自动化和测量的编程环境.docx_第17页
第17页 / 共17页
亲,该文档总共17页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

一种实验室自动化和测量的编程环境.docx

《一种实验室自动化和测量的编程环境.docx》由会员分享,可在线阅读,更多相关《一种实验室自动化和测量的编程环境.docx(17页珍藏版)》请在冰点文库上搜索。

一种实验室自动化和测量的编程环境.docx

一种实验室自动化和测量的编程环境

 

毕业论文说明书

外文文献及翻译

 

NationalInstrumentsLabVIEW:

AProgrammingEnvironmentforLaboratoryAutomationandMeasurement

Abstract:

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

 

1Introduction

Cytokineticsisabiopharmaceuticalcompanyfocusedonthediscoveryofsmallmoleculetherapeuticsthattargetthecytoskeleton.Sinceinceptionwehavedevelopedarobusttechnologyinfrastructuretosupportourdrugdiscoveryefforts.Theinfrastructureprovidescapacitytoscreenmillionsofcompoundsperyearintestsrangingfrommultiproteinbiochemicalassaysthatmimicbiologicalfunctiontoautomatedimage-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.

1.1NILabVIEWBackground

LabVIEW,whichstandsforLaboratoryVirtualInstrumentationEngineeringWorkbenchisagraphicalprogramminglanguagefirstreleasedin1986byNationalInstruments(Austin,TX).LabVIEWimplementsadataflowparadigminwhichthecodeisnotwritten,butratherdrawnorrepresentedgraphicallysimilartoaflowchartdiagramProgramexecutionfollowsconnectorwireslinkingprocessingnodestogether.Eachfunctionorroutineisstoredasavirtualinstrument(VI)havingthreemaincomponents:

thefrontpanelwhichisessentiallyaformcontaininginputsandcontrolsandcanbedisplayedatruntime,ablockdiagramwherethecodeiseditedandrepresentedgraphically,andaconnectorpanewhichservesasaninterfacetotheVIwhenitisimbeddedasasub-VI.

Figure 1. ExampleNILabVIEWVI.

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.InFigure 1b,allthesub-VIsreceivethearrayinputsimultaneouslyassoonastheForLoopiscomplete,andthustheyexecuteinparallel.Thisisuniquefromatypicaltext-basedenvironmentwherethecontrolflowslinebylinewithinafunction.Whensequentialexecutionisrequired,controlflowcanbeenforcedbyuseofstructuressuchasSequences,Events,orbychainingsub-VIswhereoutputdatafromoneVIispassedtotheinputofthenextVI.

Similartomostprogramminglanguages,LabVIEWsupportsallcommondatatypessuchasintegers,floats,strings,andclusters(structures)andcanreadilyinterfacewithexternallibraries,ActiveXcomponents,and.NETframework.AsshowninFigure 1b,eachdatatypeisgraphicallyrepresentedbywiresofdifferentcolorsandthickness.LabVIEWalsosupportscommonconfigurationmanagementapplicationssuchasVisualSourceSafemakingmultideveloperprojectsreasonabletomanage.ApplicationsmaybecompiledasexecutablesorasDynamicLinkLibraries(DLLs)thatexecuteusingarun-timeenginesimilartotheJavaRuntimeEnvironment.Thedevelopmentenvironmentprovidesavarietyofdebuggingtoolssuchasbreak-points,trace(trace),andsingle-step.ApplicationscanbedevelopedusingavarietyofdesignpatternssuchasClient-Server,Consumer-Producer,andState-Machine.TherearealsoUML(UnifiedModelingLanguage)modelingtoolsthatallowautomatedgenerationofcodefromUMLdiagramsandstatediagrams.

Overtheyears,LabVIEWhasmaturedintoageneralpurposeprogramminglanguagewithawideruserbase.

 

 

2LabVIEWasaPlatformforAutomationandInstrumentation

OurexperiencecreatingbenchtopinstrumentationandintegratedautomationsystemshasvalidatedourchoiceofLabVIEWasanappropriatetool.LabVIEWenablesrapiddevelopmentoffunctionallyrichapplicationsappropriateforbothbenchtopapplicationsandlargerintegratedsystems.Onmanyoccasionswehavefoundthatprojectrequirementsareinitiallyilldefinedorchangeasnewmeasurementsornewassaysaredeveloped..Thereareseveralkeyfeaturesofthelanguagethatmakeitparticularlyusefulinanautomationenvironmentforcreatingapplicationstocontrolandintegrateinstrumentation,manageprocessflow,andenabledataacquisition.

2.1TurnkeyMeasurementandControlFunction

LabVIEWwasoriginallydevelopedforscientistsandengineers.ThelanguageincludesarichsetofprocesscontrolanddataanalysisfunctionsaswellasCOM,.NET,andsharedDLLsupport.Outofthebox,itprovidesturnkeysolutionstoavarietyofcommunicationprotocolsincludingRS232,GPIB,andTCP/IP.ControlstructuressuchastimedWhileLoopsallowsynchronizedandtimeddataacquisitionfromavarietyofhardwareinterfacessuchasPCI,USB,andPXI.

2.2DataSocketandVIServer

Deploymentofanintegratedsystemwithmultiplecontrolcomputersrequirestheautomationcontrolapplicationtocommunicateremotelywithinstrumentdriversexistingonremotecomputers.LabVIEWsupportsadistributedarchitecturebyvirtueofenablingseamlessnetworkcommunicationthroughtechnologiessuchasVIServerandDSTP(datasocketstransferprotocol).DSTPisanapplicationlayerprotocolsimilartohttpbasedonTransmissionControlProtocol/InternetProtocol(TCP/IP).Datasocketsalloweasytransferofdatabetweenremotecomputerswithbasicreadandwritefunctions.ThroughVIservertechnology,functioncallscanbemadetoVIsresidingonremotecomputersasthoughtheyareresidingonthelocalcomputer.BothDatasocketsandVIservercanbeconfiguredtocontrolaccessesprivileges.

2.3SimpleUserInterface(UI)Implementation

Inadditiontocommoninterfacecontrolssuchastextboxes,menurings,andcheck-boxes,LabVIEWprovidesarichsetofUIcontrols(switches,LEDs,gauges,arraycontrols,etc.)thatarepertinenttolaboratoryequipment.ThesehavetheiroriginsinLabVIEWslaboratoryrootsandhelpindevelopmentofinterfaceswhichgivescientistsaclearunderstandingofasystem'sstate.LabVIEWsupportsUIconceptsincludingsubpanels(similartotheMultipleDocumentInterface),splitterbars,andXControls(analogoustoOCXcontrols).

2.

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 自然科学 > 物理

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2