Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Unsupported Type during Deploying
Unsupported Type during Deploying [message #1761083] Sat, 06 May 2017 13:00 Go to next message
Jiahang Chen is currently offline Jiahang ChenFriend
Messages: 34
Registered: April 2017
Member
Sorry again for always asking question.
I have now a big problem during Deploying, and it says unsupported Type.

Here the report from Deployment Console:
<!-- 127.0.0.1:61501: VIEW_PANEL -->
<Request Action="CREATE" ID="67">
<FB Name="LaufL1_MDL" Type="LaufL1_MDL"/>
</Request>

<Response ID="67" Reason="UNSUPPORTED_TYPE"/>

<!-- 127.0.0.1:61501: VIEW_PANEL -->
<Request Action="CREATE" ID="73">
<Connection Destination="PUBLISH_2.INIT" Source="LaufL1_MDL.INITO"/>
</Request>

<Response ID="73" Reason="NO_SUCH_OBJECT"/>

I have checked the CmakeList, and the FB was added to the Cmakelist and i am sure the FB is within my application. I started forte.exe directly after compiling in Visual Studio.
Can someone maybe tell me, how can i solve the problem?
  • Attachment: 3.PNG
    (Size: 167.87KB, Downloaded 35 times)
  • Attachment: 4.PNG
    (Size: 157.83KB, Downloaded 38 times)
Re: Unsupported Type during Deploying [message #1761107 is a reply to message #1761083] Sat, 06 May 2017 21:22 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 454
Registered: January 2014
Senior Member
I'm sorry that 4diac is giving you such a hard time. If you get an UNSUPPORTED_TYPE error this definitely means that the forte.exe you have started has not your FB compiled into. What I noticed with VS is that sometimes when i add new modules in cmake or add a new FB to a cmake list file that the when building in VS that the FB is not compiled. you can see this when watching the build output and your FB is not listed as cpp file to be compiled. What worked for me in this case is to run CMake GUI again with configure and generate.

Maybe it will be interesting for you that Monika just merged a branch into the main development branch where you don't need to compile your FBs. this will be part of the upcoming 1.9.0 release.
Previous Topic:Problem:NULL error during deploying
Next Topic:declaration of subroutines/functions currently not possible in ST algorithms?
Goto Forum:
  


Current Time: Wed Feb 21 19:26:39 GMT 2018

Powered by FUDForum. Page generated in 0.01957 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software