You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
Issue:
Numeric display with an expression also have input
Product Line:
Vijeo Designer
Resolution:
In Vijeo Designer, a numeric display with an expression cannot have input activated. In order to achieve this, you will need to make your own custom object using the following:
1) A numeric display with the expression.
2) An invisible switch.
3) A numeric display with input activated.
This example assumes that the numeric display with the expression only involves one tag.
The idea behind this setup is that we will use visibility animation to show and hide the appropriate numeric display. In a normal mode, we will display the numeric display with the expression. The visibility condition for this numeric display should be assigned to a boolean call "Hide_Display" for example. The expression for the Visibility condition should be "!Hide_Display."
Next, the invisible switch will be used to set to the boolean. Therefore the operation is the Bit Set operation on the boolean "Hide_Display". In addition, the visibility condition is also set to "!Hide_Display".
Finally, the numeric display with the input activated should have Visibility set to "Hide_Display" so that when the boolean is High, it is displayed while the other is hidden. In the Advanced tab of the numeric display, we should also set the "Use Input Trigger" and "Input Status Variable" to "Hide_Display". The status mode should be set to "ON/OFF Reverse Mode". These settings will allow the boolean to be reset after an number is entered.
Please see the attached example for a demo.
Numeric display with an expression also have input
Product Line:
Vijeo Designer
Resolution:
In Vijeo Designer, a numeric display with an expression cannot have input activated. In order to achieve this, you will need to make your own custom object using the following:
1) A numeric display with the expression.
2) An invisible switch.
3) A numeric display with input activated.
This example assumes that the numeric display with the expression only involves one tag.
The idea behind this setup is that we will use visibility animation to show and hide the appropriate numeric display. In a normal mode, we will display the numeric display with the expression. The visibility condition for this numeric display should be assigned to a boolean call "Hide_Display" for example. The expression for the Visibility condition should be "!Hide_Display."
Next, the invisible switch will be used to set to the boolean. Therefore the operation is the Bit Set operation on the boolean "Hide_Display". In addition, the visibility condition is also set to "!Hide_Display".
Finally, the numeric display with the input activated should have Visibility set to "Hide_Display" so that when the boolean is High, it is displayed while the other is hidden. In the Advanced tab of the numeric display, we should also set the "Use Input Trigger" and "Input Status Variable" to "Hide_Display". The status mode should be set to "ON/OFF Reverse Mode". These settings will allow the boolean to be reset after an number is entered.
Please see the attached example for a demo.