Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Bad performance with retrieving Monkeytalk info

  1. #1
    Super Moderator xBrady's Avatar
    Join Date
    Apr 2004
    Location
    USA
    Posts
    3,687

    Bad performance with retrieving Monkeytalk info

    Hey Ninja, when using MonkeyTalk and trying to retrieve information I am getting mildly bad performance. These 4 lines use 2% of my CPU each:
    double latitudeM = myMonkeyTalk.Latitude;
    double longitudeM = myMonkeyTalk.Longitude;
    int speedM = myMonkeyTalk.Speed;
    int directionM = myMonkeyTalk.Heading;

    This isn't much CPU usage on my computer because it is pretty fast but on slower computers it uses a lot. Any ideas of why it would be doing this?
    Thanks
    Brady
    AMD XP 2600+/512MB RAM/120GB hard drive
    Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
    Installed.


    -GPSSecure- - GPS Tracking
    -AltTabber2.2.2- - Handy touchscreen utility.

  2. #2
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    Hey ninja, can you help us out? I'm having a similar problem.

    For me it isnt CPU usage, it is RR that takes about 20 seconds to update any labels (even RR internal labels) and takes 20 seconds to register any clicks on buttons, it seems that for some reason it is crapping out due to 2 connections on monkey talk? can that be so?
    The RR information that is supposed to be pulled from MM isnt coming up when my program is running....

  3. #3
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    @RoyN

    If you want to pull MM's info while RR is running, you can do so by requesting the info RR already collected from RR's SDK.. that saves you the trouble of referencing/using MonkeyTalk.dll (since RR already uses it). By doing so, you'll also have access to any of RR's info ... I have never tried to use Monkeytalk from 2 apps at the same time, but from a single app seems to work fairly well.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  4. #4
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    Yeah, I wanted to leave RR out of the equation, merely to make the thing less "dependent" (depends on MM + RR), but I think I'll have to start looking at the RR sdk now... no biggie... I can get lat/lon right?

  5. #5
    Map Monkey Creator Ninja Monkey's Avatar
    Join Date
    Aug 2003
    Location
    Warrington, UK
    Posts
    1,012
    Are you using the MonkeyTalk DLL or a winsock connection?

    I believe RR uses winsock to talk to Map Monkey, which only supports one connection. The DLL is much faster and can handle multiple connections with no noticable delay in response
    Destinator 3 For PC! - http://www.map-monkey.co.uk/

  6. #6
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    I used your monkeytalk sdk example and modified that...

    My application doesnt seem to have problems, but RR is crapping out royally!

    Is it possible that the monkeytalk is screwing up the winsock connection and RR cant handle the winsock problems well?

    I notice that my RR Skin buttons that call MM functions (HotkeyCMDs and others) dont work when there is this problem... it appears RR looses communication with MM and also becomes slow to respond... it is weird because my down/on skin highlights work as soon as I click, but the button function is delayed about 25 seconds. So if I try to go to main menu I click the menu in RR, the button highlights but screen doesnt change....25 seconds later.... menu pops up...

    Very weird if ya ask me! perhaps I could send you or guino or both my application to be tested with RR by someone else as it mgiht help out... if you guys have time/will for that let me know

  7. #7

  8. #8
    Super Moderator xBrady's Avatar
    Join Date
    Apr 2004
    Location
    USA
    Posts
    3,687
    I'm talking directly with the DLL.
    AMD XP 2600+/512MB RAM/120GB hard drive
    Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
    Installed.


    -GPSSecure- - GPS Tracking
    -AltTabber2.2.2- - Handy touchscreen utility.

  9. #9
    Raw Wave RoyN's Avatar
    Join Date
    Sep 2004
    Location
    São Paulo, Brazil
    Posts
    3,534
    check ur e-mail!

  10. #10
    Super Moderator xBrady's Avatar
    Join Date
    Apr 2004
    Location
    USA
    Posts
    3,687
    Quote Originally Posted by RoyN
    check ur e-mail!
    I never get emails when they are sent through mp3car from members, only the ones that are sent telling me I have a private message or with the threads I am subscribed to. Dunno why.
    AMD XP 2600+/512MB RAM/120GB hard drive
    Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
    Installed.


    -GPSSecure- - GPS Tracking
    -AltTabber2.2.2- - Handy touchscreen utility.

Page 1 of 2 12 LastLast

Similar Threads

  1. Auto power off
    By accord in forum General Hardware Discussion
    Replies: 29
    Last Post: 08-15-2004, 08:08 AM
  2. 7" REDANT SCREENS (bad pixel) CHEAP
    By dscustoms in forum Classified Archive
    Replies: 20
    Last Post: 06-26-2002, 11:04 AM

Bookmarks

Posting Permissions

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