0

Input arguments in external functions

lbartik 9 months ago in IQANdesign updated by Gustav Widén (System support) 8 months ago 2

How can we pass arguments to external functions (use non-external channels within external functions)?   I cannot find a way to use FGI or public channel scope to create inputs for external functions.  I figured out VDINs can be used in external functions, what about other data types?  How would I create an external function that reacts to an IDC or manipulates integer data?

Image 3815

I answered my own question.  Use Function Group Inputs and ignore the errors generated in the External Function (IDEX) editor.  You can still assign inputs to the FGI's after deploying the External Function in a project and remedy the errors there.

This is OK in IDEX:

Image 3822

If you want to get rid of the error when editing the .idex, you can type in a default value on the FGI input property.