LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

show address of 1d or 2d or 3d array elements

Hi,

 

Can anyone help me out , how to show the address of array elements. it could be 1D, 2D array etc.

 

Essentially  i wanted to understand how multiple dimension array are stored in memory . Thought that, through Labview i can easily understand.

 

Regards,

Anand

0 Kudos
Message 1 of 5
(2,270 Views)

Multi dimensional arrays in LabVIEW are in fact internally simply a 1D array with i1 * i2 * .. * in elements (for an n dimensional array where  i1, i2, .., in are the sizes for the 1st, 2nd up to nth dimension).

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 5
(2,257 Views)

Hi Rolf,

 

is it possible to show the address of each elements in labview.

 

Regards,

Anand

 

 

0 Kudos
Message 3 of 5
(2,240 Views)

@AnandR wrote:

Hi Rolf,

 

is it possible to show the address of each elements in labview.


You mean the memory address?

 

Not really without calling external code and/or writing C code and compile it into a DLL But you don't need to know that at all unless you want to write external C code and if you do that you should know how to use your C debugger and can see it easily in there.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 5
(2,203 Views)