08-09-2010 04:56 PM
Ola, bueno estoy haciendo un VI, donde en una tabla aparecen los archivos .xls ordenados. Quiero poner check box, en cada campo, para que el usurio pueda
seleccionar el archivo que aparece en la tabla y lo abra o elimine.
E encontrado varios ejemplos de tablas con checkbox, pero son de 2D, y no me sirven o en ta caso no se como aplicarlo a lo que requiero.
Alguna idea???
Solved! Go to Solution.
08-09-2010 05:07 PM
Ups wrong forum, well In this VI i have one table, where it shows the .xls file(sorted), I want to put a check box, in every field, so that the User can
select the file that appears in the table and open it or delete it.
I found several examples of tables with checkbox, but they are 2D array, and there are not useful to me or in this case I couldn't apply it to what I require.
Any ideas??
08-09-2010 05:22 PM - edited 08-09-2010 05:22 PM
Using Google Translate:
Hi, well I'm doing a VI, where a table shows the files. Xls sorted. I want to check box, in every field, so that the Ussuri can select the file that appears in the table and open it or delete it. E found several examples of tables checkbox, but they are 2D, and no use to me or if ta not apply it to what they require. Any ideas??
You have to use either a multicolumn listbox or an array of clusters, where each cluster contains a checkbox and a string. For a multicolumn listbox, see here.
Your VI has numerous problems:
See attached figure.
It appears that you are trying to remove the duplicate entries from the array of files in the specified directory. If so, please do a search for "remove duplicates array", and you will find several efficient algorithms.
08-09-2010 08:14 PM
Thanks for select the errors of mi VI 🙂
I just correct them and remove the duplicate entries from the array of files using a example from another topic.
But still cant put the checkboxes :S. The examples that you recomend me, are not what I'm trying to do.
Or at least I can't see how to used it on what I'm doing.
08-09-2010 09:28 PM
See attached example (LV 2009) on one way you could do it using an array of clusters.