Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Controller warning
PostPosted: Tue Aug 07, 2012 10:55 am 

Joined: Mon Apr 23, 2012 7:03 am
Posts: 28

Offline
Hi
I'm getting the following error when compiling, I already checked all the tags and they look ok.

Any idea?


Attachments:
screen.JPG
screen.JPG [ 144.41 KiB | Viewed 3961 times ]
 Profile  
 
 Post subject: Re: Controller warning
PostPosted: Tue Aug 07, 2012 3:11 pm 

Joined: Tue Mar 13, 2012 9:53 am
Posts: 824

Offline
There is a bug in iX that causes this to happen sometimes. To fix it you need to:

1) Close iX
2) Backup the project directory
3) Open up the xml file associated with the error. In your case you would open up the "Controller1.neo" file located in your project folder.
4) Delete the xml that is associated with those tags.
5) Save file
6) Open you project up in iX and Rebuild it.

If I was having an issue with the DataItem1 tag, I would delete the below section from the "Contoller1.neo" file.

Code:
      <Object d1p1:type="Neo.ApplicationFramework.Tools.OpcClient.DataItem, ToolsCF, Version=2.0.356.0, Culture=neutral, PublicKeyToken=null" d1p1:Site.Name="DataItem1">
        <InstanceDescriptor DeclaringType="Neo.ApplicationFramework.Tools.OpcClient.DataItem, ToolsCF, Version=2.0.356.0, Culture=neutral, PublicKeyToken=null" Name=".ctor" MemberType="Constructor">
          <Parameter Name="Name">
            <Object d1p1:type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" primitive.value="DataItem1" />
          </Parameter>
          <Parameter Name="ItemID">
            <Object d1p1:type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" primitive.value="Basin1_Blower_No2_Status" />
          </Parameter>
          <Parameter Name="DataType">
            <Object d1p1:type="Neo.ApplicationFramework.Interop.DataSource.BEDATATYPE, DataSourceInterop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" primitive.value="INT16" />
          </Parameter>
          <Parameter Name="Size">
            <Object d1p1:type="System.Int16, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" primitive.value="1" />
          </Parameter>
          <Parameter Name="Offset">
            <Object d1p1:type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" primitive.value="0" />
          </Parameter>
          <Parameter Name="Gain">
            <Object d1p1:type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" primitive.value="1" />
          </Parameter>
          <Parameter Name="IndexRegisterNumber">
            <Object d1p1:type="System.Int16, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" primitive.value="0" />
          </Parameter>
          <Parameter Name="LogToAuditTrail">
            <Object d1p1:type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" primitive.value="False" />
          </Parameter>
        </InstanceDescriptor>
      </Object>

_________________
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer


 Profile  
 
 Post subject: Re: Controller warning
PostPosted: Wed Aug 08, 2012 6:49 am 

Joined: Mon Apr 23, 2012 7:03 am
Posts: 28

Offline
If this the file, I don't have one with a xml extension...


Attachments:
ecran.JPG
ecran.JPG [ 243.51 KiB | Viewed 3947 times ]
 Profile  
 
 Post subject: Re: Controller warning
PostPosted: Wed Aug 08, 2012 8:28 am 

Joined: Tue Mar 13, 2012 9:53 am
Posts: 824

Offline
Yes, the ".neo" file is an xml file. The extension of the file has nothing to do with what is in the file. Extensions are just a way for you to tell Microsoft Windows what kind of file it is. In Linux extensions are not used at all.

You need to open the file in a text editor like Notepad. You will not be able to double click the file because Windows does not know that it is an xml file. You will need to open Notepad, and then open the file from within Notepad.

_________________
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer


 Profile  
 
 Post subject: Re: Controller warning
PostPosted: Wed Aug 08, 2012 9:35 am 

Joined: Mon Apr 23, 2012 7:03 am
Posts: 28

Offline
Done!

Thank you


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: