Menu

Download error

Help
2014-08-29
2014-09-01
  • raz ben jehuda

    raz ben jehuda - 2014-08-29

    Hello
    I am a beginner. I following the documentation and try to download testsystem example
    to FOROTE in windows XP ( in vmware ). IDE console reports INVALID STATE.

    <Request Action="CREATE" ID="115">
    <FB Name="CALC" Type="EMB_RES"/>
    </Request>

    <Response ID="115" Reason="INVALID_STATE"/>

     
  • Zoitl Alois

    Zoitl Alois - 2014-08-29

    Hi,

    Typically the invalid state messages is returned when the same object is already available in the device. In you case this means that a resource with the name CALC is already there.

    Before downloading to a running FORTE where you already have downloaded something you must either Clean the device or Clean resource. These commands are available with right click on the the device or the resource in the deployment view.

    I hope this helps.

     
  • raz ben jehuda

    raz ben jehuda - 2014-08-29

    not really.
    I cleaned the device and the resource as said in the documentation, though i am not getting error int the console the operations fails with "connection refused:connect".

     
  • raz ben jehuda

    raz ben jehuda - 2014-08-29

    also, when i clean the device and execute the rte locally ( not in a different machine ) i am getting a pop-up exception box :
    Unhandled event loop exception during blocked modal context.
    Failed to execute runnable (java.lang.IllegalArgumentException: Argument cannot be null)

     
  • Zoitl Alois

    Zoitl Alois - 2014-08-29

    very strange.
    The connection refused message normally is given when 4DIAC-IDE can not establish an connection to the ip-address and port given at the device's MGR_ID paramter set in the system configuration view.

    I normally get this exception when during the download the device crashes or refuses to answer. Hoever this should not happen with a stock FORTE.

    If this does not help, can you give more details on your system configuration?

     
  • raz ben jehuda

    raz ben jehuda - 2014-09-01

    so... i tried a different project , xplus3. now i manage to download but i am getting the bellow errors ( even after cleaning..) :

    <Request Action="CREATE" ID="74">
    <Connection Destination="OUT_ANY.IN" Source="INT2INT.OUT"/>
    </Request>

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

     
  • Monika Wenger

    Monika Wenger - 2014-09-01

    this error means that this Connection could not be created. I guess that there is also an FB that could not be created? please consider that OUT_ANY has to be executed on FBRT since it is for graphical Display (relevant for all blocks from the HMI folder). check if the INT2INT block is available within your FBRT Version if you downloaded it on FBRT.

     
  • Zoitl Alois

    Zoitl Alois - 2014-09-01

    The meaning of the NO_SUCH_OBJECT is that on of the both sides of the connection are not available. Typically you should have got an error message above that one of the both FBs mentioned in the connection (in your case the OUT_ANY or the INT2INT) could not be created.

    The OUT_ANY FB is a FB provided by the 1499 runtime environment from the FBDK project (www.holobloc.com). In order to correctly run you need to start a RMT_FRAME_DEV for the device where the OUT_ANY FB is mapped to. Because of some recent changes in FBRT you need to use the FBRT that is distributed with with 4DIAC.

    With the upcoming 1.6 version we will also support the new FBRT.

    I hope this helps for solving your issues. Thanks for your patience. Suggestions to improve our documentation (http://fordiac.sourceforge.net/ehelp/) are more then welcome.

    Kind regards,
    Alois