Этот контент недоступен на выбранном вами языке.

Содержимое отображается на другом доступном языке. Ваш браузер может включать функции, которые могут помочь перевести текст.

Create a Pointer to Use the MoveBlock DLL

Updated Jan 28, 2019

Reported In

Software

  • LabVIEW

Issue Details

I use the MoveBlock DLL in LabVIEW to read data in a memory address:
 

 
This function needs a pointer as an argument, how can I create a pointer in LabVIEW?

Solution

You can use the DSNewPtr DLL. You transmit the size of the pointer in bytes and the result is the pointer created.
You can use this snippet or the VI attached for the allocation and the release of the pointer:
 





 

Additional Information

Please drag and drop this snippet in LabVIEW to use it.