07-12-2013 03:13 PM
Hey I was hoping someone would have an answer for this. It's not really a critical part of the program but it would be nice to have sooooo...
I'm able to calculate an estimate of the amount of time my program will take to run. Is there any way to then take that time, add it to the current time, and have the program display what day and time the program will finish? I'm pretty new to labview and haven't really messed around with the time tools much but I've been messing with it for the last 2 hours and haven't really gotten anywhere 😕 any help would be appreciated 🙂
Thanks!
07-12-2013 03:19 PM - edited 07-12-2013 03:21 PM
07-12-2013 03:24 PM
sorry didn't realize you could just add them together... I figured you'd have to convert the time and date to numbers... that's what I couldn't figure out 😕
07-12-2013 03:28 PM
Hi John,
you should have learned from this question about the polymorphism of many LabVIEW functions.
You can add different datatypes (like timestamp and DBL as shown above).
You can add scalars to arrays.
You can add arrays to arrays.
You can add scalars to clusters.
You can add clusters to clusters.
You can add to waveforms (special kind of cluster).
...
All with just the same add function!
To learn more about that go through online tutorials and check the examples coming with LabVIEW!
07-12-2013 03:30 PM
@johnsaa wrote:
Hey I was hoping someone would have an answer for this. It's not really a critical part of the program but it would be nice to have sooooo...
I'm able to calculate an estimate of the amount of time my program will take to run. Is there any way to then take that time, add it to the current time, and have the program display what day and time the program will finish? I'm pretty new to labview and haven't really messed around with the time tools much but I've been messing with it for the last 2 hours and haven't really gotten anywhere 😕 any help would be appreciated 🙂
Thanks!
You could use a slider bar. I did a very simple VI (LV12) but you could quite easily use your application to use a slider bar.