News:

  • May 05, 2026, 09:20:16 AM

Login with username, password and session length

Author Topic: SDT0 Problem  (Read 12082 times)

mhw

  • Hero Member
  • *****
  • Posts: 250
SDT0 Problem
« on: May 07, 2013, 05:50:12 PM »
I copied a section of code from one project to another by using "Ctrl C" and "Ctrl V". This section contained the structure SDT0. DMD changed the nickname for SDT0 from "$Now" to "S2". Now it will give me the following error when I try to copy and paste that line in the same project: [Error]   dmd1D6.tmp(162)   Element string (SDT0): Element has an excluded attribute at line 162: "SDT0","S2","",""

MikeS

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 261
    • Host Engineering, Inc.
Re: SDT0 Problem
« Reply #1 on: May 08, 2013, 09:20:36 AM »
that's pretty weird, i need to try that here. what instruction is using SDT0 as a parameter?
Good design costs a lot. Bad design costs even more.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: SDT0 Problem
« Reply #2 on: May 08, 2013, 09:27:28 AM »
If it is duplicatable, if you could zip up the two projects and email them to support at hosteng.com.  Also, let us know the documentation option you chose when pasting the logic: 1. Do not paste documentation, 2. Paste, but do not overwrite existing, 3. Paste and overwrite existing.

mhw

  • Hero Member
  • *****
  • Posts: 250
Re: SDT0 Problem
« Reply #3 on: May 08, 2013, 10:21:42 AM »
Quote
that's pretty weird, i need to try that here. what instruction is using SDT0 as a parameter?
It was being used in a few different instructions when it was copied: "If less than" "MOVE" "DTCMP"

Quote
If it is duplicatable, if you could zip up the two projects and email them to support at hosteng.com.  Also, let us know the documentation option you chose when pasting the logic: 1. Do not paste documentation, 2. Paste, but do not overwrite existing, 3. Paste and overwrite existing.

The project it was copied from is gone.  I have project that I call "test". I create small sections of code for testing in the SIM and then copy them over to the final project. I will send the project that has the problem. I think that I used "paste but do not overwrite existing"

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: SDT0 Problem
« Reply #4 on: May 08, 2013, 10:31:09 AM »
The clip starts off being 100% based off the SRC project.  However, when pasting into a DIFFERENT project, we make a temporary copy of the clip that is a "merging" of the clip and the destination project.  This is that .TMP file that you saw that was referenced in the error message.  Somehow the nickname for SDT0 got "adjusted" improperly ::).  I'm hoping I can duplicate it, and adjust Designer bits accordingly  ;D.

I tried to duplicate it from a SIM project to a DM1E project, but it worked for me.  Hence, having the Destination project will be much appreciated.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: SDT0 Problem
« Reply #5 on: May 08, 2013, 03:34:05 PM »
It was a bug.  In the current Designer software, we were not allowing you to modify System Nicknames from the Import/Paste mechanisms.  But it should be allowed.  It will be fixed in the next release.  The Output Window will log a Warning that a System Nickname has been redefined.  Thanks!