Change the name of the elements within a list

SupportCommunity General Change the name of the elements within a list

Ansicht von 2 Beiträgen - 1 bis 2 (von insgesamt 2)
  • Autor
    Beiträge
  • #22240
    Darren LimDarren Lim
    Teilnehmer

    Hi,

    I was wondering if there is a way i could change the name of the element inside a list.

    E.g. My list contains 7 elements and when i create a line graph of all 7 elements, each curve has the name ‘List1 , List2, etc..’ which forbids me to differentiate which curve belongs to which element.

     

    I tried using the AssignListElementNames but it keeps coming up with an error

     

    any advise is appreicated thanks!

    #22241
    Bernhard KantzBernhard Kantz
    Moderator

    Hi!

    What error message do you get? I tried a little example using three synthetic signals in a small formula:

    Dim SourceData = [ Signal, <B> Signal2, <C> Signal3]
    AssignListElementNames(SourceData, { "Sine", "Rectangle", "Triangle" })
    

    The resulting lists element names are those specified in the string dataset.

Ansicht von 2 Beiträgen - 1 bis 2 (von insgesamt 2)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.