AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
PDMS in Your Language
  • AVEVA World
PDMS in Your Language
PDMS em Português Pml
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 11 replies
  • Subscribers 1 subscriber
  • Views 23 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

Pml

carvalho
carvalho over 14 years ago
 
  • Sign in to reply
  • Cancel
  • carvalho
    carvalho over 14 years ago
    Pessoal,
    Estou com a necessidade de aprender a linguagem PML para desenvolvimento de macros para o PDMS. Não consegui encontrar materiais na internet, nem taopouco cursos pertinentes.
    Alguém tem alguma dica?
    sds,
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Marjon G. Milloria
    Marjon G. Milloria over 14 years ago
    These will be a good start
    http://www.pdmsworld.com/forum/f28/pml-programming-basic-guide-8274.html
    http://www.pdmsworld.com/forum/f28/pml-programming-basic-guide-forms-menus-8707.html
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • carvalho
    carvalho over 14 years ago
    [FONT=Comic Sans MS]hello my friend.[/FONT]
    [FONT=Comic Sans MS]thank you very much ![/FONT]
    [FONT=Comic Sans MS][/FONT]
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • carvalho
    carvalho over 14 years ago
    My Friend,
    when I run in design, gives the following error:

    show !!MySecondForm
    (2,752)   Array element 0 does not exist
    In line 150 of PML function mysecondform.SHOWPLOTSETPARAM
           !this.plotDisp.add(!this.tmplPlot[!picked])
    Called from line 136 of PML function mysecondform.INITFUNC
       !this.showPlotSetParam(!this.tmplList, 'SELECT')
    Called from line 1 of Command/Form Callback Command
    !this.initFunc()

    best regards,
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Cody Austin
    Cody Austin over 14 years ago
    Make sure !picked is never less than 1.  It's hard to debug without seeing all of your code.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • carvalho
    carvalho over 14 years ago
    Hello friend,

    the code was made available on this forum by GadZ, link:
    http://www.pdmsworld.com/forum/f28/pml-programming-basic-guide-forms-menus-8707.html

    Best Regards.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Marjon G. Milloria
    Marjon G. Milloria over 14 years ago
    [QUOTE=carvalho4;48718]Hello friend,

    the code was made available on this forum by GadZ, link:
    http://www.pdmsworld.com/forum/f28/pml-programming-basic-guide-forms-menus-8707.html

    Best Regards.

    Please read the guide carefully. Did you set the path correctly?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gAdZ
    gAdZ over 14 years ago
    Hello carvalho4,

    Please verify the path you specified for the location of the plot files. It can be set in line 118 of mysecondform.pmlfrm:
    [FONT=Courier New]
    [/FONT]    [FONT=Courier New] [COLOR=Blue]!this.pltPath  = 'C:\AVEVA_GADZ\Pdms11.6.SP5\pmllib\gdzlib\forms\plt'[/COLOR][/FONT]

    Make sure to supply the correct path.

    If you have more clarifications, please contact me thru email.

    Regards,
    Gadz
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jon Bon Jovi
    Jon Bon Jovi over 14 years ago
    Could be useful:

    [url=http://www.pmlguru.com]PML Developer Reference[/url]
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • carvalho
    carvalho over 14 years ago
    Friend,
    The path had already changed before, both of plt as "Mac" and "opt ". All are correct.

    The company I work asked me to create a form with only some UDA's to facilitate the completion by the modelers, but I know nothing of PML. I took some basic manuals on the forum to study in the same forum.
    What is your email?

    best regards.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>