KB-25514: Creating links between objects in different screens.
Question: Can objects from two different screens be linked to one another? Solution: No, they can’t. If it is really necessary to link these objects, you can add internal tags…
Question: Can objects from two different screens be linked to one another? Solution: No, they can’t. If it is really necessary to link these objects, you can add internal tags…
Question: Which method should I use to open a Windows screen asking in which folder the user wishes to save a certain file, or in which folder the file is?…
Question: How can I activate Windows Script Debugger? Solution: Scripts can be debugged in E3 either in the server or in the Viewer. To do so, you must install the…
Question: How can I set Windows’ clock via E3 scripts? Solution: To do so, use DATE and TIME commands via DOS command line. It can be inserted in a script…
Question: I use WriteEx() method to command a remote device’s output. Some of these commands return errors, but the driver’s log indicates this method is working properly. How can I…
Question: How can I change a pen’s width at runtime? Solution: To do so, you must change the pen’s Width property via scripts. Example: Screen.Item(“E3Chart1”).Pens.Item(“Pen1”).Width = 20 NOTE: Attached to…
Question: How can I pass additional parameters for opening a screen via scripts? Solution: To do so, you can use Parameter field in Open Screen pick. In OnPreShow event of…
Question: How can I load a query’s result into an internal tag? Solution: To do so, you must use query’s GetADORecordset() method. In the script below, the query on the…
Question: How can I ping a device that is external to the network running the application? Solution: To do so, you can use VBScripts commands. For example: dim oShell, strComputerset…
Question: How can I read/write TXT files with E3? Solution: To do so, you must use the methods from FileSystemObject object. Examples: ** Script to create a TXT file **…