LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

getting real memory address of an array

I am trying to write LV drivers for a manufacturers DLL where the DLL sets up isonchronous (eye-SAH-cronous) communication between a USB device and a buffer in physical memory. I can sucessfully implement the DLL passing appropriate parameters including passing an initialized array,size as well as implementing Windows messaging. I know this buffer is getting filled because of other software indications but I can not get the data because the buffer is filled sometime after I execute the DLL. I am passing the array pointer(app builder) to the DLL. Another function using the same type array pointers works fine. This is because the data is passed when the DLL is executed. The vi that works is in the attached R1200.llb is c
alled DIO32_FifoBlockRead.vi and the vi I am having trouble with is called DIO32_BufferEvent.vi. How then do I get the physical memory address of an array?
LeMur Technology Services, LLC
0 Kudos
Message 1 of 2
(2,532 Views)
I am not sure I understand the question, because it seems to me that if you have passed a pointer to the array then you already know the location in memory.

Can you clearify where or when you need the memory range?
0 Kudos
Message 2 of 2
(2,532 Views)