10-10-2014 12:42 PM
@Bob_Schor wrote:
I'm happy to do only a single post, and have it show up on both boards, but have no idea how to do this, hence I post to both places. When I'm ready to post, maybe you can help me to do it more gracefully ...
Yeah there is no graceful way of doing it. In my mind there are topics which LAVA is better equiped to discuss, and topics NI's forums are better at. When I have a question that I want both groups opinions on I will post in both places, then link from one to the other.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-11-2014 01:43 PM
Bob,
Are you using 7Pro? I'll be interested to hear your solution. I just started using 7Pro on a new machine, and the security is a PIA!
10-12-2014 10:46 PM
Ha! I was trying to fire up a Windows XP platform so I could test your solution. I'm working on this, and will certainly share what I know here, once I figure it out. Feel free to trump my efforts ...
BS
10-13-2014 01:26 AM
@lmtis wrote:
Is there a way to programmatically change the last modified date of a folder?
Hi All,
A question aside - Is this not generally considered as a violation in automated test applications? My intention is to understand the practical use-case of providing this feature in our applications (nothing came up in my mind). Pl enlighten me,
10-13-2014 03:51 AM
I think it's definitely an edge case and in situations were any form of auditing is required in fact a backdoor to try to fake something the auditing might find important. Even some backup applications usually won't chance at least the last access and often modification time after restore.
10-13-2014 08:51 AM
I don't have a network server to send data to. I copy data from a production test stand using a flash drive. I then transfer it to my development PC. File folders now all have todays date. Much more difficult to evaluate chronologically even though the folder names contain the date.
10-13-2014 10:09 AM
Name your folders with the appropriate date. i.e., 2014-10-13 13:04:05 (resolution of the time/date is up to you).
10-13-2014 10:17 AM
@lmtis wrote:
I don't have a network server to send data to. I copy data from a production test stand using a flash drive. I then transfer it to my development PC. File folders now all have todays date. Much more difficult to evaluate chronologically even though the folder names contain the date.
10-13-2014 10:24 AM - edited 10-13-2014 10:25 AM
@lmtis wrote:
@lmtis wrote:
I don't have a network server to send data to. I copy data from a production test stand using a flash drive. I then transfer it to my development PC. File folders now all have todays date. Much more difficult to evaluate chronologically even though the folder names contain the date.
Exactly! And Windows Explorer allows you to sort according to file/directory name too. In fact it's the default sort order for a newly created folder. So rather than trying to outsmart the system with low level calls a much easier solution would be to make sure that the folder naming is formatted in such a way that sorting it by name will give you the sort order you wish.
Bill's suggestion for a formatting will make sure the folders are sorted from oldest to newest thanks to Windows Explorer's smart sort.
10-13-2014 10:58 AM - edited 10-13-2014 11:00 AM
@billko wrote:
Name your folders with the appropriate date. i.e., 2014-10-13 13:04:05 (resolution of the time/date is up to you).
Since I follow this convention in almost all my ATE LabVIEW Er jobs till now, this corner case (I mean the copying contents to a diff machine/network) necessity never came across my mind.
Maybe, Bill, you should have used the word "Timestamp" instead of "Date", so that it would not have appeared to Jim that you had overlooked the last part of his statement.