49 users online (1 members and 48 guests)  


  Results 1 to 5 of 5

Related

  1. Pop-up Button    Forum: HTML Forum
    Replies: 11
  2. Replies: 3
  3. Button back and next    Forum: Javascript Forum
    Replies: 1
  4. PhP button    Forum: CSS Forum
    Replies: 6
  5. button links    Forum: HTML Forum
    Replies: 1
  1. #1
    rwmetts's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2008
    Posts
    2

    Trggering a relay with a button..

    Hello everyone, I am in need of help in trying to fire a relay to an digital I/O controller relay from a web page. I have seen this in other web pages. Example: You push a Button and it fires a relay on a com port on the pc which allows a light to come on. I am not sure if this is where this should be posted..any help in code would be greatly helpfull....Thanks: confused:

  2. #2
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: Trggering a relay with a button..

    I think what you're trying to do couln't be done by HTML alone. You need Javascript, but that's yet to be know.

    Could you please provide a link to where you've seen that effect. Your description is vague to me.
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  3. #3
    rwmetts's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2008
    Posts
    2

    Lightbulb Re: Trggering a relay with a button..

    Hi thanks for the information, it is not done with weboages persay, but done with a program that uses internet explorer to trigger a digital relat to fire to turn on and off other devices.

    Maybe it is a program that runs on a pc that triggers a relay through internet explorer to allow switches to work within a html or java enviroment...

    thanks

  4. #4
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: Trggering a relay with a button..

    My apologies, but I'm unaware about Java.
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  5. #5
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: Trggering a relay with a button..

    Due to it's nature, Javascript, HTML, AJAX, and other Client-Side languages are unable to interface with a computer's hardware on its own. There will need to be a Browser Helper Object (BHO) installed that will act as a liason between the web page and the hardware in order for this to happen.

    Unfortunately, this is a technique that various types of malware use to infect a user's PC. As such, most users will not install it, and the more paranoid ones (like me) would not even visit your site again.

    As for how to do it, I honestly have no idea how to do it.



Tags for this Thread