Scripting
Tis I the view faq page 4 html
How to trigger a script in EMTP
         I.           From the Script tab Create a new JavaScript document (ctrl + N) Click on run This method is good for small scripts.The EMTP code editor must be used.     II.       From the Design tab1.      Click on Run a script This method ... See more
What are DWDevice, DWCircuit, DWSignal, DWPin, etc in EMTP JavaScript?
DWDevice, DWCircuit, DWSignal, etc refer to JavaScript classes of the EMTP graphical user interface (GUI) which are used for scripting purpose.DW is the abbreviation of DesignWorks which is the name of the technology the GUI is built with.· A DWDevice is a device in the GUI, for exam... See more
How to get devices in circuit using EMTP JavaScript
Required knowledge: ààà* How to trigger a script in EMTP* What are DWDevice, DWCircuit, DWSignal, DWPin, etc in EMTP JavaScript?This script gets a DWDevice from an EMTP DWCircuit. This script gets DEV1 in the main circuit, then gets all resistances inside the subcircuit ... See more
How to change a device name using EMTP JavaScript
Required knowledge: ÃÂ ÃÂ ÃÂ * How to trigger a script in EMTP* What are DWDevice, DWCircuit, DWSignal, DWPin, etc in EMTP JavaScript?* How to get devices in circuit with EMTP JavaScriptThis script gets a DWDevice from an EMTP DWCircuit and change its attribute Name. //*Â Description:Â Thi... See more
How to connect signals and pins using EMTP JavaScript
Required knowledge:    * How to trigger a script in EMTP* What are DWDevice, DWCircuit, DWSignal, DWPin, etc in EMTP JavaScript?This script connects a device pin to different buses using virtual connection (signal naming) method or wire connection. Applications: · changing automat... See more
How to replace a device by another from a library using EMTP JavaScript
Required knowledge:    * How to trigger a script in EMTP* What are DWDevice, DWCircuit, DWSignal, DWPin, etc in EMTP JavaScript?This script replaces a device by another device type defined in a EMTP library (.clf). Applications: · changing converter model from detailed to average ... See more