adccommunitymod (AutomationDirect) asked a question.

Import/Export function fails

Created Date: August 21,2006

Created By: rex2802

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Directsoft 4 build 18. Import fails everytime. What gives?


  • adccommunitymod (AutomationDirect)

    Created Date: August 21,2006

    Created by: franji1

    What's the failure? There is some known issues that have been fixed in later builds, and also in Rel 5.

    There are some work arounds - let us know the error and then also the actual line of mnemonic text from the import file.

  • adccommunitymod (AutomationDirect)

    Created Date: August 21,2006

    Created by: rex2802

    Here you go:

    Data Error;Nickname Field "S1 " illegal; Field is a valid plc type/id; example X7 cannot be a nickname for Y4

    I upgraded to build 25 and still have the errors. I do not have anything documented like the example. I can open the .csv file with excel and it looks fine.

    I have 1200 lines of code to redocument/comment. If I have to do it manually it I will not be a happy camper.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 21,2006

    Created by: franji1

    Yes, that is a test that is part of the import facility. S1 is PLC element "Stage 1 " and cannot be used as a nickname for another element.

    You will need to change the nickname to something other than "S1 ".

    You could simply prepend an underscore, e.g. _S1 or put a space between the S and 1, or an underscore between the S and 1: S_1.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 22,2006

    Created by: rex2802

    I am not using anything in the nickname field as I stated in my previous post. The nickname field is blank.

    I will try to create a new project and export/import and see what happens.

    Thanks

  • adccommunitymod (AutomationDirect)

    Created Date: August 22,2006

    Created by: GKiser

    rex2802,

    Can you e-mail the file that fails on the import? I will try to figure out what is happening.

    Greg Kiser

    Host Engineering, Inc.

    support@hosteng.com

  • adccommunitymod (AutomationDirect)

    Created Date: August 22,2006

    Created by: rex2802

    I will have to run this past my customer.

    They may require an NDA to be in place first.

    I haven't tried creating a new project and exporting the documentation to a file and then creating yet another new project and then importing the .csv file.

    Either way I will keep you posted.

    ThankS!

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 22,2006

    Created by: franji1

    The error message you are getting is because you have an illegal nickname. You stated that you do not have any nicknames. It could be there is a missing comma or someone fat-fingered an extra line or ???

    DirectSOFT will report all errors, and each error message also reports the line number where the error is. Here's what I get when I try to duplicate your error:

    Errors when reading data from C:\Documents and Settings\Mark\Desktop\test.txt - nothing imported

    Error online 1 (x0, s1, abc, xyz)

    Data error; NickName field "s1 " illegal, field is a valid PLC Type/ID; example: X7 cannot be a nickname for Y4

    It shows you the line number and the text in error in parantheses.

    Open the file in Notepad (I prefer it over Excel) and go to that line and look at the text and let us know what the line looks like.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 21,2006

    Created by: rex2802

    Directsoft 4 build 18.

    Import fails everytime.

    What gives?