Results 1 to 2 of 2
  1. #1
    dkas is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default time taken by robot.createScreenCapture

    Hi,
    I am taking screenshots of a rectangle using robot class.
    robot.createScreenCapture (rect);

    The time taken on windows7 is different on two differernt machines.

    MachineA (win7 64bit) - 8 core, 2.53 ghz Intel Xeon (screencapture takes 5 ms)
    MachineB (win7 - 64bit) - 8 core, 3.07 Ghz , Intel Core i7 ( (screencapture takes 20-30 ms) ------>>>>PROBLEM MACHINE

    This is a time critical program so this additional 15+ mseconds is throwing things haywire. Does anybody have a clue what could cause this delay ?

    I have tried swapping the Graphic crads but that has made no difference. UAC settings are set to minimum on both machine.

    Appreciate any pointers.

    Thanks.
    Last edited by dkas; 02-05-2011 at 01:02 AM. Reason: more info

  2. #2
    dkas is offline Member
    Join Date
    Dec 2010
    Posts
    11
    Rep Power
    0

    Default

    Forgot to mention that even on WindowsXP with MachineB configuration, I can get screencapture in less than 5 seconds.

    So, MachineB, windows 7 is the only problematic one.

Similar Threads

  1. Replies: 3
    Last Post: 08-23-2011, 01:46 PM
  2. Robot
    By rp181 in forum Advanced Java
    Replies: 4
    Last Post: 12-07-2010, 01:58 AM
  3. Robot
    By PhQ in forum AWT / Swing
    Replies: 13
    Last Post: 08-26-2010, 01:10 AM
  4. Robot Game
    By Galore in forum New To Java
    Replies: 7
    Last Post: 03-21-2010, 07:14 PM
  5. Karel the robot
    By vulerious in forum New To Java
    Replies: 0
    Last Post: 07-31-2009, 10:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •