Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Windows service

Windows service

Scheduled Pinned Locked Moved C#
helphardwaretutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MinarikM
    wrote on last edited by
    #1

    Hi, could anyone help me with my problem? I would like to create windows service to monitor and log outputs from a hardware PCI card (special card connected to some sensors ...) This is simple and I am able to do it, but there is second usage of the service and I don't know how to do it. I have another applications (Windows applications) and they need to connect to the service and receive the data from HW card each time the data changed. It would be great if I'll able to connect to some interface of the service and catch some event OnChange or something similar. I don't know if it is possible and if yes how to do it. Is it possible or is there better way to do this?

    W 1 Reply Last reply
    0
    • M MinarikM

      Hi, could anyone help me with my problem? I would like to create windows service to monitor and log outputs from a hardware PCI card (special card connected to some sensors ...) This is simple and I am able to do it, but there is second usage of the service and I don't know how to do it. I have another applications (Windows applications) and they need to connect to the service and receive the data from HW card each time the data changed. It would be great if I'll able to connect to some interface of the service and catch some event OnChange or something similar. I don't know if it is possible and if yes how to do it. Is it possible or is there better way to do this?

      W Offline
      W Offline
      WillemM
      wrote on last edited by
      #2

      Have you tried doing that with .NET remoting? It supports sending events. Or better yet, have a look at WCF. It supports memory pipes as the communication channel. It should be ideal.

      WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson

      M 1 Reply Last reply
      0
      • W WillemM

        Have you tried doing that with .NET remoting? It supports sending events. Or better yet, have a look at WCF. It supports memory pipes as the communication channel. It should be ideal.

        WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson

        M Offline
        M Offline
        MinarikM
        wrote on last edited by
        #3

        Thanks for answer. No, I have not tried .NET Remoting nor WCF. I have not any experience with it. I'll check it now, may be you aare true and it si ideal for me...

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups