10-19-2009 07:15 AM
That's an interesting one. I'm trying to figure out what it does. My guess is that it takes some arbitrary date/time string and runs it through the wringer until it finds a date/time format that successfully converts it to a time?
Does it work?
How about the %Y options? I would think the last element where it was a full date, would use a 4 digit year. So Saturday, October 17, 2009 makes more sense then Saturday, October 17, 09
I was answering Raven about this code. It does work and I have tried it with many different string dates. I have had to add a few extras because the manufacturers did not put the date in any kind of normal format. This VI takes a string input and searches through the list for a match and when it finds one it outputs the date that LabVIEW can recognize.
10-19-2009 07:24 AM
aeastet wrote:
I was answering Raven about this code. It does work and I have tried it with many different string dates. I have had to add a few extras because the manufacturers did not put the date in any kind of normal format. This VI takes a string input and searches through the list for a match and when it finds one it outputs the date that LabVIEW can recognize.
LabVIEW got so large that is now requires two forums to answer all the queries
10-19-2009 07:54 AM
10-19-2009 08:29 PM - edited 10-19-2009 08:30 PM
Complicated way to format the date into a filename.
Found here: http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=448438#M448438
10-19-2009 08:39 PM - edited 10-19-2009 08:42 PM
Found at same location as last post..
Really want to have a delay... Maybe force a minimum delay??? 😉
Not to mention the format into file abuse by not using \t in the format string.
10-23-2009 02:06 PM - edited 10-23-2009 02:12 PM
gonna repost..too much whitespace...
10-23-2009 02:11 PM - edited 10-23-2009 02:16 PM
Easy way or hard way to tokenize a string you know will have 7 line feeds??
10-24-2009 04:08 AM - edited 10-24-2009 04:10 AM
for(imstuck) wrote:Easy way or hard way to tokenize a string you know will have 7 line feeds??
Hmmm....
(Easier?) 🙂
(Spreadsheet string to array with /n as delimiter and 1D array of string as output)
10-24-2009 09:33 AM
10-24-2009 09:43 AM - edited 10-24-2009 09:45 AM
Now this is just extra code...I don't know if its "exceedingly" complex. But a double take was necessary to make sure I was actually seeing it right and at no other point did it matter which range the number was it. But sure enough, the only boolean value used was the one coming out of the or.