02-15-2013 02:36 AM - edited 02-15-2013 02:38 AM
Here screenshots on how to implement the first option using build array:
And the true case:
Norbert
PS: Note that this procedure is only recommended for "small numbers of files to search for". Build array can blow your memory, so if dealing with lots of files, you should follow option 2.....
02-16-2013 06:18 PM
Hi my friend, How are you ?
This is what I did till now,
I'm waiting for your remarks and observations.
Cordially
IBN HAYANE Faiçal
02-18-2013 03:21 AM
Your code will most likely not work as you expect... did you try it?
Norbert
02-18-2013 04:20 AM
Yes I did, It works good, the only problem that I still have, in the result I got some empty boxes in my array !
I tried in vain the function "Delete from array" !
have you any proposition to do that ?
Thanks
02-18-2013 04:24 AM
You only delete a single entry from the array.
The reason is that the "subset to delete" will only store one value. Reading the variable will create a copy of "subset to delete" sometime during code execution. So you will not know when the variable is read and what the value will be. This is called "race condition".
You have to create an array of indizes to delete.
Norbert
02-18-2013 05:57 AM
Thank you for your responsiveness,
Please have a look at my program as an attachement, it works but it needs something what I don't know !!
best regards
-------------
Faiçal
02-18-2013 06:47 AM
There are several severe flaws in your VI. I corrected them and put some style into it i ask you to keep for future work with LV.
Here you go, as mentioned, the one exception for this year....
Norbert
02-18-2013 08:42 AM
Thank you very much for your help. I have done some nice applications within LabVIEW, But now I feel really overdue.
Anyway, thank you very much, I'm very lucky to contact you.
Cordially
---------------
Faiçal