View Poll Results: Do you think that is a good idea

Voters
2. You may not vote on this poll
  • yes

    2 100.00%
  • no

    0 0%
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Paralleport Switch

  1. #1
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,870

    Smile Paralleport Switch

    This program command the parallel port through the inpout32.dll .

    It is possible to command the 8 data bits and the 8 control 8 bits.
    Note please that you can to set the data bits on bidirectional .

    This a screen example:
    Attached Files Attached Files

  2. #2
    mkl
    mkl is offline
    Newbie
    Join Date
    Apr 2007
    Posts
    24
    This is gonna be very useful to me, thanks for sharing. But I don't get where each file goes. The .exe and .ini files shod be in rr\skins\skin folder\scripts\parallelport. But what about the .dll?
    Also, I need it to run in the main menu, so I put an "onskinstart","RUN..." line in the execTBL.ini. But i get an autoIt error: Line 946... the requested action with this object has failed. This will also make multiple instances of the script, each time I change skins. So I'm definitely on the wrong track here.

    Thanks.
    Last edited by mkl; 07-08-2011 at 01:25 PM.

  3. #3
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,870
    I look that as soon as possible !

  4. #4
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,870
    Ho i see,
    Put all skin file into you skin folder.
    Put the exe , the ini and the dll like that:
    C:\Program Files\Ride Runner\Skins\Carwings_Dynamic_Lite\Scripts\Paralle lPort\

  5. #5
    mkl
    mkl is offline
    Newbie
    Join Date
    Apr 2007
    Posts
    24
    Finally I had a spare pc to test this properly.

    Put a line in the "readme" about editing the execTBL.ini (for carwings).

    The plug-in doesn't automatically start with the skin.

    Some input and output pins will be HIGH at system star-up. An earlier version of parallel port control got around this by placing a killport.exe in the star-up folder.

    DATA and CONTROL labels give the impression that they are Input and, respectively, Output. Wheel it is exactly the opposite.

    The "set bits" command has to go. It has to be clicked every time a setting is changed. And it's especially confusing as the indicators are lighting up and nothing has changed... Oh!, is that OK button again...

    I still get the autoit error: "Line 946... the requested action with this object has failed" on exit.

  6. #6
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,870
    send me your exectbl.ini file please !
    In your exectbl.ini file, you can add these lines:
    "RUNPARAPORT","BYVAR;PARAPORT;<<PARAON
    "PARAON","SETVAR;PARAPORT;1||CMDEXE2||ACTIVATEDCMD "
    "PARAOFF","SETVAR;PARAPORT;0||CMDEXE2OFF||DEACTIVA TEDCMD"

    and into the ONSKINSTART, please add , RUNPARAPORT .

  7. #7
    mkl
    mkl is offline
    Newbie
    Join Date
    Apr 2007
    Posts
    24
    There are 2 files: "exectbl" is the rideruner's file and "carwings exectbl" is from the skin folder.
    Attached Files Attached Files

  8. #8
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,870
    Quote Originally Posted by mkl View Post
    There are 2 files: "exectbl" is the rideruner's file and "carwings exectbl" is from the skin folder.
    You must to modify only the exectbl.ini that is under your skin folder:
    Code:
    /, This (OPTIONAL) file contains translation commands.
    /, RR will accept the commands defined on the LEFT
    /, and execute them as expressed on the RIGHT
    /, you can use this to create or redefine any command
    /, (or to add functionality to any syandard command).
    /,
    /, The Format of this file is (by choice):
    /,
    /, "<COMMAND>","<EXEC COMMAND>"
    /, "<COMMAND>","<EXEC COMMAND>",filename.skin
    /,
    /, Examples:
    /, "AUDIO","LOAD;audio_player.skin;Audio Player"
    /, "RESTARTSONG","SEEKTO;00:00",audio_player.skin
    /,
    /, Extas:
    /, XM, FM and MM can be used instead of a skin file
    /, to be translated when XM, FM or MM is turned ON.
    /,
    /, PLAY, PAUSE and STOP can be used instead of skin
    /, file name so it executes commands based on MP3 or
    /, Video playback status.
    /, You can add commands to execute before suspend
    /, and after resume, using the codes bellow:
    
    
    / --------------------------------------------------------------
    /, PARAPORT:
    / --------------------------------------------------------------
    "RUNPARAPORT","BYVAR;PARAPORT;<<PARAON
    "PARAON","SETVAR;PARAPORT;1||CMDEXE2||ACTIVATEDCMD "
    "PARAOFF","SETVAR;PARAPORT;0||CMDEXE2OFF||DEACTIVA TEDCMD"
    
    / --------------------------------------------------------------
    /, For MediaCar Compatibility only:
    / --------------------------------------------------------------
    "AUDIONEXT","RRNEXT"
    "AUDIOPREV","RRPREV"
    
    
    / --------------------------------------------------------------
    / CORE
    / --------------------------------------------------------------
    "ONIDLE","CANCEL"
    
    
    / --------------------------------------------------------------
    / SOUNDS
    / --------------------------------------------------------------
    "ONBTNPRESS","PlaySound;$SKINPATH$Sounds\button1.wav"
    "ONBTNHOLD","PlaySound;$SKINPATH$Sounds\button2.wav"
    
    
    / --------------------------------------------------------------
    / BACKGROUND CHANGING
    / --------------------------------------------------------------
    "SELECT","CHANGEBG",bg_browser.skin
    "CHANGEBG","SETVARBYCODE;BKGNDPOS;LISTPOS||SAVETOSKIN;BKGND;$BKGNDPOS$||SETVARBYCODE;BKGND;LISTTEXT||SETVAR;BACKGROUND;$BKGND$||SAVETOSKIN;BACKGROUND;$BKGND$||RELOADALLSCREENS||SETLIST;$BKGNDPOS$"
    "ONFILECLICK","SETVARBYCODE;imagefilename;LISTTEXT",bg_browser.skin
    "UPDATE_IMAGE","SETVARBYCODE;imagefilename;LISTTEXT"
    
    
    
    / --------------------------------------------------------------
    / Change iList settings in the skin  
    / --------------------------------------------------------------
    "TurnOffiLists","ESC||SAVETOSKIN;usedx;false||SAVETOSKIN;iListStatus;Off||RELOADSKIN||Load;skin_browser.skin"
    "TurnOniLists","ESC||SAVETOSKIN;usedx;true||SAVETOSKIN;iListStatus;On||RELOADSKIN||Load;skin_browser.skin"
    
    
    / --------------------------------------------------------------
    / SKIN SETUP
    / --------------------------------------------------------------
    "ONSKINSTART","SetApps||SetCommandLabels01||SetAppLabels||RUNPARAPORT||$default$"
    
    
    /-----------------  Dynamic Menu Buttons -----------------------
    /----- Pre-setup the Applications and labels into arrays -------
    / --------------------------------------------------------------
    "SetApps","SETVAR;AppToRun;MyApp01<<MyApp02<<MyApp03<<MyApp04<<MyApp05<<MyApp06<<MyApp07<<MyApp08<<MyApp09<<MyApp10<<MyApp11<<MyApp12<<MyApp13<<MyApp14<<MyApp15<<MyApp16<<MyApp17<<MyApp18<<MyApp19<<MyApp20<<MyApp21<<MyApp22<<MyApp23<<MyApp24<<MyApp25<<MyApp26<<MyApp27<<MyApp28<<MyApp29<<MyApp30<<MyApp31<<MyApp32<<MyApp33<<MyApp34<<MyApp35<<MyApp36<<MyApp37<<MyApp38<<MyApp39<<MyApp40<<MyApp41<<MyApp42"
    /----------------This is the label that is displayed on the Main Menu Buttons ----------------
    "SetAppLabels","SETVAR;ButtonLabel;=MUSIC<<=RADIO<<=VIDEO<<=DVD<<=XM RADIO<<=SIRIUS<<=PHONE<<=WEATHER<<=PICTURES<<=BROWSER<<=PLUGIN MGR<<=DIMMER<<=CAMERA<<=MAPPOINT<<=GARMIN<<=iGO<<=iGUIDANCE<<=LAUNCH<<=DVB<<=MJS LED<<=MJS IO<<=WEB RADIO<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed"
    
    / RR Command to execute when button is pressed
    "MyApp01","Audio"
    "MyApp02","RADIO"
    "MyApp03","VIDEO"
    "MyApp04","DVD"
    "MyApp05","XM"
    "MyApp06","SIRIUS"
    "MyApp07","LOAD;freefone.skin;FreeFone;$skinpath$\FreeFone.EXE;FreeFone"
    "MyApp08","HOMEWEATHER"
    "MyApp09","PICS"
    "MyApp10","WEB"
    "MyApp11","LOAD;pluginmgr.skin"
    "MyApp12","menu;dimmer.skin"
    "MyApp13","CAMERA"
    "MyApp14","GPS"
    "MyApp15","GMPC||GMPCOVERLAY||GMPCRUN"
    "MyApp16","IGO8"
    "MyApp17","IGUIDANCE"
    "MyApp18","LAUNCH"
    "MyApp19","DVB"
    "MyApp20","LOAD;MJSG_USB_LED.skin"
    "MyApp21","LOAD;MJSG_USB_IO.skin"
    "MyApp22","WEBRADIO"
    "MyApp23","load;paraport.skin"
    "MyApp24",""
    "MyApp25",""
    "MyApp26",""
    "MyApp27",""
    "MyApp28",""
    "MyApp29",""
    "MyApp30",""
    "MyApp31",""
    "MyApp33",""
    "MyApp34",""
    "MyApp35",""
    "MyApp36",""
    "MyApp37",""
    "MyApp38",""
    "MyApp39",""
    "MyApp40",""
    "MyApp41",""
    "MyApp42",""
    
    
    / These are the labels for the application that will show
    / up on the screen that gives the selection of buttons to choose from
    "SetCommandLabels01","SETVAR;MyApp01LB;Music||SetCommandLabels02"
    "SetCommandLabels02","SETVAR;MyApp02LB;Radio||SetCommandLabels03"
    "SetCommandLabels03","SETVAR;MyApp03LB;Video||SetCommandLabels04"
    "SetCommandLabels04","SETVAR;MyApp04LB;DVD||SetCommandLabels05"
    "SetCommandLabels05","SETVAR;MyApp05LB;XM Radio||SetCommandLabels06"
    "SetCommandLabels06","SETVAR;MyApp06LB;Sirius||SetCommandLabels07"
    "SetCommandLabels07","SETVAR;MyApp07LB;Phone||SetCommandLabels08"
    "SetCommandLabels08","SETVAR;MyApp08LB;Weather||SetCommandLabels09"
    "SetCommandLabels09","SETVAR;MyApp09LB;Pictures||SetCommandLabels10"
    "SetCommandLabels10","SETVAR;MyApp10LB;Browser||SetCommandLabels11"
    "SetCommandLabels11","SETVAR;MyApp11LB;Plugin Mgr||SetCommandLabels12"
    "SetCommandLabels12","SETVAR;MyApp12LB;Dimmer||SetCommandLabels13"
    "SetCommandLabels13","SETVAR;MyApp13LB;Camera||SetCommandLabels14"
    "SetCommandLabels14","SETVAR;MyApp14LB;MapPoint||SetCommandLabels15"
    "SetCommandLabels15","SETVAR;MyApp15LB;Garmin||SetCommandLabels16"
    "SetCommandLabels16","SETVAR;MyApp16LB;iGO||SetCommandLabels17"
    "SetCommandLabels17","SETVAR;MyApp17LB;iGuidance||SetCommandLabels18"
    "SetCommandLabels18","SETVAR;MyApp18LB;Launch||SetCommandLabels19"
    "SetCommandLabels19","SETVAR;MyApp19LB;DVB||SetCommandLabels20"
    "SetCommandLabels20","SETVAR;MyApp20LB;MJS LED||SetCommandLabels21"
    "SetCommandLabels21","SETVAR;MyApp21LB;MJS IO||SetCommandLabels22"
    "SetCommandLabels22","SETVAR;MyApp22LB;Web Radio||SetCommandLabels23"
    "SetCommandLabels23","SETVAR;MyApp23LB;paraport||SetCommandLabels24"
    "SetCommandLabels24","SETVAR;MyApp24LB;<Unused>||SetCommandLabels25"
    "SetCommandLabels25","SETVAR;MyApp25LB;<Unused>||SetCommandLabels26"
    "SetCommandLabels26","SETVAR;MyApp26LB;<Unused>||SetCommandLabels27"
    "SetCommandLabels27","SETVAR;MyApp27LB;<Unused>||SetCommandLabels28"
    "SetCommandLabels28","SETVAR;MyApp28LB;<Unused>||SetCommandLabels29"
    "SetCommandLabels29","SETVAR;MyApp29LB;<Unused>||SetCommandLabels30"
    "SetCommandLabels30","SETVAR;MyApp30LB;<Unused>||SetCommandLabels31"
    "SetCommandLabels31","SETVAR;MyApp31LB;<Unused>||SetCommandLabels32"
    "SetCommandLabels32","SETVAR;MyApp32LB;<Unused>||SetCommandLabels33"
    "SetCommandLabels33","SETVAR;MyApp33LB;<Unused>||SetCommandLabels34"
    "SetCommandLabels34","SETVAR;MyApp34LB;<Unused>||SetCommandLabels35"
    "SetCommandLabels35","SETVAR;MyApp35LB;<Unused>||SetCommandLabels36"
    "SetCommandLabels36","SETVAR;MyApp36LB;<Unused>||SetCommandLabels37"
    "SetCommandLabels37","SETVAR;MyApp37LB;<Unused>||SetCommandLabels38"
    "SetCommandLabels38","SETVAR;MyApp38LB;<Unused>||SetCommandLabels39"
    "SetCommandLabels39","SETVAR;MyApp39LB;<Unused>||SetCommandLabels40"
    "SetCommandLabels40","SETVAR;MyApp40LB;<Unused>||SetCommandLabels41"
    "SetCommandLabels41","SETVAR;MyApp41LB;<Unused>||SetCommandLabels42"
    "SetCommandLabels42","SETVAR;MyApp42LB;<UnUsed>"
    
    
    / This sets up the applications for when you press and HOLD a main
    / menu button
    / *******  DO NOT EDIT THE FOLLOWING 2 GROUPS!  *********
    "HOLDMAINBT1","SETVAR;CHANGEBUTTON;MAINBUTTON1||LOAD;APP_Chooser.skin"
    "HOLDMAINBT2","SETVAR;CHANGEBUTTON;MAINBUTTON2||LOAD;APP_Chooser.skin"
    "HOLDMAINBT3","SETVAR;CHANGEBUTTON;MAINBUTTON3||LOAD;APP_Chooser.skin"
    "HOLDMAINBT4","SETVAR;CHANGEBUTTON;MAINBUTTON4||LOAD;APP_Chooser.skin"
    "HOLDMAINBT5","SETVAR;CHANGEBUTTON;MAINBUTTON5||LOAD;APP_Chooser.skin"
    "HOLDMAINBT6","SETVAR;CHANGEBUTTON;MAINBUTTON6||LOAD;APP_Chooser.skin"
    "HOLDMAINBT7","SETVAR;CHANGEBUTTON;MAINBUTTON7||LOAD;APP_Chooser.skin"
    "HOLDMAINBT8","SETVAR;CHANGEBUTTON;MAINBUTTON8||LOAD;APP_Chooser.skin"
    "HOLDMAINBT9","SETVAR;CHANGEBUTTON;MAINBUTTON9||LOAD;APP_Chooser.skin"
    "HOLDMAINBT10","SETVAR;CHANGEBUTTON;MAINBUTTON10||LOAD;APP_Chooser.skin"
    "HOLDMAINBT11","SETVAR;CHANGEBUTTON;MAINBUTTON11||LOAD;APP_Chooser.skin"
    "HOLDMAINBT12","SETVAR;CHANGEBUTTON;MAINBUTTON12||LOAD;APP_Chooser.skin"
    "HOLDMAINBT13","SETVAR;CHANGEBUTTON;MAINBUTTON13||LOAD;APP_Chooser.skin"
    "HOLDMAINBT14","SETVAR;CHANGEBUTTON;MAINBUTTON14||LOAD;APP_Chooser.skin"
    "HOLDMAINBT15","SETVAR;CHANGEBUTTON;MAINBUTTON15||LOAD;APP_Chooser.skin"
    "HOLDMAINBT16","SETVAR;CHANGEBUTTON;MAINBUTTON16||LOAD;APP_Chooser.skin"
    
    /Create buttons from variables for use in the skin
    / on the 16 main menu buttons (8 x 2 menu screens)
    "SkinButton1","BYVAR;MAINBUTTON1;$AppToRun$"
    "SkinButton2","BYVAR;MAINBUTTON2;$AppToRun$"
    "SkinButton3","BYVAR;MAINBUTTON3;$AppToRun$"
    "SkinButton4","BYVAR;MAINBUTTON4;$AppToRun$"
    "SkinButton5","BYVAR;MAINBUTTON5;$AppToRun$"
    "SkinButton6","BYVAR;MAINBUTTON6;$AppToRun$"
    "SkinButton7","BYVAR;MAINBUTTON7;$AppToRun$"
    "SkinButton8","BYVAR;MAINBUTTON8;$AppToRun$"
    "SkinButton9","BYVAR;MAINBUTTON9;$AppToRun$"
    "SkinButton10","BYVAR;MAINBUTTON10;$AppToRun$"
    "SkinButton11","BYVAR;MAINBUTTON11;$AppToRun$"
    "SkinButton12","BYVAR;MAINBUTTON12;$AppToRun$"
    "SkinButton13","BYVAR;MAINBUTTON13;$AppToRun$"
    "SkinButton14","BYVAR;MAINBUTTON14;$AppToRun$"
    "SkinButton15","BYVAR;MAINBUTTON15;$AppToRun$"
    "SkinButton16","BYVAR;MAINBUTTON16;$AppToRun$"
    /-----------------  END Dynamic Menu Buttons --------------------
    
    
    / --------------------------------------------------------------
    / MISC
    / --------------------------------------------------------------
    "CAMERA","LOAD;RRCam.skin||run;$skinpath$RRCam\RRCam.exe;RRCam.exe"
    
    
    / --------------------------------------------------------------
    / GMPC
    / --------------------------------------------------------------
    "GMPC","LOAD;GMPC.skin"
    "GMPCRUN","RUN;$garminpath$;!CDP",GMPC.skin
    "GMPCOSK","RUN;$SKINPATH$Scripts\Nav\Garmin\ElcosMenu.exe|GMPCOSK.skin"
    "GMPCOVERLAY","RUN;$SKINPATH$Scripts\Nav\Garmin\ElcosMenu.exe|GMPCOL.skin"
    "GMPCXOVERLAY","SENDMSG;ElcosMenu;Exit"
    "GMPCCLOSE","RUN;$skinpath$Scripts\Nav\Garmin\GMPCClose.exe"
    
    
    / --------------------------------------------------------------
    / IGO8
    / --------------------------------------------------------------
    "IGO8","LOAD;igo.skin;iGO;$igo8path$;iGO Zoom"
    
    
    / --------------------------------------------------------------
    / IGUIDANCE
    / --------------------------------------------------------------
    "IGUIDANCE","GPS"

  9. #9
    mkl
    mkl is offline
    Newbie
    Join Date
    Apr 2007
    Posts
    24
    Still no go... And I have an issues with this:

    "RUNPARAPORT","BYVAR;PARAPORT;<<PARAON" - there is nothing to link it to the app, something like $apppath&.

  10. #10
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,870
    This is my fault, you don't need to add something into the exectbl.ini file
    Create a button with this line !
    "MyApp24","load;paraport.skin||run;$skinpath$Scrip ts\ParallelPort\parallelport.exe" .

    That launch the .exe and you can now use all command found into the paraport.skin screen !

    I am sorry !!!

Page 1 of 2 12 LastLast

Similar Threads

  1. Power Supply/OPUS Kill Switch
    By SpaceMonkey in forum Power Supplies
    Replies: 8
    Last Post: 08-11-2006, 11:58 AM
  2. New product - PC Power switch with wired remote
    By hd54321 in forum General Hardware Discussion
    Replies: 5
    Last Post: 03-08-2006, 11:48 PM
  3. Car Window Switch Replacement
    By alienjj in forum Hardware Development
    Replies: 9
    Last Post: 09-05-2005, 01:08 PM
  4. Help needed on switch install for Inverter
    By eazyrog in forum Power Supplies
    Replies: 9
    Last Post: 07-24-2004, 07:42 AM
  5. Savage Switch Botton Group Buy via UK's Iconstyling.com....
    By TheBigDog in forum General Hardware Discussion
    Replies: 3
    Last Post: 07-21-2004, 11:51 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
  •