LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write a function block?

Solved!
Go to solution

Hi There,

 

Does anybody know how to write a function block with LabVIEW?  Something like those in Real-Time VIs>>Function Blocks>>.

 

Thank you very much in advance?

0 Kudos
Message 1 of 9
(6,426 Views)

Hi qing,

 

seems you need to go through all those free LabVIEW beginner courses offered by NI.com!

 

Start here: www.learnni.com or here

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(6,422 Views)

Hi Gerd,

 

What is the course title?  Thank you.

 

Regards,

 

Qing

0 Kudos
Message 3 of 9
(6,415 Views)

Hi Qing,

 

use the second link and go through them all…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 9
(6,406 Views)

I could not find contents on 'Function Block'

0 Kudos
Message 5 of 9
(6,390 Views)

Second link in message #2: first chapter on "Environment basics", paragraph on "subVIs"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 9
(6,386 Views)
Solution
Accepted by topic author qing_shan61

Assuming you are referring to these specifically...

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YG50CAG&l=en-US

...then the answer is that it is nearly impossible to make a new one. However, there is really nothing all that special about them. They are essentially normal subVIs (which you can learn about from the other links) that just happen to have certain terminals bound to shared variables. I personally wouldn't normally recommend that anyway. If you could clarify what specifically you are trying to make, it could be possible to give more targeted advice.

Message 8 of 9
(6,313 Views)

Hi SmithD,

 

Thank you.  You answered me. 

 

Regards,

 

Qing

0 Kudos
Message 9 of 9
(6,272 Views)