I am trying to populate the data in the Time series chart here, I’ve tried the following:
Using The Generic Tags Like Sine and realistic, It’s Works Properly✅
but here is my issue, i configured my own tag and made it as historian tag to store the data periodically in MySQL, And it works fine here, So once i go to the chart and populate it with this tag history, it doesn’t work, it shows data that has only date and the other column i of values is empty.
<< Note >> When i make a name query for this works fine like in the second picture
so could anyone help me, and what’s the better option to populate the chart generally
You using dataset as timestamp...you should with jython separate the date and the rest of the columns...
I use a jithon like:
# === Same logic, no ordering ===
if not (hasattr(value, "getColumnNames") and value.getRowCount() > 0):
return []
cols = [c.strip() for c in value.getColumnNames()]
if "Código" not in cols or "Valor" not in cols:
return "No se encontraron las columnas 'Código' y 'Valor'"
i_cod, i_val = cols.index("Código"), cols.index("Valor")
def to_float(x):
try: return float(str(x).split()[0])
except: return None
series = []
for r in range(value.getRowCount()):
codigo = value.getValueAt(r, i_cod)
v = to_float(value.getValueAt(r, i_val))
if codigo and v is not None:
series.append({
"t_stamp": codigo,
"process_temp": round(v, 2),
"output_temp": None
})
return series
Then yo get the date and the value separated like:
I think using script here, will be kinda complicated
i wanna get the features of the tag history binding
i can do this using named query, but tag history doesn’t work
Considering the Speed column of your history result is empty, then it must be your history binding. Tag path typos ad/or incorrect datetime boundaries are most likely. You haven't shown that binding configuration/details.
there’s a point here as well, i make mysql as a history provider, and i assigned some tags to it even though it’s empty when i try to pick up a tag from it
You show a symbolic OPC Item path to Siemens PLC with the IA native server. This can only be a v8.3 beta, and therefore is (was) in the wrong category.
Posting beta topics in the main Ignition category is misleading and irritating to volunteers like me.
What’s being said is that apparently you’ve downloaded 8.3 which is Beta only and has a separate support channel. 8 3 is a significant Deviation to 8.1.x, and so we need to know that and it should be posted in the 8.3 section.