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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Serial Comunication In C#

Serial Comunication In C#

Scheduled Pinned Locked Moved C#
csharphelpquestion
3 Posts 3 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.
  • A Offline
    A Offline
    ayuba asia
    wrote on last edited by
    #1

    I want to develop and aplication to te information from 1 weigthing machine that is connected to my serial port. but the problem there is no DLL or any library that i can use from the machine vendor. thay only let me know tha address where i can get the data from and after i get the i have to delete the data from the machine.. how do i make my a serial port listener that whenever the machin have activity i have to get notified by the machine. thanks.. Jalil

    D B 2 Replies Last reply
    0
    • A ayuba asia

      I want to develop and aplication to te information from 1 weigthing machine that is connected to my serial port. but the problem there is no DLL or any library that i can use from the machine vendor. thay only let me know tha address where i can get the data from and after i get the i have to delete the data from the machine.. how do i make my a serial port listener that whenever the machin have activity i have to get notified by the machine. thanks.. Jalil

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Without knowing any details about the scale and how it communicates, you're going to be doing LOTS of trial-and-error testing to figure out how the thing works and what you're going to have to do to get the information you need. There's no standard to follow here. It could be as simple and opening the Serial port the scale is attached to (with the correct communication parameters of course!) and waiting for the scale to send you a weight. Beyond that, try it and see what happens. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      • A ayuba asia

        I want to develop and aplication to te information from 1 weigthing machine that is connected to my serial port. but the problem there is no DLL or any library that i can use from the machine vendor. thay only let me know tha address where i can get the data from and after i get the i have to delete the data from the machine.. how do i make my a serial port listener that whenever the machin have activity i have to get notified by the machine. thanks.. Jalil

        B Offline
        B Offline
        bouli
        wrote on last edited by
        #3

        You can use the System.IO.Ports namespace in your project. The SerialPort class is very simple to use. I guess your weighting machine has a special way to send data on the port. If you don't know, I suggest that you use an RS-232 analyzer to see what's being sent by the weighting machine. fred. There is no spoon.

        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