Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: RBPLC on December 23, 2020, 07:36:16 AM

Title: Trend Archive Recommendation
Post by: RBPLC on December 23, 2020, 07:36:16 AM
Allow Trend Archives to be imported with Nicknames instead of memory locations.
Title: Re: Trend Archive Recommendation
Post by: RBPLC 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.
Title: Re: Trend Archive Recommendation
Post by: franji1 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
Title: Re: Trend Archive Recommendation
Post by: franji1 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)
Title: Re: Trend Archive Recommendation
Post by: RBPLC 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.
Title: Re: Trend Archive Recommendation
Post by: franji1 on March 11, 2022, 11:32:12 AM
Doh!?!  I'll look at it.  :-\
Title: Re: Trend Archive Recommendation
Post by: RBPLC 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.
Title: Re: Trend Archive Recommendation
Post by: franji1 on July 24, 2022, 06:02:45 PM
No.  2.9.x were primarily maintenance releases, no new features.
Title: Re: Trend Archive Recommendation
Post by: franji1 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.