LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

use pointer

Hi. I would like to know if it's possible with Labview 6.1 to create an array of pointers to a lot of arrays

Thx in advice

Davide
0 Kudos
Message 1 of 4
(2,833 Views)
Yes!

You can make arrays of arrays of arrays...etc. Each array is polymorphic, so you can define the data types (within limits) for each level. (Pointers are defined as "indices" in Labview.

Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 2 of 4
(2,833 Views)
Hi,
1. As far as I know you can not create pointer in labview. Actually labview doesn't have methods to work with pointers. The usual situation when you may need to create pointer is the DLL call. Some times DLL fuctions use pointers to variables. In this case you may try to set the format of input variable as pointer or handle in "Call library node" configuration dialog .
2. And reply to chutla...
Another thing is that labview can not use arrays of arrays. It uses multi dimensional arrays instead. So what you can do in this case is treat array of arrays as 2D array etc. These are different things.

Good luck.

Oleg Chutko.
0 Kudos
Message 3 of 4
(2,833 Views)
Thanks guys. I found out a method for my problem. I have done an array(1) of refnum to array(2). Then I use these refnums to access to data of the array(2). It works.

Thanks again

Davide
0 Kudos
Message 4 of 4
(2,833 Views)