Is there any way to use discrete variables in Design Xplorer?


Not in 10.0. Development has the following procedure to do it in 11.0:

The parameter manager in 11.0 allows you to use suppression properties in
conjunction with a user defined variable. This will allow you to do the following:

Simulation Parameters:

Door 1 Suppressed (P1) --> 0 = Not suppressed, -1 = Suppressed
Door 2 Suppressed (P2) --> 0 = Not suppressed, -1 = Suppressed

Parameter Manager (user defined parameters):

Door Selection (P3) --> -1 = Door 1 Not suppressed, Door 2 Suppressed
1 = Door 1 Suppressed, Door 2 Not Suppressed


In the parameter manager, assign expressions to the Simulation parameters as follows:

Door 1 Suppressed: P3 == 1
Door 2 Suppressed: P3 == -1

Parameters that have expressions assigned to them are not published to DesignXplorer.
Therefore, the only variable you will see is Door Selection (P3). In DesignXplorer, you can
change the type of Door Selection to Discrete, and then assign the values of (-1, 1) to the variable.





Show Form
No comments yet. Be the first to add a comment!