cancel
Showing results for 
Search instead for 
Did you mean: 

How to write a function block?

SOLVED
qing_shan61
Member
Solved!

How to write a function block?

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?

8 REPLIES 8
GerdW
Knight of NI

Re: How to write a function block?

Message contains a hyperlink

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
qing_shan61
Member

Re: How to write a function block?

Hi Gerd,

 

What is the course title?  Thank you.

 

Regards,

 

Qing

Highlighted
GerdW
Knight of NI

Re: How to write a function block?

Hi Qing,

 

use the second link and go through them all…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
qing_shan61
Member

Re: How to write a function block?

I could not find contents on 'Function Block'

GerdW
Knight of NI

Re: How to write a function block?

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
Hooovahh
Proven Zealot
smithd
Active Participant
Solution

Re: How to write a function block?

Message contains a hyperlink

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.

qing_shan61
Member

Re: How to write a function block?

Hi SmithD,

 

Thank you.  You answered me. 

 

Regards,

 

Qing