KB-31905: Working with a number’s nth root.
Question: How can I work with a number’s nth root in E3? Solution: To work with square roots, use VBScript’s Sqr function. Example of script: Dim MySqrMySqr = Sqr(4) ‘…
Question: How can I work with a number’s nth root in E3? Solution: To work with square roots, use VBScript’s Sqr function. Example of script: Dim MySqrMySqr = Sqr(4) ‘…
Question: Which function returns the object type? Solution: The function is TypeName(). Example of script: Dim ArrayVar(4), MyTypeNullVar = Null MyType = TypeName(“VBScript”) ‘ Returns “String”.MyType = TypeName(4) ‘ Returns…
Question: How can I toggle a tag’s value with a button via libraries? Solution: At the XControl’s (XC) button, write the following script: ‘If tag’s value is 1 if XC.Fonte.Tag.Value…
Question: How can I retrieve the Offset set up at the computer so that I can calculate the time according to UTC/GMT? Solution: Via VBScript, you can retrieve the Offset…
Question: Can E3 communicate with Java successfully? Solution: Communication can be established via XML files, that is, you can generate a file in XML format via Java and then read…
Question: Does E3 comply with FDA CFR title 21? Solution: Yes. To do so, E3 has a method called ESign, as well as events recording. For further information, please refer…
To answer this question, we must first evaluate the application. There are several E3 resources that consume bandwidth, such as: alarm summaries; Viewer queries; Viewer scripts accessing server objects (such…
Question: How can I create a Function in an E3 script? Solution: A simple example of how to do it would be: Sub CommandButton1_Click() MsgBox Function()End SubFunction Function() Function…
Question: Can Sleep function be used in E3? Solution: VBSscript’s Sleep method (Windows Script Host – WScript Object) cannot be applied to E3. Furthermore, techniques that “consume” time and/or interrupt…
Question: What is the maximum amount of characters that can be used to name a tag? Solution: For E3 version 3.2, the maximum amount is 259 characters.