[go: up one dir, main page]

0% found this document useful (0 votes)
58 views6 pages

Aveva Sys Com

Uploaded by

Abhijit B
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
58 views6 pages

Aveva Sys Com

Uploaded by

Abhijit B
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 6
111723, 531 PM POMS call Operating System Command - eryar- C++ blog navigation Home New Essays contact EEN polymerization manage lbedicated to 1630 CAD plications fame: Shing Liu eryar(at) <>.com [Zishing as Uiu(ervar@n l63.cor) s§ saa eee cexetramEps Frequently used links My essays My comment Essays in which I partcip Guest book (103) Leave me @ message View public comments View private messages Essay classification (654) L.PipeCAD(141) Ea 2.0penCASCADE(296) EI 3.RvmTranslater(50) Eas 4.AVEVA Solution(132) Ea S.database(3) EEN 6.0thers(32) Ea Archives of Essays (566). March 2023 (3) March 2023 (1) March 2022 (11) March 2022 (10) March 2022 (9) PDMS call Operating System Command Poved on 205-1007 12-44 car Rel09) Comers (0) At evte Que Cte: AAVEV Shion PDMS call Operating System Command eryar@163.com 1.Introduction AVEVA offers three secondary development methods: DARs, PML and AVEVA. Net (C#) . DARS is Fortran's library, can also be developed in C/C++, relying on few libraries, put can only be used for console programs, can nat be used in MEC or Qt programs, that is, can not have a user-friendly interface (GUI), s0 for extracting PDMS. data, and then do some processing of small programs, this method is also more applicable, AVEVA's PML, like common Python, Tel/Tk, Lua, etc, Is an Interpreted scripting language that can only be Interpreted and executed In PDMS software. Also equivalent to batch files for Windows operating systems. Many of the programs that come with POMS are developed in PML. The significant advantage of the scripting language is that it encapsulates commonly used commands, so that when testing new functions of the program, there is no need to compile the source code, but only to write scripts, which Improves the efficiency of software development; When using scripts, you need to ‘expose the functionality, which will give more consideration to the rationality of the interface, make the software architecture clearer, etc. The disadvantage is that for complex algorithms, the execution efficiency is low. There is also the fact that PML is ‘completely dependent on AVEVA software, and it cannot fly out of AVEVA like an airplane out of air AVEVA . Net is a more convenient way to develop with AVEVA, Combined with C#'s rich libraries and being more efficient than PML, applications can be developed quickly on AVEVA using C#. And PML.Net makes it possible to call C# libraries in PML. For ‘example, using C# can directly read Word, Excel, and even AutoCAD OWG files, so Using C# to develop PDMS has abvious advantages, but there are also disadvantages, that Is, program debugging is not convenient, when the Cé library DLL is loaded by PDMS, can not be unloaded, can not mocify the source code in real time, development ‘efficiency has an impact, POMS provides commands to invoke system commands in PML: syscom, With this PML ‘command, a new architecture is provided for the development of POMS. This article details the use of the syscom command and how to use it to point out @ new way for POMS secondary development. 2.How to... 'SYSCOM Is also a PML command, which is used the same as other PML commands, ‘except that its argument is the OOS command in Windows. If you enter the command ssyscom ‘dir in the command window, you can display the contents of the current folder in the console window: yor Figure 2.1 syscom usage Similarly, typing syscom ‘help’ displays instructions for common DOS commands: wivw.copblog.comleryararchiva/2015/10/27/212120.hml 18 111723, 531 PM March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March Merch March March March March March March March March March March 2022 (8) 2022 (7) 2022 (6) 2022 (5) 2022 (4) 2022 (3) 2022 (2) 2022 (1) 2021 (12) 2021 (11) 2021 (10) 2021 (9) 2021 (8) 2021 (7) 2021 (6) 2021 (5) 2021 (4) 2021 (3) 2021 (2) 2021 (1) 2020 (12) 2020 (11) 2020 (10) 2020 (9) 2020 (8) 2020 (7) 2020 (6) 2020 (5) 2020 (2) 2020 (1) 2019 (12) 2019 (11) 2019 (10) 2019 9) 2019 (@) 2019 (7) 2019 (6) 2019 (5) 2019 (4) 2019 (3) 2019 (2) 2019 (2) 2018 (12) 2018 (11) 2018 (10) 2018 (9) 2018 (8) 2018 (7) 2018 (6) 2018 (5) 2018 (4) 2018 (3) 2018 (2) POMS call Operating System Command -exyar- C++ blog Figure 2.2 syscom call DOS command directly hus, using syscom is equivalent to running a DOS command, Because DOS commands ‘can invoke programs, such as opening Notepad, it should also be possible to open Notepad using syscom. Call the command syscom ‘notepad’, as shown in the following figure: syseom ‘i? ‘syscom "help! ‘syscomt ‘notepad! a Figure 2.3 syscom to open a notepad ‘After opening Notepad, you can see that the PDMS program is in a waiting state. Only ‘when Notepad is closed does the PDMS program return to normal. How to make the POMS program execute without waiting for the program to be called? The POMS also provides a method to add an & after the program name. For example, syscom ‘calc8’, you can open the calculator program without waiting to close it syscom ‘dir m" syscom ‘help ssyscom ‘notepad syscort‘calc&’ > Figure 2.4 syscom to call calculator 3.New Architecture With this command, the scalability of PDMS is improved, because syscom can be used to Invoke scripts In Windows, Le, batch fles. In this Way, you can use bateh to call ‘other programs, so as to get rid of the inconvenience of debugging after loading DLLs when AVEVA .NET (C#) is developed, and you can also get rid of the limitations of programming languages, as long as @ program can be called through batches, that Is, You can use C/C++ or C# or even VB to write programs, and then use syscom to call 50 calling batch through syscom is also a new development method, and the following is a simple example to illustrate how to pass PML variables to batch. Save the following ‘code 2s syscom .bat in the PDMS installation directory: echo off ‘sot param1=91 wivw.copblog.comleryararchiva/2015/10/27/212%20.hml 216 111723, 531 PM March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March March Merch March March March March March March March March March March vwwcapblagcomferyariarchive/2015/10/27/2°2120.himl 36 POMS call Operating System Command - eryar- C++ blog 2018 (1) ‘echo echo from syscom. bat za17{0) ae mm moe) an 2016 (12) Figure 3.1 pass parameter to batch file zien Inns my yc nn i em bP 0 yo a Lata amet zai) - mie) = cat rae mis) mis msn : 2015 (9) { . . m0) zis) a 2015 (5) For simplicity, place the program generated by the above code in the PDMS installation mee) mt mu 2018 (0) Feo aaa ee 2014 (7) Figure 3.2 pass parameters to C++ program mo a4) Asuna tn ve gap eam a ease ek ny geno 2014 (4) variables directly into the program. This way to develop PDMS is better than with wes. cae eee eee se fata 2013 (11) good, and the key parts of the program are implemented in C or C++ or other un PDMS. More importantly, the program debugging is convenient and the 111723, 531 PM March March March March March March March 2013 (8) 2013 (7) 2013 (6) 2013 (5) 2013 (3) 2013 (2) 2013 (1) 2012 (12) 2012 (11) 2012 (10) 2012 (9) 2012 (8) 2012 (7) 2012 (6) 2012 (5) 2012 (4) 2012 (3) 2012 (2) 2012 (1) 2011 (12) 2011 (11) 2011 (10) March 2011 (9) March March March March March March March March March March March March March March March Links 1 OpenCASCADE Offical 2.0penCASCADE Digest 3,PipeCAD 4.at S.Githubjeryar [Search Latest comments EEE re: PipeCAD Import IDF ‘The comment content is long, cl Ick the title to view yar 2. Fe: PipeCAD Import IDF Where is the format of IDF and PCF introduced?” ~-leeDream 3. re: OpenCASCADE paramete F surface area etEEal these algorithms are ultimately the application of mathematical theory, and itis quite rewarding to be able to link theory with pr actice ~eryar 4. re: OpenCASCADE Incremen tal Mesh etEma OpenCASCADE feels that tis cu rrently the only open source ker nel library in the world with rela _wivw.copblog.comleryararchiva/2015/10/27/212120.himl POMS call Operating System Command - eryar- C++ blog development efficiency is high. Therefore, this development method can be said to be a new and convenient way of development, 4.Conclusion In summary, several ways of PDMS development are compared by detailing the ‘command syscom in which PML invokes system commands. By comparison, it shows that the way to use syscom to call the program is more convenient, and the progrem is ‘easy to debug and has good confidentiality. Programs are also unlimited in size and can range from simple small progrems to more complex applications 5.References 41, AVEVA, DESIGN Reference Manual General Commands 2. AVEVA .NET Customisation User Guide 3. AVEVA Data Access Routines User Guide 4, AVEVA, Software Customisation Guide 5. AVEVA. Software Customisation Reference Manual POF Version: PDMS call Operating System Command Comments can only be posted If registered users are logged in [Recommended] More than 50,<> lines of VC++ source code: large-scale configuration Industral contrel, power simulation CAD and GIS source code library Related Articles: Tnroduetir umTranslator how-to video ‘SmartPlant3D VUE parsing Pipelso - POMS21DF {0 AD mapping software umTranslator7.4.1-Clipping Box ‘umTranslator7.6,0-POMS Text umTranslator 3D POF in Ubuntu umTranslator? 3 umTranslator7.2 RumTranslator7.2 ‘Site navigation: Slog Park IT News Blogiava Knowledge Base BlogAsk Management 406 111723, 531 PM tively complete modeling funct Thank. eryar 5. re: PipeCAD ft otemal 26, MEERA BRR ~eryar 6. re: EasyMesh - A Two-Dimen sional Quality Mesh Generator FART, ENB tH 7. re: OpenCASCADE S875 ® eu, 8 te) 8, re: OpenCASCADE Incremen tal Mesh OpenCASCADE Bi2A7EH, BT NEE: ) temo 9 re: RvmTranslator for Linux ACEOLRENTER, STR SiH 666 ti) 10. re: PipeCAD bt OAT STOO PILES, ad tai 11, re: RumTranslator7.3 MRA ti 12. re: OpenCASCADE FSR RU, 3% 13. re: OpenCASCADE 7.4.03) eA onmeeen HS, 0.1m, ~eryar 14, re: OpenCASCADE 7.4.08) aR LORI EEMMT 7.4.08 SR SE 5. re: ELUNE SRI @cesu2009 8 ~eryar ste 1. OpenCASCADE MeSH (29455) 2, OpenCASCADE Outline(2932 4) wivw.copblog.comleryararchiva/2015/10/27/212120.hml POMS call Operating System Command - eryar- C++ blog 56 111723, 531 PM POMS call Operating System Command - eryar- C++ blog 3, OpenCascadespffyDelaunay= #98159(24962) 4. Qt with OpenCascade( 1746 —8-Spline Basi s Functions(15615) riewst8 1, OpenCASCADE Agee Sui Gs) 2, RvmTranslator4.0 Beta Versi on is Released(30) 3. AVEVA Model Data Exchange Changetog(28) 4, QE with OpenCascade(25) 5, Open Cascedeshisfe/HtE(L 9} rd wivw.copblog.comleryararchive/2015/10/27/212120.himl

You might also like