Search found 2 matches

by RobSel
Mon Apr 27, 2020 8:09 pm
Forum: Scripting
Topic: Script to replace text in AlarmView
Replies: 2
Views: 13372

Re: Script to replace text in AlarmView

It is old but hey. I do this for randomized naming with a timer script so that it actively updates naming for devices. Simple timer script triggering these moves to rename text fields in the alarm server for users without having to go around to HMI's every time a name changes and update the alarm se...
by RobSel
Thu Jul 12, 2018 1:30 pm
Forum: Scripting
Topic: Scripting for Time string to Seconds
Replies: 1
Views: 5581

Scripting for Time string to Seconds

I have tried to run this through several times and can get it working fine in simulated mode but never the HMI. I am currently using the X2 7 Pro. string time = Globals.Tags.Test1.Value; Globals.Tags.Test.Value = Convert.ToInt32(TimeSpan.Parse(time).TotalSeconds); And as i said before it works in th...