KB-16467: Loading a query’s result into an internal tag.
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 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 convert an absolute decimal value into its separate RGB values? Solution: To do so, you will need to use scripts. In the example below, the script…
Question: Can I write all the values in a block at once, instead of writing them individually in each element? Solution: Yes. To do so, disable the IOBlock’s AllowWrite property…
Question: How can I play sound files in E3? Solution: To do so, select a script and use Viewer’s PlaySound method. NOTE: Attached to this article is a sample application…
Question: How can I create links between I/O tags and objects already added to the screen, at runtime?Solution: To do so, use the object’s CreateLink method.: CreateLink (Property, Source[, Type])…
Question: Is there a Windows Vista-compatible script debugger available that can be used with E3? Solution: No, there is no specific script debugger available in Windows Vista, but we recommend…
Question: How can I show in a display the value of the pen being plotted in E3Chart? Solution: To do so, you must add E3Chart‘s GetCursorPos(x,y) method to a script…
Question: How can two dates from two different sources be compared to each other? Solution: To do so, you must use CDate() command to format the dates before they are…
Question: How can I disable the writing and reading of all the tags in a folder inside an I/O driver? Solution: To do so, you must use the Deactivate() method…