Results 1 to 5 of 5

Thread: ComSend not working in first screen

  1. #1
    Variable Bitrate 307SW_NLD's Avatar
    Join Date
    Apr 2005
    Location
    The Netherlands
    Posts
    235

    ComSend not working in first screen

    Hi Guino,

    I'm trying to send commands to Road Runner using COMSend "RoadRunner", Command from a extension plugin. This is working but only after I have once switched to another screen. So, when I start Road Runner it will not accept commands (even when I pressed buttons) but Road Runner starts to accept commands after I have switched to another screen. It will then work on my menu.skin as well.

    Thanks
    My car: 2009 MAZDA CX-9 3.7L V6 runnin on LPG (Liquid Petrol Gas)
    Hardware: None at the moment
    Software: None at the moment
    See: Velleman K8055 Plugin for Road Runner

    Progress: [XXXXXXXXXX] 0 % DONE

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    You should not use Comsend from an extension plugin -- it will basically make a recursive call to your own extension plugin. Instead, you should return processcommand = 3 with the new command to execute in CMD. There's a note about that in the header of the extension plugin sources.
    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."

  3. #3
    Variable Bitrate 307SW_NLD's Avatar
    Join Date
    Apr 2005
    Location
    The Netherlands
    Posts
    235
    I'm not executing a comsend based on a command button in the extension plugin. The plugin (timer) checks the state of hardware buttons of my k8055 usb io board. I have assigned RR commands to these hardware buttons that will need to be executed from the extension plugin in RR. I'm using comsend for this. So this not be recursive. The problem I have occurs only when I start RR and have not switched to another screen. After switching to another screen everything is working correctly. If have been debuggin my code but it is working and the Comsend does not return an error but RR never executes the command.
    My car: 2009 MAZDA CX-9 3.7L V6 runnin on LPG (Liquid Petrol Gas)
    Hardware: None at the moment
    Software: None at the moment
    See: Velleman K8055 Plugin for Road Runner

    Progress: [XXXXXXXXXX] 0 % DONE

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    If it works on one screen, it should work on all of them.. that's weird, unless there are other windows opened with the same name (thus the messages could be going to the wrong window).

    Have you tried the COM method ?

    Dim SDK as Object
    Set SDK = CreateObject("RoadRunner.SDK")
    then
    SDK.Execute "COMMAND"

    You'd do away with a bunch of code and it's a lot cleaner too -- check below for details.
    http://www.mp3car.com/vbulletin/rr-f...cation-rr.html
    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."

  5. #5
    Variable Bitrate 307SW_NLD's Avatar
    Join Date
    Apr 2005
    Location
    The Netherlands
    Posts
    235
    OK, I'll try switching to your SDK example.
    My car: 2009 MAZDA CX-9 3.7L V6 runnin on LPG (Liquid Petrol Gas)
    Hardware: None at the moment
    Software: None at the moment
    See: Velleman K8055 Plugin for Road Runner

    Progress: [XXXXXXXXXX] 0 % DONE

Similar Threads

  1. Playing full screen video only to rear screen
    By yossisibi in forum Centrafuse
    Replies: 3
    Last Post: 10-29-2006, 06:06 AM
  2. USB TOuch Screen not working after install?
    By belezeebub in forum Input Devices
    Replies: 2
    Last Post: 10-01-2006, 02:14 PM
  3. Dynamix touch screen not working after standby (S3)
    By mrloofer in forum LCD/Display
    Replies: 6
    Last Post: 05-10-2006, 02:04 PM
  4. Winamp Vizs not working with Lilliput screen
    By d1g1tal3nvy in forum Media Engine
    Replies: 2
    Last Post: 04-19-2004, 04:59 PM
  5. DennisK Microtouch contoller and screen working.
    By LESLIEx317537 in forum LCD/Display
    Replies: 2
    Last Post: 03-22-2002, 07:46 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
  •