Error_ExpressionEval word bit

Hello,

I have a word bit that I'm trying to access, so I have getBit({[default]ABC/XYZ_2_},0)

but I get Error_ExpressionEval, not sure why.

Is your tag value Null? While in the expression editor you can hover over the error and it normally gives you some more information. What does it say when you hover over the error?

Is {[default]ABC/XYZ_2_} a numeric tag? (getBit() only works on numbers.)

You can check by changing it to typeOf({[default]ABC/XYZ_2_}) and look at the Binding Preview.

Value is "bad" so I guess that's why! Thanks

Where would you hover to get more information? I hovered over the textbox in designer, client, and also checked the gateway logs. Nothing showed up.

My window looks a little different, where are you seeing this?

Ah, you are in Vision, and they haven't brought over the expression binding preview functionality from Perspective yet.

Ah bummer, it's a nice feature.

I'll try again once the tag is not null. Thank you @ryan.white and @Transistor

You can create a memory tag for testing and set it to null or any other value for testing.

1 Like