KB-40481: Listing files from a folder in a browser.
Autor
Mateus Machado
Autor
Mateus Machado
Autor
Guilherme Taschetto
Question: How can I record the name of the user logged into an Elipse SCADA application in a text file (*.txt)?Solution: To do so, just write the application’s userName attribute,…
Question: How can I display a message when the login is incorrect? Solution: To do so, you must use a script that tests if the Application’s useName attribute contains any…
Question: How can I break a line on a MessageBox? Solution: To do so, you must write a script using the Chr() function. For example: MessageBox(“phrase line 1″+Chr(13)+Chr(10)+”phrase line 2”…
Question: There is a script in the application using UserAdministration() function, but when the function is executed nothing happens. Why is this happening? Solution: This function is only executed if…
Question: How can I request the user to confirm before writing on a tag? Solution: To do so, you must use MessageBox() function. Then, depending on the answer returned by…
Question: How can I convert a number into string? Solution: To do so, use the Global Manager’s Str() function. Example of script: // Str(Value,size,prec)TagReceiveValue = Str(30.95,6,2)
Question: How can I remove blank spaces from a variable? For example, the text “Elipse Software Ltd.” is in a variable, but I want to display “ElipseSoftwareLtd.” instead. Solution: To…
Question: What is the exponentiation function in Elipse SCADA ? Solution: To do so, you must use **. Example of script: // tag001 squared tag001 ** 2