当前位置:网站首页>LABVIEW_ Classroom notes random (XIII) sub VI

LABVIEW_ Classroom notes random (XIII) sub VI

2022-06-10 01:56:00 Ajie sends code online

Catalog

Son VI

Son VI Create examples  


Son VI

Create a child VI 

LabVIEW The son of VI Similar to functions in text programming languages . If in LabVIEW Do not use subkeys in VI, It's like not using functions in a text programming language , It's impossible to build large programs .

In fact, any VI Itself can be used as a child VI By other VI call , Just need to be in ordinary VI It's just two more simple steps on the basis of : Define connection terminals and icons .

Son VI Create examples  

Step one : Create a new one VI 

Step two : Edit child VI Icon  

Step three : Establish connection terminals  

Step four : Keep it VI

Step five : Son VI Of call , Compare Simple , Just like other function calls in the function panel

Example :

Start packaging

1、 Define connection terminals ( Determine how many I / O terminals there are )

for example , We confirm that the input and output terminals share 3 individual , So select this box

2、 OK Icon  

Delete the default icon first , Draw our own

How to call

Homework  

 

  

原网站

版权声明
本文为[Ajie sends code online]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206100134198694.html