Hi Steffi,
your first solution was ok
as long as you don't restart the vi without removing it from memory before.
When loading the vi into memory the shift register (SR) is reset to zero and is keeping the value from last iteration.
Now you initialized the SR in each iteration to zero, hence the 0-0.250 range of the time scale. To keep the last value you can use another SR as shown in the attachment or use some math based on the iteration count (start time= i * 0.25).
You should only learn from this: initializing SRs makes your vi more reliable... A SR is nothing more than a variable in text based languages, so keep them initialized!
Message Edited by GerdW on
11-07-2007 01:27 PM
Best regards,
GerdW

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