0
Answered

Invalid context when upgrading IQANdesign 5.03 to 5.04

mdonaldson 1 month ago in IQANdesign • updated by Gustav Widén (System support) 2 weeks ago 4

When I upgraded to IQANDesign 5.04 from 5.03 my project now has 1183 errors, with 99% of them being 'Invalid Context'. I can't seem to find a pattern as to what is wrong with particular snips of code.

Here is one example.

GOOD, I'M SATISFIED
Satisfaction mark by mdonaldson 1 month ago

I think I found my problem in the revison notes.

 47445Limit channel scope in external functions
 Channels with public scope in external functions are no longer available outside the external function. To expose channels outside the external function, function group output must be used.
Answered

Yes, it is the change in case 47445.  When upgrading to 5.04, the project check will say Invalid context for channels in external function groups that was used as public scope in the main project. 

Any chance of getting this to be optionally disabled?

No, you can disable Warnings and Hints, but not Errors. 

If we had kept it as it was before fixing this, there would have been too much of a risk of just delaying the problem until the external function was updated.