Vision - Trend a String from Historian

Hey guys and gals,

Does anyone know of a way to display a trended string using the easy chart or any other option?

For example, I have a motor UDT with a string tag in it that says the motor state: "Running", "Stopped", "Faulted", etc

I dug through the manual but didnt find a way to do this - I saw the "symbol" axis but that doesnt seem to be working for this case.

I'm not exactly sure what the trend would even look like for something like that. Maybe there'd be some way to plot all 0s and modify the colors or markers on the line? Typically I would store the state as an integer and then just do the conversion on what that means in the UI. Or plot that state integer.

I think regardless, you'll need to do some scripting to manipulate your data, add an OPC or Expression tag to track your string as an integer value, or go with a template or component better suited for showing that data (maybe the Equipment Scheduling or Status Chart components?)

1 Like

Yeah I’ve seen it done in Pi before where a string was trendable but didn’t know if the same thing could apply in ignition.

Good thinking, that’s what I ended up doing instead was trending the integer and putting how the state relates to the int value in the tooltips

1 Like

Consider also the Symbol axis type:
https://docs.inductiveautomation.com/display/DOC81/Easy+Chart+-+Axes#EasyChartAxes-ConfiguringanEasyChartusingtheSymbolAxis

1 Like