Skip to Content
author's profile photo Former Member
Former Member

SPC Chart and Tag Name starting with a Number

On a 11.5.3 (latest build) install, we've found that SPC Charts don't like tag names that start with numeric characters. The data points just don't plot. I can right click and get the data, but there are no points on the chart. All other applets work fine with the same tags. Has anyone else seen this?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 19, 2008 at 02:55 PM

    If you manually append an underscore to the tagname when assigning it to one of the SPC fields, it should work.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Ryan,

      I have also dealt with this issue on IP21. Since there were literally thousands of tags starting with numbers, we had little choice in using them. But what we did was build a little transaction that took the raw data and built an output document with two columns, DateTime and Value (can have more if you need Tagname, etc.). First thing done was a little xPath to determine the actual name of the data column and assign it to a local property.

      Transaction.InputTagData{name(/Rowsets/Rowset/Row/*[2])}

      This will return the name of the column of data regardless of whether there is an underscore in front or not. Then use that local property to reference the field instead of the tagname.

      Hope this helps,

      Mike

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.