12-02-2014 05:58 AM - edited 12-02-2014 06:00 AM
I'm not sure how to integrate that DVR idea into FGV timer...
I could create reentrant timer as a while loop (but not like in FGV, this loop will not be limited to one iteration - see snippet below) and insert DVR inside it. In DVR will be store (as a variant attribute) time results form every created timer clone.
I'm assuming that it is not what You talking about Sam Sharp, so please, can You clear things up for me?
12-02-2014 07:50 AM
Essentially your timer 'data' is the start time and the timer duration - so create a cluster with those items and store that as a variant attribute (with the name of your timer) in your DVR variant.
For the DVR reference you could either retrieve that from a Global as crossrulz said or read it from a non-reentrant FGV (a DVR is a reference to the data, not the data itself so you're only reading the reference like you would with a queue or other reference). Or you can just wire the DVR reference around...
Then you can create a timer VI just like you had but has an extra input for the timer name which you use to pull out the timer data from your DVR.