Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the VirtualLock() equivalent in LabVIEW?

Is there any LabVIEW object equivalent to the Windows API function VirtualLock()? I have dynamically created a huge array in LabVIEW using "Reshape Array". Now, I want to lock this array data in physical memory and make sure that it does not get paged to the hard disk. One way I was thinking: create a Code Interface Node (CIN), pass this array into the CIN, and write some C++ code in CIN to lock the memory using VirtualLock() function. Is there any direct way of doing it using some LabVIEW built-in object? Thanks.
 
GKB
 
 
0 Kudos
Message 1 of 2
(3,047 Views)
Hi GKB,
 
The approach that you are suggesting would seem to be the most logical way to use the VirtualLock().  LabVIEW doesn't have a VI that has the ability to do the same function as the VirtualLock.  If you feel that this is something that would be useful in future versions of LabVIEW you can suggest using this link.
Regards,

Michael
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,022 Views)