serial port

  1. rkb771

    Question Cast string to byte array

    I am using .NET 6 for a project where I am reading some data from serial. The SerialPort.ReadExisting is my choice of method for reading serial data. This method returns the data as string but I need the data as byte array. I know of System.Text.Encoding.ASCII.GetBytes but my confusion is that I...
  2. TADBABA

    Serial port: DataRecivedHandler issue

    Hi all, I'm new to C#. I'm doing a project that uses Zedgraph to implement FIR LPF. A PIC chip is used to filter the square wave to sing wave and transfer the data to C# GUI by Bluetooth. When GUI receive the data for a while, it shows: System.ArgumentException: 'Offset and length were out of...
  3. S

    formating the buffer input from a serial port?

    hello, i have a program where i read a list of values from an energy meter through a serial port. to read the buffer i use the ReadExisting() method. my problem is that the words in the second column have different length each raw so the list is not orginized well: I am looking for a way...
  4. Wrobb

    Question Serial Communication - Device name instead of COM number

    We try to create a personal controller by using a arduino. So we have to use the COM port. Up to now we have to name manually. That sucks. Is there a way to use the device name or similar instead of the COM number?
  5. A

    Question Filtering scanned MAC address and display in textbox or listbox without duplication

    I am working on a tool that connected to my Bluetooth receiver and scan and get MAC address of BLE devices. So far I can scan and have the mac address continuously display in textbox. I am having problem with filtering MAC address?(Our assigned MAC address 88 99 66 55 4X XX the last 12 bit is...
  6. A

    Excel. Output Data Via Serial Port.

    Hello, I need assistance in creating a program which has 2 serial ports with 2 different functions. 1: Input Serial data 4 bits long from Serial port number 1 (RX) to Excel. 2: To then Output a string of data 16 bits long taken from Excel to a Serial port number 2 (TX) Thank you
  7. M

    How to solve IOException ?

    I have a Vantage Pro2 which is weather instruments system. My communication with it is by serial port. When I command to it, it gives back me an acknowledgment character and 99 bytes array of data. But after some minutes I get the following error: IO Exception was unhandled An...
Back
Top Bottom