LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

memory allocations

Solved!
Go to solution

Hi, I am struggling with this problem for a few days now. I am using a PCI card used for a multiplexer for ultra-sonic testing. I am trying to develop a LABVIEW application to access the card, and acquire data. I have some example code from the vendor of the card and some instructions. The program uses "Call Library Function" nodes that calls functions from dll files. One of the instructions is to allocate memory since this program uses pointers. I have searched the Labview help files and it gives a list of memory management functions. I have no idea how to go about doing this. The vendor wants me to allocate at least 2 x 128kB. Please advise me on how this can be done. when i run the program it crashes on me every time and i think it has something to do with this.

 

Thanks very much!

0 Kudos
Message 1 of 3
(2,841 Views)

Hi mo,

 

create arrays of needed size (128kb = 131072 U8 = 32768 SGL = 16384 DBL = 8192 EXT) and wire them to the CLF node...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,834 Views)
Solution
Accepted by topic author mo786

Thanks Gerd, Let me try that and get back to you.

 

Smiley Happy

0 Kudos
Message 3 of 3
(2,832 Views)