Search Result

Collapse
8 results in 0.0041 seconds.
Keywords
Members
Tags
serial
  •  

  • Filter and convert hex characters received through a serial port into keystrokes

    I am developing an RFID-based timing system for timing cycling races. Currently have an application which was written for manual entry of race numbers using the keyboard. The RFID reader passes hex data to the PC through a serial or TCP port. I need to convert the received data into meaningful race numbers and then transmit these numbers to the app as keystrokes. i.e 0004, or 0005, etc. followed by a comma and "ENTER"
    The problem...
    See more | Go to post

  • I am trying to get data from the serial port

    I am trying to get data from the serial port

    I have built a simple serial program that opens the port and displays to a text box. It is working in that it opens and closes the port alright.

    BUT the data some how needs to be converted. It is garbled the data is in 8bit bytes how do I get them to show in hexdecimal? This is what they should look like in hex values, 19 39 43 09 29 11 19 80 they represent the (hour, minutes,...
    See more | Go to post

  • Maja Gajic
    started a topic C# serial port programming help
    in .NET

    C# serial port programming help

    Hello I am writing a program for my final year project at uni attempting to communicate with a CTG machine via an RS232 interface. I have the documentation of the machine and have set the correct properties of the port in the code and also in the properties of the port through my computer.
    There is no handshaking.

    I am trying to send a block in the form of

    The data code for G-mode (auto send mode) is:
    ...
    See more | Go to post

  • Maja Gajic
    started a topic C# help padding Byte with zeros

    C# help padding Byte with zeros

    Hello I am quiet new at C# programming so would appreciate any help. I am writing a program to communicate via RS232 with a machine and need to send it a packet in the form:
    Code:
    { <DLE> , <STX> , "G" , <DLE> , <ETX> , <CRC> , <CRC> }
    
    byte[] byteToSend = new byte[] { 0x10, 0x02, 0x47, 0x10, 0x03, CRC , CRC };
    My two byte CRC is 0x421F and...
    See more | Go to post

  • Samuel Jones
    started a topic How to monitor physical ports on a PC?

    How to monitor physical ports on a PC?

    I am looking to develop an interface to monitor traffic on a computer's USB/Serial ports.

    How would I accomplish this?

    I am just simply looking for a method on how to do it, the rest I can take care of.

    Thanks in advance.
    See more | Go to post

  • Dave Elfers
    started a topic How to listen to serial port

    How to listen to serial port

    Hello,

    I need to write a script to listen to a serial port basically forever. The python script will be launched by another program and the input to the com port passed to the other program. As long as this other program is running, I need the python script to run and handle the com port traffic.

    I have this working (thats about it),

    Code:
    import serial
    from scala5 import sharedvars
    import
    ...
    See more | Go to post

  • nav010
    started a topic How can i communication with USB in C?
    in C

    How can i communication with USB in C?

    Hello everyone

    How can I communicate with USB drive using C code?

    Like in ethernet, we have source ip address, destination ip address for communication between source and destination. How can I do this in USB? What parameters do I need to set in USB for communication.

    Any help would be appreciated.
    See more | Go to post

  • poisonvm
    started a topic C program embedded in PHP to read the serial port
    in PHP

    C program embedded in PHP to read the serial port

    I wrote a C program that is successfully able to read and write from the serial port.
    When the program is run in shell or terminal on linux it can read and write data to the micro controller.
    However when the program is embedded in PHP <?php echo exec("./send toserial.out"); ?> it is unable to send information to the micro controller.
    I have tried other programs embedded in PHP, like a C program that can read and...
    See more | Go to post
Working...