Page 6 of 26 FirstFirst 12345678910111213141516 ... LastLast
Results 51 to 60 of 256
Like Tree2Likes

Thread: RRTMS - RoadRunner tire monitoring system extension plugin

  1. #51
    Maximum Bitrate Robby BMW's Avatar
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    558
    Quote Originally Posted by allypally View Post
    Robby,
    I have successfully installed both software and harware, and the RR screen is picking up the data.
    I do have 2 small problems though, which hopefully, you can tell me that I am stupid and have missed out a step or two.
    I have setup the RRTMS Config file and set the Pressure flag as "PSI" and the Temp as "Celsius"
    However, in RR, I get the Temp as "C" (expected) but the Pressure reads in "Kpa" rather than "PSI" Where is this defined?
    Also, I run a 5 sensor set. The RR display only records 4 sensors.(orange bmw screen)
    Is this simply a matter of creating a new skin, with the additional "spare tyre" shown, plus the code to show the reading?
    I've double check the program and it's working for me.
    Check if in your RRTPMS.INI if the option "Pressure" is set to 2 when you select PSI as unit of measurement.

    The skin provided with the plugin is just to be used as guideline for develope your own skin.
    The skin comands for the spare tyre are:
    INDICATORS:
    "TMS_ALERT_ST" - Indicates that in the spare tire there is an irregularities.

    LABELS:
    "TMS_PRESSURE_ST" Shows the pressure of the spare tire.
    "TMS_ TEMPERATURE_ST" Shows the temperature of the spare tire.

    SLIDERS:
    "TMS_BATTERY_ST" Shows the battery charge status of the spare tire sensor.
    _______________________________________
    Car installation 95% [■■■■■■■■■■■■■■■■■■■]
    Current project: Parking sensor USB interface

  2. #52
    Low Bitrate
    Join Date
    Nov 2007
    Location
    Sydney, Oz
    Posts
    60
    Robby, Thanks. The ini had "Pressure=1", so have amended it to "2".
    Came across another odd thing too. When I run the program in RR, the voice alerts are "female" However, in the car pc, it is a "male" voice. There does not appear to be any voice settings, so am a little bewildered by this. I know I have a "Macho" car, but still odd.

  3. #53
    Maximum Bitrate Robby BMW's Avatar
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    558
    Quote Originally Posted by allypally View Post
    Robby, Thanks. The ini had "Pressure=1", so have amended it to "2".
    It seems like the write permission of your ini file is not set, try to delete it (remember to make a backup first) and run again the config utility in order to create a new one with the right permissions.

    Quote Originally Posted by allypally View Post
    Came across another odd thing too. When I run the program in RR, the voice alerts are "female" However, in the car pc, it is a "male" voice. There does not appear to be any voice settings, so am a little bewildered by this. I know I have a "Macho" car, but still odd.
    You can change the Text-to-Speech voice through the Windows control panel.
    _______________________________________
    Car installation 95% [■■■■■■■■■■■■■■■■■■■]
    Current project: Parking sensor USB interface

  4. #54
    Maximum Bitrate jonessc's Avatar
    Join Date
    Nov 2006
    Location
    Wales, UK
    Posts
    787
    Robby watching the video in action, i see you have added a button to the main menu, any chance of uploading the new menu.skin, for users of your E36 skin
    CarPuter Progress:
    Planning:-----> [||||||||||] 100%
    Hardware Buying:-> [||||||||||] 100%
    Software:-----> [||||||||||] 100%
    Installing:-----> [||||||||||] 100%
    Current Project= Making skins in photoshop...

  5. #55
    Newbie
    Join Date
    Jan 2008
    Location
    Melbourne
    Posts
    7

    RRTMS in DFX

    Quote Originally Posted by mnwcsult View Post
    Anybody know how to add this to DigitalFX 2.0? And yes I did see the howto at the beginning of the thread. My question actually centers around adding a button. As there seems to be a png file that would need to be edited in addition to modifying the text skins file.
    I'm also having a few problems getting this installed with DFX, but with v3.0 not v2.0.

    So I've done the following:
    1. Registered the DLL
    2. Modified the TMS artwork to make it look like my car
    3. Modified DFX's ExecTBL.ini file with the following new entries:
    - "MyApp48","Load;C:\programs\Road_Runner\RRTMS-1.10\skin\TMS.skin"
    - added "MyApp48" into the "SetApps" array
    - added "TPMS" into the table/button array
    - "SetCommandLabels48","SETVAR;MyApp48LB;TPMS||SetCo mmandLabels49"
    4. Added a TPMS.png file in the MenuIcons directory
    5. Selected the new TPMS button from within DFX. This last step automatically updates the menu.skin file

    So now, it shows the button and TPMS.png icon in the menu, but when I click on the button, it's not doing anything.

    I've read Robby's initial guide, which says "Add in your "MENU.SKIN" the command "X,RRTMS" and create a button with the comand "TMS" in order to switch to the plugin screen." Unfortunately I've managed to get myself confused between Robbie's explanation and the way DFX is configured, so it seems I'm not setting the MyApp48 line correctly to launch the RRTMS.

    Sorry for the stupid newbie question (newbie to TPMS and RR and DFX3).

    It doesn't matter that I don't actually have the sensors yet does it?? The skin should launch regardless right? Do I need to specifically mention the string RRTMS in the command to successfully reference the dll of the same name?

    PS. Not sure why there's a space between SetCo and mmandLabels above. It's not there in the text I'm writing

  6. #56
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,723
    Blog Entries
    1
    Quote Originally Posted by Buddy23 View Post
    I'm also having a few problems getting this installed with DFX, but with v3.0 not v2.0.

    So I've done the following:
    1. Registered the DLL
    2. Modified the TMS artwork to make it look like my car
    3. Modified DFX's ExecTBL.ini file with the following new entries:
    - "MyApp48","Load;C:\programs\Road_Runner\RRTMS-1.10\skin\TMS.skin"
    - added "MyApp48" into the "SetApps" array
    - added "TPMS" into the table/button array
    - "SetCommandLabels48","SETVAR;MyApp48LB;TPMS||SetCo mmandLabels49"
    4. Added a TPMS.png file in the MenuIcons directory
    5. Selected the new TPMS button from within DFX. This last step automatically updates the menu.skin file
    Looks like you got the code above very close, with just one minor correction. #3 above, use:
    "MyApp48","TMS"
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  7. #57
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,723
    Blog Entries
    1
    Quote Originally Posted by Buddy23
    I made the change to
    "MyApp48","TMS" as you suggested, but that doesn't seem to have solved it. If I only refer to it as TMS, how does it know which directory to pick up the skin from? Should I have defined TMS elsewhere?

    Or does it mean I should move the TMS.skin into one of the DFX skin directories?
    In the main Menu.skin file you need to add the line:
    X,RRTMS

    When this line is there (and the RRTMS.dll is registered) this tells RR that when you use the TMS command, to go to the correct skin.

    Here are all the lines necessary to make it work, I just tested it here and it is working correctly.


    For the Button Assignment:
    Code:
     "SetCommandLabels48","SETVAR;MyApp48LB;Tire Pressure||SetCommandLabels49"
    For the Button Code:
    Code:
    "MyApp48","TMS"
    And for App Code:
    Code:
     "SetAppLabels","SETVAR;ButtonLabel;=MUSIC<<=RADIO<<=VIDEO<<=DVD<<=XM<<=SIRIUS<<=PHONE<<=UTILITIES<<=RIP CD<<=TV<<=WEATHER<<=PICTURES<<=GAMES<<=GAUGES STATS<<=BROWSER<<=SETTINGS<<=GPS<<=GPS<<=GPS<<=GPS<<=GAS PRICES<<=CAMERA<<=TRAFFIC CAMS<<=CALENDAR<<=MEDIA COPY<<=COLORS<<=LOTTO<<=NET RADIO<<=RADAR<<=SCANNER<<=HD RADIO<<=LAUNCH<<=SKINS<<=SYS DIAG<<=G. EARTH<<=LYRICS<<=JUKEBOX<<=TASK MAN<<=G MAPS<<=THEME<<=WIRELESS<<=THEATERS<<=RRMEDIA<<=CNN NEWS<<=DAYTIME<<=GPS<<=CLEAN SCREEN<<=TIRE MON"
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  8. #58
    Variable Bitrate
    Join Date
    Apr 2006
    Location
    Dallas, Texas
    Posts
    264
    Is the DLL COM Visible? Id like to implement this in other front ends.

  9. #59

  10. #60
    Maximum Bitrate Robby BMW's Avatar
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    558
    Quote Originally Posted by Ineffigy View Post
    Is the DLL COM Visible? Id like to implement this in other front ends.
    The DLL has been developed with the Extension Plugin Interface provided by Guino, so it works only with RoadRunner COM/ActiveX SDK.
    However you can easly write your own plugin by yourself, the dialog between the device and the software is pretty simple as it is a HID (human interface device) USB device, a particular device that doesn't require a driver installation on the PC.
    Basicaly you need to write a software that allows you to send a report 1 byte long to the device and recive back a report 4 bytes long.
    You can found some example of how do it in this page (there are also a collection of HIDClass souces that can be usefull).
    The protocol used by my device is this:

    00H (0) Abort any pairing request (see below) --> Returns: Nothing
    01H (1) Sensor 1 pairing request --> Returns: Nothing
    02H (2) Sensor 2 pairing request --> Returns: Nothing
    03H (3) Sensor 3 pairing request --> Returns: Nothing
    04H (4) Sensor 4 pairing request --> Returns: Nothing
    05H (5) Sensor 5 pairing request --> Returns: Nothing
    10H (16) State of a pairing request --> Returns: X,0H,0H,0H
    Where X is the number of the sensor to be paired, or 0 if the pairing has been completed.
    21H (33) Sensor 1 data request --> Returns: P,T,B,S
    22H (34) Sensor 2 data request --> Returns: P,T,B,S
    23H (35) Sensor 3 data request --> Returns: P,T,B,S
    24H (36) Sensor 4 data request --> Returns: P,T,B,S
    25H (37) Sensor 5 data request --> Returns: P,T,B,S
    Where:
    P is the pressure in kPa obtained by multiplying the unsigned binary value of this byte by 2.5 and subtracting 100 (the atmospheric pressure) from the result.
    T is the temperature in C obtained by subtracting 40 from this unsigned binary value.
    B is the battery condition, the first seven bits of this byte indicate the percentage of charge.
    S is the operating state of the sensor, 01H if a temperature change has happened or 02H for a pressure change.
    You also need to know the "Vendor ID" and the "Product ID" of the device, that are respectively 000H and 0001H.

    As example you can dowload the VB6 source code of the RR plugin I've writen here.

    Please, let me know if you need more information.
    _______________________________________
    Car installation 95% [■■■■■■■■■■■■■■■■■■■]
    Current project: Parking sensor USB interface

Similar Threads

  1. Velleman K8055 USB I/O Board Extension plugin
    By 307SW_NLD in forum RR Released Plugins
    Replies: 224
    Last Post: 02-24-2013, 07:59 AM
  2. Use serial port with extension plugin???
    By guillemasco in forum RR Plugins
    Replies: 5
    Last Post: 12-04-2006, 07:26 PM
  3. Extension plugin problems
    By festy in forum Road Runner
    Replies: 2
    Last Post: 06-23-2006, 07:20 PM
  4. Replies: 0
    Last Post: 06-11-2006, 06:49 PM
  5. Extension Plugin help ....
    By Gobby in forum Road Runner
    Replies: 1
    Last Post: 06-09-2006, 11:27 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
  •