QCode Type Mismatch with External Function

Joe 5 years ago in IQANdesign updated by Gustav Widén (System support) 3 years ago 3

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:

Image 1795

No Error in External Function:

Image 1796

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. 



This was fixed in 6.01, ref release notes case 49393.