LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

indexing multicolumn list

Hello,

 

What is the easiest way to index the column of a multicolumn list?

 

Also, if using a strict ref, you can also index the row by using the value of the property node. How would you do this if the ref is not strict type (the value is a variant instead)? Lastly, a double click user event will also return back the current row. Why does this not also show up when using only a single mouse click?

 

Thanks!

0 Kudos
Message 1 of 5
(1,580 Views)

Hi Newbie217,

if your refnum is not typed, then you can use the "to specified class" function to get a strict ref. Another possibility would be to use "variant to data" to get an array of "your datatype".

 

Mike

Message 2 of 5
(1,573 Views)
thanks for the suggestion Mike. However, when I try using the 'to more specific class', the control I'm passing in creates a non-typedef output. How do I go about making this a strict typedef?
0 Kudos
Message 3 of 5
(1,558 Views)

Hi Newbie217,

the constant you connect on top has to be strict.

 

Mike

Message 4 of 5
(1,551 Views)

An easy way to get the correct type is drag and drop the control onto the ref control.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 5 of 5
(1,539 Views)