Page 5 of 9 FirstFirst 123456789 LastLast
Results 41 to 50 of 84

Thread: SerialSwitch Version 5

  1. #41
    Variable Bitrate TeamRSX's Avatar
    Join Date
    Nov 2007
    Location
    Ottawa, Ontario
    Posts
    222
    I can't power my amps with a connection straight from the dtr line to my acc on my amp.

    So, i am planning on using a relay. My question is i read about most ppl using a transistor to power the relay. Is this nesseccary to do or can i use the 12v line on my power supply molex connector to get the constant power? Or is a transistor a better way?

    The reason i ask is because i tried to set it up in my car and my amp wouldn't get any signals to turn on, voltage wasn't getting sent to acc line.

    For my relay i have the dtr line as my trigger, 12 volt from molex, ground from molex and amp acc.

    Cheers..

  2. #42
    Low Bitrate
    Join Date
    Aug 2006
    Posts
    75
    Hi, nice S/W.
    But can I use it to start a program when CTS goes low (or high)? Any other S/W that does this stand alone?

  3. #43
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    There's no "easy" way to make a command/program execute on CTS changes with this tool alone. However, you could make an auto-it script or a separate plugin to monitor the label/indicator from this application in order to achieve the function.

    It's very likely you could find a stand alone software that could start a program like that -- I do not know of any off hand.
    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. #44
    Constant Bitrate utd09bry's Avatar
    Join Date
    Sep 2007
    Location
    Dallas,TX
    Posts
    216
    every so often, SerialSwitch doesn't resume from hibernation in my system. It's pretty odd, and I haven't dug too deep yet to see if I can get it to work... but has anyone else ever had the problem? On resume, if its having problems, I will get one of those Windows recovery windows where it asks if you want to send or not send the crash/bug info to Microsoft. Even more interesting is that the amps are actually ON (so serialswitch was working) at this point... until i press Don't Send in the error report screen... then serialswitch gets shutdown. Restarting RR always brings things back, and it will be fine for another 10 or so hibernates.

    Think I should try adding serialswitch to system startup? Like I said, I haven't really tried anything yet, just putting it out there :-p

    Thanks!

  5. #45
    Variable Bitrate Jebus's Avatar
    Join Date
    Dec 2007
    Location
    Washington, USA
    Posts
    313
    I am currently rewriting SerialSwitch to also have variables, so stay tuned.
    SerialSwitch is a stand alone exe that happens to include the older RR SDK. It is not a Newer SDK DLL plugin, so the only control RR has over it is loading and unloading. I am looking at my options for continuing this as a standalone exe.
    I may just strip the older RR SDK from the EXE and make it just that, No RR functions.
    Then I will make a RR only DLL for RR users.
    I hope RR will move forward and get rid of the RR compatibility EXE, so that developers will buck up and support the new SDK soon.
    ...JJG

  6. #46
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Quote Originally Posted by Jebus View Post
    I am currently rewriting SerialSwitch to also have variables, so stay tuned.
    SerialSwitch is a stand alone exe that happens to include the older RR SDK. It is not a Newer SDK DLL plugin, so the only control RR has over it is loading and unloading. I am looking at my options for continuing this as a standalone exe.
    I may just strip the older RR SDK from the EXE and make it just that, No RR functions.
    Then I will make a RR only DLL for RR users.
    I hope RR will move forward and get rid of the RR compatibility EXE, so that developers will buck up and support the new SDK soon.
    ...JJG
    Any chance of adding some events while at it ? like ONCTSLOW or ONCTSHIGH whenever it switches from low to high and vice versa? this could be used to trigger things in RR.
    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."

  7. #47
    Variable Bitrate Jebus's Avatar
    Join Date
    Dec 2007
    Location
    Washington, USA
    Posts
    313
    Sure, I think I understand this, but isn't that what variables are for?

    OK, I'm thinking here, ONCTSLOW event would be easier to trigger off of than a variable code. (ie: myvar;DTROFF<<DTRON)?

    Correct me please, as I am still wrapping my head around sdk methods.

    And now I am putting this all into a DLL plugin.

    Any chance of new example VB6 sdk modules for exe's, like before RideRunner, as opposed to the new DLL SDK classes?

    ...JJG

  8. #48
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Quote Originally Posted by Jebus View Post
    Sure, I think I understand this, but isn't that what variables are for?

    OK, I'm thinking here, ONCTSLOW event would be easier to trigger off of than a variable code. (ie: myvar;DTROFF<<DTRON)?

    Correct me please, as I am still wrapping my head around sdk methods.

    And now I am putting this all into a DLL plugin.

    Any chance of new example VB6 sdk modules for exe's, like before RideRunner, as opposed to the new DLL SDK classes?

    ...JJG
    With the current application it is already possible to perform different tasks based on the indicator/label state, that is when executing a command (i.e. pressing buttons). However nothing is executed when something changes (i.e. CTS or another line), so if you could monitor the line, and anytime it changes you executed a command (event), then we could for instance use that to trigger things in RR.

    Code wise, it would be something like below ... (I assume you have some sort of "update timer" sub already):

    Code:
    Private Sub UpdateTimer_Timer()
    
    Static CTSState as boolean
    
    <... do whatever ...>
    
    If CTSState <> GetCTSState() then
       CTSState = GetCTSState()
       If CTSState = True then
         ComSend "RideRunner", "ONCTSHIGH"
       else   
         ComSend "RideRunner", "ONCTSLOW"
       End if
    End if
    
    <... do whatever ...>
    
    End Sub
    If you're using the COM Object method, you could simply change the ComSend "RideRunner", "ONCTSHIGH" for SDK.Execute "ONCTSHIGH" and do the same for ONCTSLOW...

    I'd be more than glad to provide you with any information on the newest SDK.. or even take a look at some of the code to help you out... there's also some posted info here already:
    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."

  9. #49
    Variable Bitrate Jebus's Avatar
    Join Date
    Dec 2007
    Location
    Washington, USA
    Posts
    313
    Ahh, I see now! I just didn't get the user input part of indicator/label states. Those are not commands!

    The events are done, just have to update the zip and readme now.
    The timer is gone from the exe as the mscomm.ocx has events
    for input lines. It is all event driven now. No timers.

    I have been using the Windows Messaging API with this. I will look at how this affects hibernate as opposed to the COM OBJECT method.

    Off to Work now. The one that feeds me.
    ...JJG

  10. #50
    Variable Bitrate Jebus's Avatar
    Join Date
    Dec 2007
    Location
    Washington, USA
    Posts
    313

    Version 5

    Here's Version 5, With events and NO timer.
    Uninstall old version first.
    Note all labels, commands, indicators, events changed spelling!
    Check and READ first post.
    Please give feedback.
    ...JJG

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
  •