IMD SolutionComputing LibraryShop main store

Troubleshooting

Fix blank tag details by editing the Trend client font size

Edge computing and IIoT Published 6 min read

Short answer

The tag details are blank because the Trend client stores its chart font size as 8,25 on a comma-decimal node and the runtime parses it as 825 pt. Close every Trend instance, set the TrendChartFont Size attribute in %LOCALAPPDATA%\Wonderware\ActiveFactory\Trend\Default.aaTrend to 8.25 or an integer 8 or 9, and re-check the file after each redeploy.

On this page
  1. What the symptom tells you
  2. Confirm the locale on the failing node
  3. Where the Trend client stores the font
  4. Worked example: 8,25 pt becomes 825 pt on a comma-decimal node
  5. Edit the Size attribute
  6. Why the properties dialog does not hold
  7. Verify the fix and hold it after a redeploy
  8. Questions asked

The tag details are blank because the Trend client draws its information pane at 825 pt. The per-user settings file stores the chart font size as 8,25 on a node whose locale uses a comma as the decimal separator, and the runtime drops the comma as a digit-grouping character, leaving 825. Close every instance of Trend, open %LOCALAPPDATA%\Wonderware\ActiveFactory\Trend\Default.aaTrend in Notepad, set the TrendChartFont Size attribute to 8.25 with a period, and use the integer 8 or 9 if the comma returns. Re-read the file after every redeploy. This was confirmed on AVEVA Historian V23.0.004, where the tag list loaded and the trace plotted while the info pane showed column headers with no readable values.

What the symptom tells you #

Three observations localize this fault, and all three held on the failing system:

  • The tag list loads for the queried historian, so the connection, authentication and tag browse path work.
  • The trace draws on the plot, so values and timestamps are being returned.
  • The same trend client reads correctly on the historian PC, so the fault travels with the client node, not the database.

AVEVA documents the Trend client as a stand-alone application whose properties are configured at design time and run time, and this fault sits in that run-time rendering layer, not in the data path. If your symptom is different, the fix is different. An empty tag list or a trace that will not draw is an upstream fault, so start with troubleshooting historian trend client connection failures. A pane that shows values while the trace flat-lines over a long range points instead to the Query Row Limit check for a flat historian trend.

Confirm the locale on the failing node #

Open Region settings, then Additional settings, on both the failing client and the historian PC, and read three fields:

  • Decimal symbol: if it is a comma, a size of 8.25 can be written to the settings file as 8,25.
  • Digit grouping symbol: the runtime parse that strips the comma treats it as this character.
  • List separator: the failing system reports a comma here, but this field alone does not prove the decimal symbol, so read the Decimal symbol field itself.

A comma decimal symbol on the client and a period on the historian PC is the difference that explains why one node renders the pane and the other does not. Do not change the regional settings as the fix: the file edit below holds with the locale left as installed, and a regional change touches every application on the node.

Where the Trend client stores the font #

The chart font lives in %LOCALAPPDATA%\Wonderware\ActiveFactory\Trend\Default.aaTrend, under the profile of the Windows account running the client. Both the stand-alone Trend application and the Trend control embedded in a runtime window read this file. AVEVA documents Default.aaTrend as the template that supplies default settings to new trend documents, which is why every trend on the node shows the same blank pane instead of one broken document. Each account on each node has its own copy, so the file on the historian PC is not the file your runtime client reads.

Worked example: 8,25 pt becomes 825 pt on a comma-decimal node #

Inputs:

  • Size attribute inside TrendChartFont, read from Default.aaTrend on the failing client: 8,25.
  • Decimal symbol on that node, from Region settings, Additional settings: comma.
  • The renderer's unit definition: 1 pt = 1/72 in.

Rule in words: the client writes the font size using the node's decimal separator, and when the runtime re-reads the file it strips the comma as a digit-grouping character, so only the digits reach the renderer.

Arithmetic:

  • Digits that survive the parse: 8 x 100 + 2 x 10 + 5 = 825.
  • Character height the renderer draws: 825 pt / 72 pt per in = 11.46 in.
  • Character height the pane was sized for: 8.25 pt / 72 pt per in = 0.115 in.
  • Magnification: 825 / 8.25 = 100.

Result: every value is drawn at one hundred times its intended height, 11.46 in of glyph into cells sized for 0.115 in text. The pane still populates the cells and draws the headers, which is exactly what the operator sees: columns present, data present, nothing readable.

Decision: on a node with a comma decimal symbol, a comma anywhere in this file's Size attribute is the fault. Write 8.25 with a period; if the comma returns, write the integer 8 or 9, which no locale can misparse because it has no decimal separator.

