02-28-2008 03:20 PM - edited 02-28-2008 03:21 PM
02-28-2008 03:45 PM
02-28-2008 03:56 PM
02-28-2008 04:07 PM - edited 02-28-2008 04:07 PM
See below for how to get last element in an array.
But it is a really big assumption that the last file in your directory will be the latest. It all depends on how the operating system orders the files. Suppose an early file that was created is the most recent one to get modified? It would be higher up in the directory list.
02-28-2008 04:22 PM
02-28-2008 04:42 PM
02-29-2008 02:09 AM
Without seeing the code, I'm not sure what the problem is exactly, but if you have an invalid output, you can put a case structure around the entire code and check the value of the SN to decide whether to run the code or not.
To learn more about LabVIEW, I suggest you try looking at some of these tutorials.
02-29-2008 12:29 PM
02-29-2008 01:17 PM
Hi krispiekream,
why do you need the while loop? If you only want to get the latest file with your serial number try this code.
Mike
02-29-2008 03:01 PM