DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Return the Index of a Mouse-Selected Array Element in the View Interface of Diadem

Hello,

 

Does anybody have an idea of how to obtain the index of a mouse-selected array element in the View interface of Diadem??

 

Thanks!

0 Kudos
Message 1 of 7
(3,787 Views)

Hi Ovidius,

 

Is the user selecting the data point in a VIEW Graph (with the crosshair or band cursor), or is the user selecting one or more rows in a VIEW table?

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 2 of 7
(3,769 Views)

Hi Brad,

 

The user is selecting one or more elements of varios channels in The Data View.

 

0 Kudos
Message 3 of 7
(3,764 Views)

Hi Brad,

 

The user is selecting one or more elements of varios channels in the View Table.

0 Kudos
Message 4 of 7
(3,761 Views)

Hi Ovidius,

 

I don't know of a way to programmatically read the selection of cells in a VIEW table, and even after a little poking around in the View object I didn't find anything.  I know we can do just this sort of thing with SUDialogs, and DIAdem 2010 and later supports embedding a SUDialog in a VIEW area, though, so we could create something that looked a lot like a View table that supports this feature.

 

Could you describe the process the user is going through?  What do you want to do with the selected cells?

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 5 of 7
(3,747 Views)

Hi Brad,

 

What I would like to do is: the user must be able to select any entry of a table in the View Panel and I would like to capture this values with an EditBox of a non modal dialog.(in other words: when the user clicks on a cell of the table, the corresponding value must appear as a text of an EditBox.)

Any suggestion is welcome!

 

Thanks!

0 Kudos
Message 6 of 7
(3,732 Views)