10-03-2014 12:48 AM
Hello,
I have combined the step action and message popup because I want to be able to change the text in the popup programmatically.
In de VI the text that has to be displayed is send and local variables are made to share the data between the action and message popup.
What I tried was to use was to enter Step.MessageExpr in the action Parameter Name Message.
But that gave an error.
How can I make this so that I don't have to use the local variable's to send data between action to message popup?
10-03-2014 09:22 AM
To make this work without the local variables you can use the following:
Step.TitleExpr
Step.MessageExpr
Step.Button1Label
Step.Button2Label
Step.Button3Label
etc...
As parameters from your VI.
The other key ingredient here is that your VI needs to wrap each output with quotes.
Instead of passing out OK for button 1 for instance you need to pass out "OK" (with the "s). The reason you need the "s is because you are assigning to expressions. The expressions will only evaluate correctly with the "s.
Hope this helps,
10-03-2014 09:24 AM
Attached is an example that shows this.
10-06-2014 04:15 AM - edited 10-06-2014 04:16 AM
Thank you very much!
This was indeed the solution.