1/12/2021 11:58 AM | |
Joined: 1/20/2020 Last visit: 8/5/2022 Posts: 5 Rating:
|
sir we are new to vb i want to set a show last printer change time in scada . when production change the printer they will press the push button we want to save the time in scada how to do that this is out code but its not working when we press button its stop and when we release its start gain . we want when we press button it should show only time when they change and next time when they change that time . bassically last changed time. Function OutputValue_Trigger(ByVal Item) Dim Date Date = FormatDateTime(Now,vbGeneralDate) If HMIRuntime.Tags("410_STACK_PRINTER_COUNTER_RESET").Read(1) Then Date End if OutputValue_Trigger = DateEnd Function ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 01/13/2021 06:11:56New subject after splitting |
|
Follow us on