05-18-2010 11:19 PM
I actually have two doubts/questions:
1- I need to create a timer that translates into seconds the current time of the system (i.e. 10:00 = 36,000s and 00:00 a.m. = 0 s) , I've tried this by using the format date/time string function but I can't separate the time from the date, anyone has any ideas on how to do this?
2- Also, this is the first time I'm going to be using a daq-6008 on a separate computer which doesn't have LABView installed, for this I'm supossing all I need to do is install the driver on this other computer and with the .exe file of the program I'm creating should be enough right? In the sense that the daq will still work apropiateley without the need of installing LABView.
Thanks for you help!
Solved! Go to Solution.
05-18-2010 11:33 PM - edited 05-18-2010 11:34 PM
magb321 wrote:I actually have two doubts/questions:
1- I need to create a timer that translates into seconds the current time of the system (i.e. 10:00 = 36,000s and 00:00 a.m. = 0 s) , I've tried this by using the format date/time string function but I can't separate the time from the date, anyone has any ideas on how to do this?
So your time is relative to midnight? I'm assuming you reset once you pass midnight? If so, you can use the Get Date/Time In Seconds and the Seconds to Date/Time to get a cluster that you can easily peel off:
2- Also, this is the first time I'm going to be using a daq-6008 on a separate computer which doesn't have LABView installed, for this I'm supossing all I need to do is install the driver on this other computer and with the .exe file of the program I'm creating should be enough right? In the sense that the daq will still work apropiateley without the need of installing LABView.
The target computer will also need the LabVIEW Run-Time Engine (to run your app) and DAQmx (driver for the 6008) installed.
05-18-2010 11:41 PM
Ahhhh so beautiful and simple...
Thank you!