|
by: Andrea Judge |
last post by:
Hi there,
I'm developing an application to catch OBD sensors' data from my car.
I connect it via a RS232 interface.
Now.
with HyperTerminal I can connect and send/receive data, but I'd like to do
this from inside my C# program.
Anyone can write down a very small (or tell how to do it myself) application
containing methods like...
|
by: Ben Kim |
last post by:
Hello all,
Does anyone have an example on how to implement the new SerialPort Class in
VB.NET? I have been able to create the class, send (.WriteLine) to the port
and Read from the port but cannot figure out how to use the Events to tell
my program that data is available in the serial port buffer.
I have searched the internet and MSDN...
|
by: TeeCo |
last post by:
I'm creating a ClickOnce installation of an application that uses the
SerialPort class. I can publish, install and open the application
without error but while running the application at the point at which I
open the SerialPort I get an UnauthorizedAccessException exception.
I've been adjusting the ClickOnce Security Settings and...
|
by: sranger |
last post by:
When I try to use a System.IO.Ports.SerialPort object to read from a serial port, half of the time I have no problems. However, after I successfully read from the serial port, then close the connection, either when re-opening it (in the same instance or a new instance of my program) I get either an IOException "The Handle is Invalid" exception or...
|
by: Adriano |
last post by:
Hello,
I'm developing an application in VB.NET 2005 that communicates with a device
through RS232,
and need to send the following sequence of hexadecimal data to the device:
0xFF, 0x01, 0xC3, 0xE3, 0xFF, 0xFF.
That's the configuration:
|
|
by: arjan321 |
last post by:
Hello all,
I have a strange problem with the .NET serialPort class.
When I write some data to the serialport, not all the data is
immediately send: every once in a while, only ~50 characters of the 64
characters I'm sending gets send.
Then, when I do a write() again, the data gets send. This is
unacceptable behavior for my program.
|
by: sklett |
last post by:
I'm trying to send some printer commands (ZPLII) to an attached USB printer
using the SerialPort component. I didn't get very far at all. In fact I
haven't gotten anywhere.
The first problem I encountered is that a call to SerialPort.GetPortNames()
returns an empty string. In other words, NO port names are returned. I'm
not terribly...
|
by: cronusf |
last post by:
I set up two virtual COM ports 3 and 4 using com0com. I tried to test
it with the following program. However, the DataReceived event
handlers never get called. Can anyone with SerialPort class
experience double check my code so I can narrow it down to com0com not
being setup correctly?
using System;
using System.Collections.Generic;...
|
by: rajeswari02 |
last post by:
hi
am developing application on c#,
in this am getting data from handheld system through serialport.
data is like this:
$machine id,responce code,no of rows,current row,customer name,name,total balance,paid,paid date,remaining,checksum#
data like this getting from serialport ,and i need to split that and store in excel sheet,only...
|
by: Floralys |
last post by:
I have a transport layer class using:
_serialPort.DataReceived += new SerialDataReceivedEventHandler(_serialPort_dataReceived);
I use the class to get data from a barcode scanner. Normally I get the data as expected. When I send a deactivate command to the scanner the scanner still scans but does not send anything. When I activate the scanner...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|