Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: mhw 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","",""
-
that's pretty weird, i need to try that here. what instruction is using SDT0 as a parameter?
-
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.
-
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"
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"
-
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.
-
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!