LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using muticolumn listbox and graph XY together

Hello!
I've a data matrix of double.....this data is presented in a multicolumn listbox and is plotted in a XY graph. This XY graph has a cursor, and using his node property I can know the position of this cursor.
 
I want that the point selected in XY graph is also selected in multicolumn listbox (with blue line), because there are lots of rows and i want to know which colum is the point you have selected in the plot.
 
I look out the XY  graph's node property but I haven't find the solution.
 
Someone can help me?
 
Thanks!
larson 
0 Kudos
Message 1 of 14
(4,182 Views)
Here is an example.

Message Edited by EVS on 08-29-2005 04:09 PM


Jack
Win XP
LabVIEW 6.1, 7.0, 7.1, LabWindows/ CVI 7.1
Let us speek Russian 🙂
Download All
Message 2 of 14
(4,180 Views)

Hello!

CAn you post .vi file in labview 7.0 version? I cannot read it because is in a newer version.

 

Thank you for helping me!!!!

Larson

0 Kudos
Message 3 of 14
(4,165 Views)
LabVIEW 7.0 compatible VIs

Message Edited by EVS on 08-29-2005 11:58 PM


Jack
Win XP
LabVIEW 6.1, 7.0, 7.1, LabWindows/ CVI 7.1
Let us speek Russian 🙂
Message 4 of 14
(4,158 Views)
Hello again!
Ok, your example is perfect!! But I want to ask another question about graphs and multicolumn listbox. In my application I work by rows....and my column listbox has about a thousand rows. I want that when I choose a point in the graph....the multicolumn listbox stand out this row (this run correctly with your example) but I want that the multicolum block go to this line automaticly and show it, because your spend time if you have to fins the selectionated row.ç
 
Thanks a lot!
Larson
0 Kudos
Message 5 of 14
(4,137 Views)
Hello EVS!
 
I don't know if my explanation is not understable. Dou you think it would be better to post this new question like a new topic or do you think that someone will answer me in this topic.
 
Thanks
Larson
0 Kudos
Message 6 of 14
(4,126 Views)

Create a property node for the listbox and use the Top Left Visible Cell property to determing which line which will be the top line shown.

In general, you should always try to think about where an option will be. In this case, if you want to programmatically change the display settings for a control, the logical place would be that control's properties. All controls share certain properties, but each control also has some additional properties. By going over the list of properties you can try to find the one you want. Here is a good tutorial about this.


___________________
Try to take over the world!
Message 7 of 14
(4,121 Views)
And one other point - I think a listbox can only hold 32,767 values (or at least has some display problems with larger values). I'm not sure how this applies to multicolumn listboxes, or if you will get to that limit, but you should be aware of that.

___________________
Try to take over the world!
0 Kudos
Message 8 of 14
(4,114 Views)
Thanks!
0 Kudos
Message 9 of 14
(4,106 Views)

Hello....

I want to ask you another question about multicolumn listbox block and his property node. When I'm running continously the vi's I can select (by hand) a row of this block and it appears a blue bar.....can I "catch" the coordinates of this selected bar (I mean the row selected). I'm looking for the property node of the block but I haven't found it.

 

Thanks again!

Larson

0 Kudos
Message 10 of 14
(4,077 Views)