05-15-2013 02:31 AM
The attached can successfully log the data into a textfile.
i need to log the time and date as well, and if possible divide the textfile into 3 columns (DATE TIME DATA).
i really need this to work by this week.
Pls help.
Thank you so much.
05-15-2013
03:22 AM
- last edited on
11-07-2024
03:31 PM
by
Content Cleaner
I can't open your code right now... 😞
But...
I suppose you're saving your data as a string
there is a VI called get date/time with give you the date and the time of that moment.
You can add this to your code that saves your data
05-15-2013 03:36 AM
Is it possible if you could do your own vi and attach them to me?
Thank you so much.
05-15-2013 06:06 AM
Use the get date/time VI as ABCPrograms said.
To build this string, there are many ways you can do it.
As you said textfile, you can do the following:
Get Date/Time string and them concatenate it with your actual DATA, and write to a txt file.
To separate everything into columns, you can use commas (,) as a delimiter between the values.
Using a parameter like this, you will be able to export those values do excel later, and separate it into columns automatically.
Hope this helps.
05-15-2013
06:24 AM
- last edited on
11-07-2024
03:31 PM
by
Content Cleaner
05-15-2013 08:31 PM
Hi guys.As i am very very new to Labview, i don't knwo where to start.
I understand that i can use the get datetime string function, but the problem is that i dont know how to connect who to what.
As i have already done the program where the data is able to sent to a textfile, i'm not sure if i have to edit the whole program back.
If that is so, then i badly need help.
If there is anyone who can help me do their own vi and attached them, i would be very grateful.
As i am running out of time, i desperately need this to work 😞
Thank you so so much in advance.
05-15-2013 10:20 PM - edited 05-15-2013 10:34 PM