cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Building Array

Hi all,

Please find the attached picture, could someone help me to create something similar using labview?

Basically user key in the value fill and click insert, the value will be inserted into the list below and when user select particular value and click delete, it will delete the value from list.

I am trying to create one and would like to have some guide from you.

Thanks for the effort in advance.



0 kudos
Mensaje 1 de 13
4.052 Vistas

Hi cheyne,

here is a small example for you.
Hope it helps.

Mike

0 kudos
Mensaje 2 de 13
4.045 Vistas
Perferct!

Thanks bro..
0 kudos
Mensaje 3 de 13
4.043 Vistas
Hi,

How if I want to add a delete all button and shift up and shift down button? Could you please show me how i could make that?
0 kudos
Mensaje 4 de 13
4.028 Vistas
Hi cheyne,
delete all) create a new button, create the value change event and connect an array constant to the array
shift up/down) use the "index array" and "insert into array" function
 
Mike
0 kudos
Mensaje 5 de 13
4.017 Vistas
Hi,

I am not really good in array, but i manage to do a delete all button by creating a delete all button and create a event for it and once the delete all button is pressed. I do a re-initialize to default value.

As for moving up and down, mind showing me?

Thanks


0 kudos
Mensaje 6 de 13
3.998 Vistas

Hi cheyne,

i created the two new buttons and made the event for the down button, try to create the up event by yourself. Emoticono feliz

Mike

0 kudos
Mensaje 7 de 13
3.989 Vistas
Hi Mike,

Thanks for the effort.

By the way, if I would like to plot a graph by taking those value that i have inserted in the table to be the x-axis, any idea on how I can do it? I have been thinking about this and just get no clue of it. Hope you can guide me.

Thanks in advance.
0 kudos
Mensaje 8 de 13
3.952 Vistas

Hi cheyne,

you can convert your strings to a number and use an x-y-graph. Which are your y values?
See the attached example.

Mike

0 kudos
Mensaje 9 de 13
3.943 Vistas
Dear Mike,

Thanks for the graph,

Please refer to the Vi attached, I have a problem with it. When I click cancelled. The array will automatically cleared. How would I maintain my initial array?

It is like initially I have 2 value in the table, Then I inserted 3 more. Then i click cancel button, it should return to previous 2 value which are already inside the table. But for my case, once i click cancelled. It will just clear the table.

Please advice.


Message Edited by cheyne on 06-11-2008 01:51 AM
0 kudos
Mensaje 10 de 13
3.937 Vistas