Jump to content
Sign in to follow this  
prebone

Use UDFB more then once

Recommended Posts

Hi! I've made a Function that calculates flow to quantity a day. I want to use this as a UDFB several times, for all of my flowmeters (30), but only the first of them gives an output-value??

Can't a UDFB only be used more than once?

Share this post


Link to post
Share on other sites

The whole point of a Function/UDFB is to be used more than once with different parameters.

For it to work, you should avoid the use of Global tags in the UDFB if those Global tags are needed to be different on each call (You should rather define them as Function-In/Out and pass them as a parameter).

 

Without seeing your code, I cannot know what you are trying to do, or what you are doing wrong.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...