0
Under review

QCode Type Mismatch with External Function

Joe 2 months ago in IQANdesign updated by Gustav Widén (System support) 1 month ago 2

Can anyone explain why this is happening? It appears to be random as I can sometimes get the error to go away by changing something unrelated in the external function and saving it.

Error in Program:

No Error in External Function:

Deleting the External Function reference to convert them to standard function groups causes the errors to go away.

Under review

One way to get a value type mismatch is if you change the value type of one of your FGI:s after writing the Qcode. 

But in the example here, the value types match. Also, such a value type mismatch would be detected by the project check already when editing the external function.


In this case, I am guessing that the mismatch might have occurred in the instance of the external function, after editing the external function the instance somehow hasn't updated as it should. 

I believe that if you were to add another instance of the external function, that wouldn't have the error. 

Investigating.