Read memory values windows

Hello,
I want want to read values like speed and such from a racing game and use it to set hydraulic's which move a chair in which you sit.
How can I read these from labview, some sort of peek poke commands.
Is this possible with labview?
gr

There's nothing inbuilt in LabVIEW, but Windows does provide a method. Here are a list of dlls and the associated functions that may be of interest. You will need to read the documentation on them. Basically what you want to do is a 'ReadProcessMemory'. Figuring out the right place to peek is more hassle, however. If you don't have a clue how, find 'Memory Hacking Software (MHS)' by L Spiro which is free. You can use this to pretty easily (instructions included) search for variable addresses, which you could then use to access the variable from you LabVIEW program. Unfortunately, this relative address may change each time the game is run, in which case it's either repeat the games with MHS or figure out how to work out the address from your program (more complicated).
"user32.dll"
FindWindowA
GetWindowThreadProcessId
GetClassNameA
"Kernel32.dll"
OpenProcess
ReadProcessMemory
WriteProcessMemory
CloseHandle
GetLastError
CreateToolhelp32Snapshot
Process32First
Process32Next

Similar Messages

  • High Page Reads/Sec on Windows 2008 R2 64-bit running on VMware but very low Real Memory & Page file Usage.

    Hello All,
    Below is the server configuration,
    OS: Windows 2008 R2 Enterprise 64 Bit
    Version: 6.1.7601 Service Pack 1 Build 7601
    CPU: 4 (@ 2.93 GHz, 1 core)
    Memory: 12 GB
    Page file: 12 GB
    1. The actual utilization, be it a 15 minute sample, hourly, weekly etc, the utilization of real memory has never crossed 20% and the page file usage is at 0.1%. For some reason, the Pages/Sec>Limit% counter reports 100% continuously regardless of the
    sampling intervals. Upon further observation, the Page Reads/Sec value is somewhere between 150~450 and Page Input/Sec is somewhere between 800~8000. Does this indicate a performance bottleneck? (I've in the interim asked the Users, App. Owners to see if they
    notice any performance degradation and awaiting response). If this indicates a performance issue, please could someone help list down how to track this down further to which process/memory mapped file is causing it? and what I should go about performing to
    fix this problem please?
    p.s., initially the Security logs were full on this server and since page file is tied to Application, Security and System logs, this was freed up to see if this is causing the high page reads but this doesn't.
    2. If the above does not necessarily indicate a performance problem, please can someone reference few KB articles that confirms this? Also, in this case, will there be any adverse effects if attempting to fine tune a server which is already running fine?
    assuming App. Owners confirm there isn't any performance degradation.
    Thanks in advance.

    Hi,
    Based on the description, we can try to download Server Performance Advisor (SPA) to help further analyze the performance of the server. SPA can generate comprehensive diagnostic reports and charts and provides recommendations to help you quickly analyze
    issues and develop corrective actions.
    Regarding this tool, the following articles can be referred to for more information.
    Microsoft Server Performance Advisor
    https://msdn.microsoft.com/en-us/library/windows/hardware/dn481522.aspx
    Server Performance Advisor (SPA) 3.0
    http://blogs.technet.com/b/windowsserver/archive/2013/03/11/server-performance-advisor-spa-3-0.aspx
    Best regards,
    Frank Shen
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Just download Adobe Reader XI for windows 8.1,  it doesn't work.  My OS is Windows 8.1 64-bits.  Two dialogues appear as  1.) AcroRd32.exe Error, The instruction at 0x9068675f reference memory at 0x9068675f. The memory could not be written. Click on OK to

    Just download Adobe Reader XI for windows 8.1,  it doesn't work.  My OS is Windows 8.1 64-bits.  Two dialogues appear as  1.) AcroRd32.exe Error, The instruction at 0x9068675f reference memory at 0x9068675f. The memory could not be written. Click on OK to terminate the program.  2.) Adobe Reader ha stopped working, a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution ia available.

    What is the Reader XI version you installed?
    Does this also happen when you open Reader by itself?  If not, can you try disabling Protected Mode [Edit | Preferences | Security (Enhanced)].

  • Adobe Reader X and Windows 7 Enterprise Memory Leak

    Hi I am using Adobe Reader X with Windows 7 enterprise when reading a 8000 page document when I do a search I notice that the memory on my machine starts to creep up typically 1Mb per search this will continue to rise to over 300Mb as the document is used until it reaches a point that it freezes the machine, The only way to recover is Ctrl-Alt-Delete and cancel the task. Has this been observed by other users?

    Good day,
    Could you provide some additional details about both the file and your system's configuration?
    What version of Adobe Reader X do you have installed? (Help > About Adobe Reader)
    If you haven't updated to 10.0.3, please do so and see if the issue persists.
    How was the PDF file you're searching created?  (File > Document Properties > What does the PDF Producer line say?)
    Are you experiencing this with multiple files?
    Have you installed SP1 for Windows 7?
    Regards,
    David
    Acrobat Community Manager
    Adobe Systems

  • How to change Virtual Memory in Windows 7 with SSD and 16GB RAM

    I have SSD Samsung 850Pro with OS Windows 7 and have installed physical RAM 16GB.
    In Adobe Help/Optimize performance/Photoshop written :
    " To change Virtual Memory in Windows 7 and Vista, quit all applications and then do the following:
    Choose Start > Control Panel, and double-click System.
    Choose Advanced System Settings in the Tasks list.
    Select the Advanced tab and click Settings in the Performance section.
    Select the Advanced tab and click Change.
    Deselect Automatically Manage Paging File Size For All Drives.
    Click each hard disk letter to show the available space on that drive. Select a hard drive that has three times the amount of your computer’s installed RAM and doesn’t contain a scratch disk.
      Select Custom Size, and type the amount of your physical RAM plus 300 MB in the Initial Size box. Type three times the amount of your computer’s installed RAM into the Maximum Size box. 
    Click Set, and then click OK. Continue to click OK to exit all dialog boxes.
    Restart the computer: If you have applications open, select Restart Later, close your applications, then restart Windows. Otherwise, click Restart Now. "
    Select Custom Size, and type the amount of your physical RAM plus 300 MB in the Initial Size box. Type three times the amount of your computer’s installed RAM into the Maximum Size box.
    I have 16GB RAM
    in the Initial Size box : 16384+300=16684MB
    in the Maximum Size box:16684x3=50052MB
    but in the description of SSD written :
    " In order to address any potential lack of memory capacity, the Windows operating system automatically generates a block of virtual memory (pagefile.sys) on the C: drive.  For example, a Windows® 7 64-bit system with 4 GB of physical memory would generate 4 GB of virtual memory at boot time.
    In the past, before PC Memory (DRAM Modules) were available in high volume, PCs needed to utilize some HDD space to address any memory shortcomings. Today, with PCs featuring 4 GB of memory or more, it is possible to reduce or even eliminate the use of virtual memory.  Additionally, using expanded physical memory, rather than creating virtual memory on the SSD, has performance and reliability advantages for the entire system.  Some applications may require the use of virtual memory. In this case, please consider your specific application requirements before disabling this feature!!! ”..."SET virtual memory in the Initial Size Box :200MB and in the Maximum Size box: 2048MB"
    what is the right choice ???
    Please Help

    Windows set to default virtual memory : 16348 MB =16GB !
    But SSD program Samsung Magician wants virtual memory between in the Initial Size Box :200MB and in the Maximum Size box: 2048MB or 4096MB. If more than 8GB suggests that SSD will work slowly.
    Perhaps the description in Adobe execution Help / Optimize / Photoshop is not correct or ?

  • PSE 8 dialogue/value windows appear BLACK by default.

    Hi, I'm a forum newbie, runningPSE 8 on an iMac.  Is there a way to change the default dialogue / value windows to white or transparent, please?   I'm also seeking a plug in to enable Channel manipulation in PSE.  Many degraded graphics arise from problems in the green or blue channel which compromises the final RGB image.  Any help and advice will be gratefully received.
    Warm regards, paulranger1.

    Dear Ms. Barbara B.,
    Thank you so much for your kind advice to help address my PSE 8 problems.  Your suggestion about selecting the 'darker options' (May the Force be with you!) worked a treat with dimensions/value windows now readable as a white numeric figure against a dark grey window background.   That problem appears solved.  Thank you.
    I downloaded the Grant's (Dixon?) Plug Ins, with explanatory video guide and seem to have navigated the various components to their correct destination.  In my PSE 8 'Tools' window, I have the following windows displayed on the RH side of the 'Tools' window:-
    "Effects" - compacted to display only Grant's Blue / Green / Red / RGB channel icons;
    "Layers" - below "Effects";
    "Color Swatches" - this one is very nomadic; it is not anchored to the backdrop "Tools" window as are the "Effects" and "Layers" windows above it.  When I switch                        back to this email composition window, the "Color Swatches" window 'disappears' with PSE 8 open in the background, unlike the other 2.
    I opened PSE 8 and opened an image with severely compromised channel balances and can understand the basic functions of Grant's channel plug in/s.  I would be happy to pay him something for his excellent (and I suspect, unique) enhancement of PSE; it seems unfair that I should not offer something or at least express my sentiments here.
    There are three further things with which perhaps you could again help me, please Barbara
    I'd like to anchor the "Color Swatches" palette on the RHS as Effects and Layers are. 
    I'd like to anchor all open, RHS windows to the backdrop, "Tools" window.  E.g. my current selection of Effects/Layers (and 'Adjustments' palette I've just added).
    Are any of these possible, please?
    Again, I thank you sincerely for your selfless assistance.  I am
    Yours sincerely,
    Paul Collins.

  • Difference in read/write between Windows Vs Linux

    Hi,
    Can you please write, whether it is a bug or my ignorance. I thought, if a java program runs in Windows then it will run in other platform too, without editing any code. It proved me wrong. So is it a bug?
    Ref: Fedora linux version 5
    Kernel ver. 2.6.17
    jdk version - build 1.5.0_06-b05
    I was working on a web service. The server side program connects to an application using socket program and sends back data to client.
    While it was working very fine with Windows XP. When I moved the service to Linux (above said linux). The program stopped working. When I explored it, I found 3 things.
    1. I was using PrintWriter
    PrintWriter outputStream = new PrintWriter(new OutputStreamWriter(socket.getOutputStream()), true);
    to write into the socket. It works fine in Windows but not in Linux. ie. it sends different bytes in linux. Thus fails. When I changed it to BufferedOutputStream it works fine.
    BufferedOutputStream outputStream = new BufferedOutputStream (socket.getOutputStream());
    2. I was using BufferedReader to read
    BufferedReader inputStream = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    data from socket. It reads. But byte varies from expectation. The same program works very well with windows.
    I used DataInputStream now. that works. but..
    DataInputStream inputStream = new DataInputStream(socket.getInputStream());
    3. While reading it was suppossed to read 2098 bytes, instead it reads 1448 bytes. It reads correctly in Windows, but not in the above said linux.
    Is it a bug or there is a difference in reading and writing from socket between Windows and Linux ( even though it is same JVM).
    Thanks
    Sasi.

    Thanks a lot for both of you.
    I believe, \r\n Vs \n could not be the reason.
    Because, I was sending binary data.Then you should not be using Writer at all!
    >
    With regard to "utf-8", I thought of that but I did
    not try to issue it in the function. Because, I was
    trying to send and receive raw binary data.Then you should not be using Writer at all!
    >
    Now, You may ask that why did you use PrintWriter.
    Because, the data had unsigned byte values. Makes no difference - you should not be using Writer at all!
    So I
    converted everything in to char array and send it.Will cause you problems at some point on some platform unless you use Base64 or HEX encoding.
    especially, whereever unsigned byte was required, I
    used (byte & Oxff). It worked very well with
    Windows. So I just go ahead doing other things.I use byte & 0xff for dealing with unsigned valued but your use sounds dangerous.
    >
    Here my question is, I assumed that if a program is
    written in java and complied on jvm x, then
    irrespective of the underlying OS, if the jvm is the
    same x, then the program should run without error. Is
    it wrong. If it is not wrong, then is it a jre bug?Your program will work if you have not used any implicit or explicit platform dependencies. For example, if in your program then you have hard codes a path as "C:\Program Files" then it will work on Windows (but then only if it has a C drive) but not on Unix.
    Any program has to deal with a number of platform specific features and Java protects you from them as much as possible BUT you must deal with things like Locale, EOL and default character encoding.
    No! Of course it is not a jre bug. You have coded to a specific platform and are then are suprised when it fails on other platforms.
    >
    Did you see my third point of my original problem
    statement. How to solve that.Since I don't have a view of your code I can't make an informed comment. I think I can guess what the problem is but I won't speculate.

  • CRXI Active X vs. Java "Enter values" Window

    Hi,
    I'm migrating the viewer from Active X based application to Java thick client.
    Everything works fine (so far) except the "Enter Values" window - CR XI offered nice, user friendly html window with all parameters in one place and calendar picker for dates. The same report loaded to Java App uses the dialog similar to the dialog from Crystal Reports 9: Every parameter on separate panel, no support for dates.
    Is it possible to use the same "Enter Values" window as in Crystal Reports XI? Do I have to create own wrapper to Parameter Fields?

    Do I have to create own wrapper to Parameter Fields?
    Yes you will likely have to create your own prompt page if you aren't happy with the java viewer prompt.
    The ActiveX viewer doesn't have an exposed API or exposed modules that you can take and use elsewhere.

  • Cannot access Device memory in Windows explorer

    When I plugged my blackberry into my XP PC, I used to see the device memory and SD card in Windows Explorer.  Now, only the SD card is in explorer.
    In Desktop manager, I used to be able to see them both also.  Move files and such.  Now I don't have this option.
    This is a new company blackberry that is secured (password to unlock it).  Not sure if the problem occurred the same time I received my new phone....
    Solved!
    Go to Solution.

    the Curve does not allow you to access to the Device Memory using Windows Explorer and "USB Mass Storage" Mode. You can only access the memory card (aka Media Memory).
    to access the Device Memory, you have to use the Media Manager. You need to download the "Desktop Manager + Media Manager" for that.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Read memory data [ANRITSU MS9710B GPIB]

    Hi,
    I'm trying to get spectrum form ANRITSU MS9710B OSA via GPIB link. I am using the VIs provided by ANRITSU, there is no problem to detect the device and communicate with it.
    I got a problem when it comes to get the values from memory with "Read memory data.vi"; in fact, it detects the start wavelenght but stops the acqusition at the first sample.
    Does anyone already had this problem ?
    I can read this warning from the vi : 1073676294 occured at VISA read
    Possible reasons: VISAHex 0xFFF0006). The number of bytes transfered is equal to the requested input count.More data might be available.
    Thanks.

    Status Code 1073676294 (Hex 0x3FFF0006) maps to a status report. The status code indicates The Number of Bytes Transferred is Equal to the Input Count. More data might be available. This is not an error message, but a status report indicating the value written to the input buffer has been successfully read and is now empty.
    Error codes are assigned negative numbers and status codes are assigned positive numbers. You can ignore an error if the error status boolean is false. There are a variety of positive status codes such as this one that the VISA driver can return indicating the status after VISA operations.
    Because there are applications where it is necessary to check status codes, they are returned in the error cluster without the error boolean set.

  • What if I chose the 250Gb memory for windows but I want to take away from Makos 50 Gb but I do not want reboot windows

    What if I chose the 250Gb memory for windows but I want to take away from Makos 50 Gb but I do not want reboot windows

    If I understand you correctly, you are asking how to resize your partitions for MacOS and Windows (Boot Camp) you don't want to reboot the computer to do it.  If that is correct, then I don't know of any way for you to do what you want.  In order to resize the partitions, you will need to reboot the OS that is running from the partitions, preferably exit the OS, resize the partitions, then restart the OS, so it has a clean view of the disk.

  • Read variable value knowing only name

    Is there a way to read a variable value from only knowing the label name? I have Labview 11 and am reading a text file with a list of variable labels and trying to read the value without having to create a case structure of hundreds of variables.
    Solved!
    Go to Solution.

    My first answer was going to be "No", but then I started to think about it.  I'm assuming that the Variables are controls or indicators that are part of the VI or Project of interest.  You could do the following (but it could get messy) --
    Use the AllVIs property of the current Application to get an array of all VI names in memory.
    For each VI name, get a VI Reference, use that to get a Front Panel Reference (property), use that to get Controls[] (property).
    For each Control, get its Label (property).  At this point, I think I'd make two arrays, one of the Control References, the other of the Labels.
    Once your arrays are built, you can use the Array functions to find the index of the variable you want in the Labels array, and use that index to pull the Value out using the appropriate indexed Control Reference.  Note that this doesn't tell you the "Type" of the variable -- this will be left as an Exercise to the Reader.
    Let me know if this works, and is worth the effort.
    BS

  • Adobe Reader 11 w/Windows 7 not responding

    Why does Adobe Reader 11 fail to respond sometimes?  Re-installing allows it to function several times then we get a "not responding" message.  A plank screen is displayed and the number of pages but NO text!  Using repair produces the same results.  Upon 1st use of the repaired/reinstalled reader 11 we also get the adobe message "Cannot find or create the font "Times New Roman".  Some characters may ot display or print correctly".  The text is mostly displayed at this point.  The second attempt to display the same PDF or another displays completely w/out any error message at all.  At some point during the testing process Adobe Reader 11 stops working!  Restarts don't help.  Shutdowns don't help.  Seems only a re-install or repair allows us to correctly view our PDF document a number of times before we have to repeat the process.  Is help available?

    Moved the discussion from Adobe Reader Touch for Windows 8 to Adobe Reader.

  • How to read enumerated values from an OPC server via Datasocket

    Hi Labviewers,
    I am using LV8.2 and I am trying to find if it is possible to read enumerations from an OPC server via Datasocket, not just the values.
    I can successfully read a value for an OPC server via Datasocket and I get a value for example 3, is it possible to get the enumeration/string that corresponds to this value i.e. "Open".
    Many thanks in advance
    Dimitris

    Hi Sarah,
    With the input type as variant I get the following response:
    1                                     <-This is the current numeric value of the parameter
    4 Attribute(s):
       'Quality' -> 192
       'TimeHigh' -> 29861723
       'TimeLow' -> -665408304
       'Timestamp' -> 39.238E+3
    With the Input set to         Enum constant I get no values or strings coming back. With the Input set to                Ring constant I just get the numeric value   
    Dimitris   

  • How to read all values of a queue

    Hi All,
    In Message mapping I am checking condition for field value based on incoming value.
    In test cases i can see the second or third  occurence is getting supressed and first value fails the condition and mapping node not created.
    I would like to know how to read multiple values from queue and check condition for each value and if correct value present condition should pass.
    I tried all possible context changes but no luck.
    Any ideas how to read all values coming .
    Thanks.

    <?xml version="1.0" encoding="UTF-8"?>
    <msg version="" dbName="">
       <rowOp isLast="" cmitLSN="" cmitTime="" authID="" correlationID="" planName="">
          <updateRow subName="" srcOwner="" srcName="" intentSEQ="" rowNum="" hasLOBCols="">
             <col name="END_RSN_CDE" isKey="852369" invalidData="" rawData="">
                <smallint>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </smallint>
                <date>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </date>
                <char>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </char>
             </col>
             <col name="SVC_USER_SDT" isKey="789654" invalidData="" rawData="">
                <smallint>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </smallint>
                <date>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </date>
                <char>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </char>
             </col>
          </updateRow>
       </rowOp>
    </msg>

Maybe you are looking for