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...
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...
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...
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?
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...
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.