LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

interactive working with sql

hello,
for my project it is important that i can choose some cell from a table by clicking on it and after that use that value. this table on the front panel is filled with data from a remote sql database. is it somehow possible to use the mouse cursor to select data from that table while the VI is running?

could anybody help me please? thanks
0 Kudos
Message 1 of 3
(2,559 Views)

Hi Korst,

In case it may provide some ideas, here's an example that populates a Table Control with strings and checks whether the user has selected a cell.  You could populate the Table from your database.  What to do with the selected-text is up to you!

This examples makes use of property-nodes - which can be really slow.  The nested loops that initialize the Table make 26**2 references to the Table property-node and there's a trick to speed this up - do you see it? 

Cheers.

 

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 2 of 3
(2,538 Views)
thanks very much
0 Kudos
Message 3 of 3
(2,515 Views)