Modern->Numeric->NumericControl.-Rightclickthe"NumericControl"andselectpr"/> Modern->Numer"/>
首页 > 怎么在labview界面上做动图(1)

怎么在labview界面上做动图(1)

2022-08-18 4页 doc 15KB 18阅读

用户头像

is_654168

暂无简介

举报
怎么在labview界面上做动图(1)HowtoeditadynamicimagechangeonlabviewQuestion:IwanttheimagetochangewhenIclickonabuttononthelabviewinterface.HowcanIachievethis?Answer:IntheFrontPanel-Createa"NumericControl": Rightclick->Modern->Numeric->NumericControl.-Rightclickthe"NumericControl"andselectproperti...
怎么在labview界面上做动图(1)
HowtoeditadynamicimagechangeonlabviewQuestion:IwanttheimagetochangewhenIclickonabuttononthelabviewinterface.HowcanIachievethis?Answer:IntheFrontPanel-Createa"NumericControl": Rightclick->Modern->Numeric->NumericControl.-Rightclickthe"NumericControl"andselectproperties.-Check“Visible”andgivealabelstartingby@_tokeepcontrolofthevaluewhilerunning.(Whennosignalisassignedtoablock,itisblockedontheinterfaceunlessthereisthe@_initsname)Formoreinformationaboutthe@_,clickhere-Clickok.-Createa"PictRing": Rightclick->Modern->Ring/Enum->PictRing.-Rightclicktheblockandselect“changetoindicator”.IntheBlockDiagram-Createa"WhileLoop": Rightclick->Programming->Structures->WhileLoop.-Rightclickonthereddotonbottomrightofthewhileandclick“Createconstant”.-Createan"EventStructure".-Rightclick->Programming->Structures->EventStructure.-Rightclickonitslabelandselect“EditEventsHandledbythiscase”.In“EventSource”selectthe"NumericControl"withthename@_In“Events”select“ValueChange”-Inthe"EventStructure",link“NewVal”withtheRingyoucreatedbeforeExampleoftheBlockDiagram:BacktotheFrontPanel-Draganddropthepicturesintheringintheorderyouwantthemtoappear. ExampleoftheFrontPanel:Then,byrunningthemodel,youshouldbeabletochangetheimageontherightbyclickingonthebuttonontheleft.KB_Pic2.pngKB_Pic1.pngBasic_Picture_Changer.vi
/
本文档为【怎么在labview界面上做动图(1)】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
热门搜索

历史搜索

    清空历史搜索