KB-32098: Divinding a tag’s value.
Question: How can I display an I/O tag’s value divided by 10? Solution: To do so, there are two possibilities: Enable the I/O tag’s scale to dividide its value by…
Question: How can I display an I/O tag’s value divided by 10? Solution: To do so, there are two possibilities: Enable the I/O tag’s scale to dividide its value by…
Question: How can I tell whether the user has pressed Cancel key while FolderSelectWindow() function is being executed? Solution: Whenever Cancel option is pressed, this function returns an empty string…
Question:How can I log in to an application with a barcode?Solution:To do so, follow these procedures:First, make sure you have the device (barcode) set up and working properly…
Autor
Mateus Machado
Question: Can I insert a table in a formatted report? Solution: Yes, but the table must be drawn manually. It will also remain fixed, that is, it will not increase…
Question: How can I open an E3 application with a button, so that this application opens only once? Solution: To do so, create an internal tag in the Viewer, and…
Question: How can I add date and time to a report’s name, so that every time a report is loaded and exported, a new PDF file is generated with a…
Question: How can I force the use of a scrollbar with DoModal method? Solution: To do so, you must add zoom type to “Screen” parameter, as well as a question…
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 check, at runtime, whether an object’s Value property is already linked? Solution: To do so, use a script that is similar to the one in the…
Question: How can I synchronize the PLC’s date/time with the computer’s date/time (BIOS)? Solution: To do so, use this script: dim oShellSet oShell = CreateObject(“WSCript.shell”)oShell.run “cmd /K DATE “& Application.GetObject(“Dados.Data”).Value,0…