What is the named state parameter for ISEL block SELECT_TYPE?

Hi, Can someone help? I would like to show the named state on the graphic for ISEL block selected type. What parameter should I link to? 

Thanks!

  • In reply to May:

    Hi May,
    you might try 'DVSYS.ModuleTag/ISEL1/SELECT_TYPE.A_CV' = "xxx" where xxx is the exact string of your desire or .../SELECT_TYPE.F_CV = 3
    You can't use the IF in a visibility animation but only the expression with an boolean result.
  • Use modulename/ISEL1/SELECT_TYPE.A_CV only to see selected type.
  • It really depends what you're after. Are you looking to see what INPUT is selected, or what type of selection the ISEL block is using? The only real time that SELECT_TYPE come's into play, is if you set the OP_SELECT to 0, and the ISEL block will use which mode you've set SELECT_TYPE to IE: FIRST GOOD, MIN, MAX, AVERAGE etc. When you set the OP_SELECT between 1-4, then your OUT value will be whatever the corresponding INPUT is IE: OP_SELECT = 2, OUT = INPUT 2.

    What you're seeing using the parameter "/ISEL1/SELECT_TYPE.F_CV'", is that in the "$ISEL_TYP" named set, which I believe is hidden, that you've set your ISEL block to "MAX" where "3" in the "ISEL_TYP" named set corresponds to MAXIMUM. If you simply change to "/ISEL1/SELECT_TYPE.A_CV'", then you won't see which INPUT is selected, rather that the block is configured to select the MAXIMUM input value, given that OP_SELECT is still set to 0. If that's your goal then perfect job complete, changing the "F_CV" to "A_CV" will suffice. The reason behind this change "working" is that you're using the Float Value when you've tagged the ".F_CV", and you'd be using the ASCII representation of the named set if you set your parameter path to ".A_CV" in the named set.

    If you're looking to display which input is selected you need to use the SELECTED parameter which outputs a float for the ISEL block. To handle this what I typically do is use an output parameter of some sort IE: "_SELECTED" and create a named set for this, where 1 = Input 1 or your tag/description, 2 = Input 2 Tag/Description for the 1-4 inputs you're using. Expose SELECTED if it's not exposed on the selector block, wire the SELECTED output on the ISEL block to your created output parameter and set the output parameter type to "named set" and link to your created named set in the database Then, when linking the graphics use your output parameter as the path, IE: in my case, 'DVSYS.ModuleTag/ISEL1/_SELECTED.A_CV and you should be good to go.

    Cheers,

    Joey Giguere

    EDIT: I see now you just mean the SELECT_TYPE, hopefully the extra information is helpful at least.