07-07-2021 01:08 PM
Hi All,
I have a dialog window in LV which should contain an ExpressionEdit ActiveX Control.
The user must be able to check if an expression is valid. In my particular case the control must evaluate an expression as Boolean. For this purpose i use ExpressionEdit.SetValidEvaluationTypes method and PropValTypeFlag_Boolean (see vi attached). But the problem is that any expression passes an error check 😞
Any Idea what could go wrong here?
Best regards,
Roman
Solved! Go to Solution.
07-07-2021 07:32 PM
ExpressionEdit.ErrorCheck
Use the following constants with this data type:
That needs to be set to 2 for your ExpressionEdit box. Otherwise it won't check the type. You can do it through a property node or you can right click on the control in LabVIEW and go to ExpressionEdit>>Properties... then change the ErrorChecking tab.
Hope this helps,
07-08-2021 02:42 AM
Many thx!