2/26/2014 1:34 PM | |
Joined: 4/24/2006 Last visit: 4/26/2024 Posts: 8616 Rating: (1147)
|
Hello s_vb, Are you talking about a script continuous running? Why do you not use the scheduler? Best regards, Wizard |
2/26/2014 2:46 PM | |
Joined: 10/24/2011 Last visit: 3/9/2023 Posts: 257 Rating: (1) |
Hellordoliveira, I am calling one script on screen background and one on Button's event (Click). One script is running continuously as it is in "For Loop...Next", once I go in runtime. And after that, when I press button, second script is not getting executed. Also in Scheduler, can I change time duration? I want to log data after 15 minutes. Thanks, Shailesh
|
2/26/2014 5:35 PM | |
Joined: 4/26/2012 Last visit: 4/26/2024 Posts: 1520 Rating: (158) |
Better explains what each script does? you can not stop a script to run the other and back to the first run. I've had to do this, I run a script and every 3 minutes I stopped and run for another "scheduler". what you're doing, is not lockingHMI screens or you have only one screen? |
Last edited by: rdoliveira at: 2/26/2014 5:39 PM"Always make a backup before and check the best time before testing." |
|
2/27/2014 6:42 AM | |
Joined: 10/24/2011 Last visit: 3/9/2023 Posts: 257 Rating: (1) |
Hi, Thanks for reply. In one script, I have used it for logging data in SQL database after every 15 minutes. I have attached script with this thread for your reference. And other script is for reading data from one of table from SQL. Is it possible to change time in scheduler? I want it to be like 15 minutes. But in scheduler's event I can't find that time duration. Thanks, Shailesh
AttachmentScripts.zip (108 Downloads) |
Last edited by: s_vb at: 2/27/2014 6:49 AM |
|
Follow us on