LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to access memory?

Hi, All,

 

I would like to write the program like Memtest that can read/write physical memory. But I don't know how to start to access memory by LabVIEW 8.6. Could someone give me any idea or advise? Thanks a lot!!

0 Kudos
Message 1 of 4
(2,725 Views)

memtest is done before the OS boots up, this lets it be the ONLY thing in memory, which lets it have complete reign over the memory, as it sees fit.  once the OS boots up, reading/writing like that will cause a crash, eventually (minutes, if not seconds).  There is no way labview can get running that early.  Just what are you trying to do?

0 Kudos
Message 2 of 4
(2,709 Views)

Hi,

 

I would like to make a program to verify physical memory like this tool by LabVIEW, I know if modifying some of bytes of memory might cause OS braken, but only reading bytes of memory might not crash OS.

0 Kudos
Message 3 of 4
(2,657 Views)

You cannot access memory like that from within LabVIEW using pure G. You will have to resort to using external calls. If you're running under Windows then you can access the Windows API using the Call Library Function Node. Examples ship with LabVIEW on how to use the Call Library Function Node. As far as accessing the Windows API, you would need to look at the Windows API reference (which is available at MSDN), and see what functions you need. You can take a look at the Windows API Functions for LabVIEW library to see how to call Windows API functions.

0 Kudos
Message 4 of 4
(2,645 Views)