Plex 2E

 View Only
  • 1.  Plex 6.1 Upgrade issues with Embedded Calls

    Posted Aug 19, 2009 06:42 AM
    Hi All,  Anyone else notice with plex 6.1 Embedded Calls in WinC are not generating any (or much) code..  From a .cpp file:  // Set   Array1 = BS.Services.TS.Step4 [Customer].Interface.FLDs.TelephoneTypeCode.GetFldValueName()/Output
                                          out->Array111[m->Array111_WE960F].TelephoneTypeName50 = ;  nothing has been generated after the equal operator.  ThanksGeorge  


  • 2.  Re: Plex 6.1 Upgrade issues with Embedded Calls

    Posted Aug 19, 2009 01:02 PM
    Hi GeorgeMaybe it is obviously tested already, but usually it happens for a parameter not being defined (perhaps a commented field) at AD level.With regardsJorge Ubeda


  • 3.  Re: Plex 6.1 Upgrade issues with Embedded Calls

    Posted Aug 19, 2009 11:00 PM
    Hi Jorge,  Thanks for the suggestion but all fields are defined.  RegardsGeorge


  • 4.  Re: Plex 6.1 Upgrade issues with Embedded Calls

    Posted Sep 02, 2009 11:56 PM
    Recreated by CA after little local test model sent, Case number  (18541175-1)    


  • 5.  Re: Plex 6.1 Upgrade issues with Embedded Calls
    Best Answer

    Posted Sep 17, 2009 01:15 AM
    Embedded calls worked after a fashion as long as returns variables were being used and the language for generation was WinC. The calls are generated before the statement in which they are used and so fine for assignments or plain 'if' statements. Obviously, the code was not correct for 'while' statements, where the calls need to be repeated on each iteration, and for a second 'when' (implemented as 'else if'). I have created a fix which handles these different constructs appropriately and supports output variables, not only for WinC, but also the other generation languages supported. The fix is attached to issue 18541175, but will also go into 6.1 PTF 012 (and our 6.0 and 5.5SP1 PTF streams).  Regards,  Paul Vereycken


  • 6.  Re: Plex 6.1 Upgrade issues with Embedded Calls

    Posted Sep 17, 2009 01:50 AM
    Thank you CA support,  Works great.