VI Launcher LabVIEW工具集用户指南.pdfVIP

  • 1
  • 0
  • 约2.06万字
  • 约 16页
  • 2026-01-20 发布于北京
  • 举报

1介绍

VILauncherLabVIEW工具包简化了动态启动VI并可选地向其传输启动数据的任务。动态启动是

指在运行时运行一个VI,与在编辑时定义的静态VI(例如,放置在框图上的普通子VI)相反。

VILauncher的特点包括:

▪此工具包允许您打开一个VI,设置输入数据,最后运行该动态VI——您可以选择将

其分为两次独立操作或在单个函数调用中完成。▪了两种不同的输入数据方法:通常

的方法是在实际运行动态VI之前通过VI服务器在某些前面板控件中设置值,以及另法,

可以将数据直接传输到框图代码,而无需通过前面板。▪关闭函数可选地在关闭VI引

用前等待动态VI结束执行。如果VI仍在运行且超时发生时,还了一个在关闭前终止

动态VI的选项。▪要运行的动态VI可以通过路径或VI指定。▪使用此工具包相比内置

方法,更简单地选择动态VI应作为非重入实例还是重入实例运行。▪工具包自动处理许多经

常被忽略的情况,例如在打开VI后,如果运行方法失败,则记住关闭已打开的VI。

此工具包是为LabVIEW2012开发的,并且与更旧和更新的版本兼容。有关使用条款,请参阅第5节

“”。

1Introduction

TheVILauncherLabVIEWtoolsetsimplifiesthetaskoflaunchingaVIdynamicallyandoptionally

transferringstartupdatatoit.DynamiclaunchingistheprocesswhereyourunaVIdefinedatruntime,

contrarytoastaticVIdefinedatedit-time(e.g.anordinarysubVIdroppedontheblockdiagram).VI

Launcherfeatures:

▪ThistoolsetletsyouopenaVIreference,setupinputdatato,andfinallyrunthatdynamicVI–

allineithertwoseparateoperationsorinasinglefunctioncallifyouprefer.

▪Twodifferentmethodsofinputtingdataareoffered:theusualmethodwhereyousetupvalues

insomefrontpanelcontrolswithVIServerpriortoactuallyrunningthedynamicVI,aswellas

analternativemethodthatletsyoutransferdatadirectlytotheblockdiagramcodewithout

goingthroughthefrontpanelatall.

▪TheClosefunctionoptionallyletsyouwaitforthedynamicVItoendexecutionbeforeclosing

theVIreference.ThisalsocomeswithanoptionofabortingthedynamicVIbeforethe

referenceisclosed,iftheVIisstillrunningwhenthetimeoutoccurs.

▪ThedynamicVItoruncanbespecifiedbyeitherpathorbyVI

文档评论(0)

1亿VIP精品文档

相关文档