LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get value by mouse click?

Sorry about bother you all... but if i didn't ask... then i will never know how to get value by mouse clicking...
i want to store array(string) into a table by clicking the mouse... after i wish to cancel it by clicking the mouse too... it is have anyone can help me know about this?

Hope any expert can help me know about this.... thanks!
0 Kudos
Message 1 of 8
(3,608 Views)
Hi

Here you have a vi, which does what you want. Just fill some values into the array (ValuesToWrite). If you click on the frontpanel, the values are either writen into or removed from the table.

You can use the event-structure to realise something like that.

In the event-structure I check if there are any values in the table. If there are, they are deleted otherwise values are written.

Hope this helps.

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 8
(3,604 Views)
thanks for your reply...
Actually i had saw this example in this forum already... but i think that can't help to solve about my problem... but anyway thanks ur help....

erm.... becktho, if you don mind can u answer me about the question below?

i had used a combo box to catch data and insert into a table, but what i found is i can't delete the value from the table... what i mean is not only remove it from the table, but also disable the combo box in a same time, is it possible to do that?

below is a simply VI that i made to store data into a table...

thanks you once again!!! ^_^
0 Kudos
Message 3 of 8
(3,591 Views)
I use LV 7.0.

Please post your vi once more as LV7.0 vi.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 4 of 8
(3,589 Views)
Sorry, i still very fresh in labVIEW...
So, can you let me know what i gotta to do? so that i can post the vi match your version....
i'm using LV7.1 Express......
0 Kudos
Message 5 of 8
(3,568 Views)
Here is the vi in 7.0. To save for 7.0 from 7.1, click File - Save with Options. In the popup window you will see a radio button next to Save to Previous (7.0). Click this button, then click Save. The vi will be saved in a newly created folder.
Using a combo box is not a good idea. You cannot disable just one item from the combo box. You can disable the entire box or nothing at all. Use a text ring instead. I have sent you an example vi in another one of your posts.
- tbob

Inventor of the WORM Global
0 Kudos
Message 6 of 8
(3,563 Views)
Sorry, forgot to attach the 7.0. This new forum is has the attach button at a bad location. It should be next to the Submit button or before it.
- tbob

Inventor of the WORM Global
0 Kudos
Message 7 of 8
(3,563 Views)
thanks for u all's help...
i think i already got what i need in other message that i post...
you all really help me a lot! Here's people are so kind.... ^_^
anyway thanks again for all of you!

Jaxx
0 Kudos
Message 8 of 8
(3,555 Views)