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
(4,186 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
(4,182 Views)

Hi Gerd,

 

What is the course title?  Thank you.

 

Regards,

 

Qing

0 Kudos
Message 3 of 9
(4,175 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
(4,166 Views)

I could not find contents on 'Function Block'

0 Kudos
Message 5 of 9
(4,150 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
(4,146 Views)
Solution
Accepted by qing_shan61

Assuming you are referring to these specifically...

http://www.ni.com/white-paper/7339/en/

...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
(4,073 Views)

Hi SmithD,

 

Thank you.  You answered me. 

 

Regards,

 

Qing

0 Kudos
Message 9 of 9
(4,032 Views)