Can't execute the function block i create [message #1858931] |
Tue, 02 May 2023 06:21  |
Eclipse User |
|
|
|
Good morning at all,
I've got a problem while i try to run a function block that i create.
I followed the step 4 of the guide relative to create a function block and the guide on how to compile FORTE from source. The function blocks present in the library when i download the IDE work fine but the block i create doesn't work.
Can you please help me solving this problem?
I leave the files generated when i export the FB (CMakeLists.txt, Controller.cpp and Controller.h) and the photo related to the ECC (Controller_ECC.png) of the function block in the attachment and the resource view ( Resource_view.png) in order to let you know how i connect the block to the resource (in the application view there's only this block).
below here there's the output in the deployment consolle
<!-- 127.0.0.1:61499 -->
<Request Action="QUERY" ID="1">
<FB Name="*" Type="*"/>
</Request>
<Response ID="1"/>
<!-- 127.0.0.1:61499 -->
<Request Action="CREATE" ID="2">
<FB Name="Controllore" Type="EMB_RES"/>
</Request>
<Response ID="2"/>
<!-- 127.0.0.1:61499: Controllore -->
<Request Action="CREATE" ID="3">
<FB Name="Controller" Type="Controller"/>
</Request>
<Response ID="3" Reason="UNSUPPORTED_TYPE"/>
<!-- 127.0.0.1:61499: Controllore -->
<Request Action="CREATE" ID="4">
<Connection Destination="Controller.INIT" Source="START.COLD"/>
</Request>
<Response ID="4" Reason="NO_SUCH_OBJECT"/>
<!-- 127.0.0.1:61499: Controllore -->
<Request Action="CREATE" ID="5">
<Connection Destination="Controller.INIT" Source="START.WARM"/>
</Request>
<Response ID="5" Reason="NO_SUCH_OBJECT"/>
<!-- 127.0.0.1:61499: Controllore -->
<Request Action="START" ID="5"/>
<Response ID="5"/>
Down here there are all the messages appeared in the simulated device manager
INFO: T#4221071617143: FORTE is up and running
INFO: T#4221071772174: Using provided bootfile location set in CMake: forte.fboot
INFO: T#4221071822009: Boot file forte.fboot could not be opened. Skipping... //now i deploy
INFO: T#4259893407187: Connection established by client
INFO: T#4259898596148: Connection closed by peer
Thanks to who will help me and have a good day
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07959 seconds