Hi
I'm getting the following error when compiling, I already checked all the tags and they look ok.
Any idea?
Controller warning
-
- Posts: 28
- Joined: Mon Apr 23, 2012 7:03 am
Controller warning
- Attachments
-
- screen.JPG (144.41 KiB) Viewed 16691 times
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Controller warning
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.
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: Select all
<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
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
-
- Posts: 28
- Joined: Mon Apr 23, 2012 7:03 am
Re: Controller warning
If this the file, I don't have one with a xml extension...
- Attachments
-
- ecran.JPG (243.51 KiB) Viewed 16677 times
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Controller warning
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.
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
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer