Can you isolate a part of the Dsp.Tag parameter in Live?

I am in the process of installing some new equipment.  To simplify many aspects of executing this project, I've used a numbering system for the control modules that contains information on the location of the equipment that the control module is tied to.  I am doing this with Live.  In the operator graphics, I would like to be able to isolate this information from the tag name and use it in a color function in Live to drive color differences in the operator graphics. Thank you for your help.

  • Yes, this can be done relatively easily using substring(), indexOf(), lastindexOf() or other string manipulation methods.

    For example suppose you have string type contextual display variable LocationInfoString and your location info is contained in the first few characters of the tag name:

    Dsp.LocationInfoString = (Dsp.Tag).substring(0,3) // could set this in the OnOpen interaction of the contextual display

    You can then use LocationInfoString to animate things/change colors/etc.
  • In reply to Kyle Walker:

    Thank you very much for your response.