Data Type Member

I suppose there’s something wrong with Strings parameters in expressions in UDTs.
I’ve created a Custom Data Type tag with an Expression Tag inside, giving this Expression:


where MyVar is an UDT parameter

Now, if MyVar is a Integer, it works great.
If it’s a String, Ignition gives me an Evaluation error. :frowning:

I’ve tried also




but it doesn’t work…
Any suggestion?

It looks like UDTs are slightly different in how they evaluate expressions (using Ignition 7.6.6). As a work around you could try using this:


IT WORKS :thumb_right:
Thank you!