KB-28004: MsgBox command not working in scripts running in a data server.
Question: I have a MsgBox command in a script running in the data server. However, the message is not being displayed when the application is executed. How can I fix…
Question: I have a MsgBox command in a script running in the data server. However, the message is not being displayed when the application is executed. How can I fix…
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 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 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 **…
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…
Descrição: Como trabalhar com a operação matemática raiz (radiciação) no E3? Solução: Para a raiz quadrada, pode-se utilizar a função Sqr do VBScript. Exemplo de script: Dim MySqrMySqr = Sqr(4) …
Question: Can I have more than one query per report? Solution: No; reports in E3 can only have one query. If you need to use different SQL commands, just pass…
Question: How can I set a Label object to be displayed vertically? Solution: You cannot set a Label to be displayed vertically; however, you can use a Text object (which…
Question: How can I make a text slide on screen? Solution: To do so, you must first create a RampUp demo tag on Viewer. Then, on screen, add a display…
Question: How can I have an SQL query return values every ten minutes, even when the Historic keeps recording these values every second? Example: 4h 30min – tag1 = 1…