05-22-2016 08:37 PM
Hello All. Does anyone know how to save data (seconds) in time format HH:MM:SS using the write data module? I can display the data that I want to save in a digital meter module in the format HH:MM:SS. However, when I tried to save it in a ASCII file format, the data will be saved as a number. I know that I can change these numbers to hours, minutes and seconds. But, I have several channels recording data and it will be really helpful if I can do it programatically. Thank you in advance for the help.
05-23-2016 07:13 AM
It's an option in the Write Data module, ASCII, Options dialog.
05-23-2016 08:04 AM
Thank you for your answer CJ. I have changed the time format as you suggested. It changes only the time stamp on the data. But it doesn't change the format of the data logged. Please see attached file.
05-25-2016 11:15 AM
DASYLab doesn't have a concept of time as a data format, only numbers. So time is in seconds, and it can be displayed in the Digital Meter formatted as hh:mm:ss.
But, the data is still in seconds - just a number that you are interpreting as time.
So, to answer the question, no, there is no way to do that. The Write Data module can only write numbers, not formatted time.
05-28-2016 08:19 AM
Thank you very much for your answer. It seems that I don't have a choice but adjusting the data to the required format later on in excel.