Hello wv,
do you want someone to develop a program for you? Then you have to pay him/her
🙂Some hints: Make an array for your time values. To reset a timevalue you just need to clear it. To have an offset you just set it in that array. Let the status-vi run in a loop and get the time difference for one loop iteration. Add that delay to the timevalues, if the status of the lamp is on. If you need that timevalues after restarting your VI you should think about a subVI for saving and reading the timevalues.
Best regard,
GerdW
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019