News:

  • October 13, 2025, 05:39:22 AM

Login with username, password and session length

Author Topic: Trend Archive Recommendation  (Read 2618 times)

RBPLC

  • Hero Member
  • *****
  • Posts: 585
Trend Archive Recommendation
« on: December 23, 2020, 07:36:16 AM »
Allow Trend Archives to be imported with Nicknames instead of memory locations.

RBPLC

  • Hero Member
  • *****
  • Posts: 585
Re: Trend Archive Recommendation
« Reply #1 on: March 10, 2022, 04:58:03 PM »
Is this a current feature that I'm missing? I feel like I've imported some archives that have Nicknames.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Trend Archive Recommendation
« Reply #2 on: March 10, 2022, 05:20:03 PM »
There are options to prefer NN over Elements in a Trend View - that may be the issue

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Trend Archive Recommendation
« Reply #3 on: March 10, 2022, 05:24:20 PM »
Yeah, I just checked.

1. I do NOT show NN in my Trend View
2. I archived DST0 (as DST0)
3. I imported the archive
it shows up as DST0 in the archive, BUT
when I change the option to Show NN, the Archive shows the NN (i.e. the Trend Archive export includes the NN, it's just the Trend View Option that makes them not show up as you want)

Just make sure you check "Current Views" AND "New Views" in your Trend View "Applies To" (that should be the default, I believe)

RBPLC

  • Hero Member
  • *****
  • Posts: 585
Re: Trend Archive Recommendation
« Reply #4 on: March 11, 2022, 08:08:56 AM »
I tried again after checking my settings and it still doesn't work. I think I see what is going on (after looking at the .trarc). If you give a nickname to a built in memory location, for example c0="bit0" and r0="real0", the exported .trarc stores these as c0 and r0. If you create a user memory block and trend values from the user memory block, it exports the name of the memory block element into the .trarc. These named memory block elements are what I remember being imported from other projects with correct names.

When importing "Trend Archive into New Project...", c0 and r0 get imported but there is no link between those memory locations and the nicknames because the nicknames aren't imported along with the trend. In the case of DST0, this is a system memory location and has the nickname built into the system, so it knows that the nickname of DST0 is $ScanCounter.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Trend Archive Recommendation
« Reply #5 on: March 11, 2022, 11:32:12 AM »
Doh!?!  I'll look at it.  :-\

RBPLC

  • Hero Member
  • *****
  • Posts: 585
Re: Trend Archive Recommendation
« Reply #6 on: July 23, 2022, 05:34:10 PM »
Did this get resolved? I exported a trend this week and just imported it and I'm still seeing R57 instead of the nickname.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Trend Archive Recommendation
« Reply #7 on: July 24, 2022, 06:02:45 PM »
No.  2.9.x were primarily maintenance releases, no new features.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3761
    • Host Engineering
Re: Trend Archive Recommendation
« Reply #8 on: July 25, 2022, 09:22:17 AM »
No.  2.9.x were primarily maintenance releases, no new features.

That one slipped through the cracks for 2.9.