Edit the Size attribute #

  1. Close every instance of Trend: the stand-alone application and every runtime window that hosts the embedded control. A client left open rewrites the file on exit and overwrites your edit.
  2. Sign in under the account that runs the failing client and browse to %LOCALAPPDATA%\Wonderware\ActiveFactory\Trend\.
  3. Copy Default.aaTrend to a backup name, then open the original in Notepad.
  4. Find the TrendChartFont element near the end of the file and read its Size attribute.
  5. If it reads 8,25, replace the comma with a period so it reads 8.25, then save.
  6. If the pane is still unreadable or the comma returns, set Size to the integer 8 or 9 and save again.
  7. Reopen the client, load a trend and select a tag.

Why the properties dialog does not hold #

Change you make Result on this system
Size 8 or 9 in the Trend client properties IDE reverts to 8.25; runtime applies 825
Redeploy the application after a file edit Size returns to its default
File edit with every Trend instance closed Info pane readable

Saving from the dialog and deploying the application repeat the same locale-dependent conversion that produced 825, so the IDE shows 8.25 while the runtime applies 825, and neither path can hold a value the other parses differently. The file edit is the only one of the three that cleared the pane on this system, which is also what confirms the parse as the cause. After a redeploy, prefer the integer form.

Verify the fix and hold it after a redeploy #

  • Open the stand-alone Trend application, load several tags and select each one; the info window shows a readable value in every column.
  • Open the runtime window that hosts the embedded control and select the same tags; the output must be identical.
  • Close and reopen both clients, then re-read Size in Default.aaTrend; it must still hold the period or integer form.
  • After every redeploy, re-read the attribute on each affected node before assuming the fix survived; if the comma returned, repeat the edit with the integer.
  • Repeat the whole edit for every account and node that shows the blank pane, because each has its own file.

Questions asked

Can the blank pane be fixed from the Trend client properties dialog?

Not durably. On this system a size of 8 or 9 set in the client reverts to 8.25 in the IDE, applies as 825 at runtime, and a redeploy restores the default, because saving from the dialog repeats the same locale-dependent conversion. Edit the Size attribute in Default.aaTrend with every Trend instance closed instead.

Should I change the Windows decimal separator on the client node?

No. A regional change affects every application on the node and was not needed to clear this fault. The file edit holds with the locale left as installed, and the integer size 8 or 9 cannot be misparsed by any locale because it contains no decimal separator.

Does the historian server need any change?

No. The tag list loads and the trace plots, so the historian is returning data, and the same client reads correctly on the historian PC. The fault is confined to client-side font rendering; the only fix location is the per-user settings file on each affected client node.

Does one edit cover every client node and user account?

No. Default.aaTrend lives under %LOCALAPPDATA%, so each Windows account on each node has its own copy. Watch for the case where the runtime window with the embedded Trend control runs under a different account than the one you signed in with, such as a service or automation account: then the file to edit is under that account's profile, not yours. Edit under the account that runs the failing client, repeat on every node and account with a blank pane, and re-read Size after each redeploy.

Which historian release does this apply to?

The symptom and the fix are confirmed on AVEVA Historian V23.0.004 runtime and trend clients. Treat the parse behavior as specific to that release until another is tested; the per-user settings file is the same kind of mechanism across Trend client versions, but only V23.0.004 is verified here.

Keep reading

  • Troubleshooting

    Fix Historian error 241 tag has too many versions

    Error = 241 (Tag has too many versions) is a configuration-history buildup: every change to the tag's settings, such as an EU limit edit, saves another version until retrieval fails and the tag reads null. The fix that keeps the data is the tag-version consolidation utility from AVEVA technical support, reference HF 2138814, provided for Historian 2020 R2 and later. Delete the tag instead only when its history is disposable, after disabling historization at the creating source and clearing the cached IDs.

    Edge computing and IIoT

  • Troubleshooting

    Fix SLSping no reply to AVEVA Historian 2023 status tags

    Historian 2023 still serves status tags to a remote InTouch node over SuiteLink through the legacy Historian I/O Server, so SLSping should answer. Do not copy the 2020 aahiosvrsvc.exe hotfix into a 2023 install. The reported fix was enabling System Monitor Manager, permitting non-encrypted communication as a temporary diagnostic, then rebooting the InTouch client node.

    Edge computing and IIoT

  • Troubleshooting

    Redirect saved trend files to a new historian server

    A saved .aaTrend file keeps the server name it was created with, so it hangs when the old historian is gone. Open it in the current Trend client, let the connection attempt finish (observed one to two minutes), save a new copy, then search for the old server name in that copy and replace it with the new one; tag names stay unchanged.

    Edge computing and IIoT