Format of Display Path for system.alarm.query

8.1.38 Vision

I use Display Path to display the appropriate alarms in journals, banners, etc.

Display Path A = "Front"

Display Path B = "Back"

I created a client tag My_Display_Path to hold the value. This tag is bound to the journal's Display Path Filter.

Created a list box to select "Front", "Back" or "All"

The List box assigns the client tag "Front" or "Back" for individual, but I can't seem to get the syntax right for system.alarm.query. Sure, I could use '*', but I have cases where I may want to select two of four options.

I tried "Front,Back" and that works for the journal itself. It displays all the alarms for display paths Front and Back. But the system.alarm.query using that display path returns nothing. The manual says that in system.alarm.query, display paths should be separated by "/", but that doesn't seem to work either and both the journal and query fail when using "Front/Back".

What am I missing, please?

It accepts a list of strings for the display path, so you'd pass in a list of your values
['Front', 'Back']

Ah....I would have thought since journal was a literal single string with "," separators that alarm.query would be the same.

Solved....I used list(string.split(",") to convert the string of 'Front,Back' to ['Front','Back'].