|
by: mimisam |
last post by:
hi,
I am using Win XP and writing an application to check POS devices
(printer and cash drawer).In the application I need to choose the port
which the device is connected to. If the port chosen is wrong or the
device is off power, a communication error message should be
displayed.
I am using FileOutputStream and FileInputStream to send and receive
data from the ports. When parallel port is used, I got the feedback
when the printer is...
|
by: Vidya Bhagwath |
last post by:
Hello Experts,
I am porting the C++ code into the Visual C#.NET. My C++ code is
mainly based on the serial communication. So I am using the windows
structure such as DCB.. etc and the windows functions frequently in my
C++ code. I came to know how to import the windows functions into
Visual C#.NET. But what is the method to import windows structure into
Visual C#.NET?
It will be very helpful for me if anybody can give me the WebID that...
|
by: Haluk Gokmen |
last post by:
I had an inquiry about the use of MSComm OCX in a C# application awhile
ago and I really appreciated Nicholas Paldino's help, which is listed
below...
My code worked well in VS2003. I am now transfering the code into C#
Express, which has a new SerialPort class in it. I came across another
problem this time. My code is also listed below. I would appreciate your
comments.
/******* Your previous answer to my inquiry ********/
Haluk,
|
by: Michael Chong |
last post by:
I wrote a program that communicate with SerialComm. In every 300
milliseconds, my program continuously send & receive data via the serial
port once the program starts.
My program is once in a while, the serial port seems corrupted because when
my data is sent, it doesn't go through the serial port, so as same to
receive process. In order to fix this, I have to close the port and reopen
the port again.
Why?!! Is there any way to fix...
|
by: Leandro Berti via DotNetMonster.com |
last post by:
Hi All,
I wrote a code to do serial communication with an equipament.
When i use the code outside of threaded class it seens work properly,
but when i put inside a class and execute a thread in the first seconds the
communication is ok, later i receive read/write error.
I?ve been in MSDN site and there i discover that the read/write error is a
INVALID_HANDLE problem. But why??? I just create the serial communication
file and use it....
|
|
by: chapeau_melon |
last post by:
Hello,
I'm basicly not a programmer...
I found some C++ codes on the net that almost satisfy me needs, wich
is to communicate with an other device that sends data to me, wich I
have to receive and save into a file.
But here is the problem :
I have a copy of the MS-DOS KERMIT communication program.
|
by: Marco Trapanese |
last post by:
Hi,
every 250 ms (timer event) I must send several commands via serial
port. The serial unit will answer to each command sent. I must wait the
answer before send the next command.
How can I achieve this? I receive the incoming data in the "data
received" event of the serial port. Furthermore I need to manage a
timeout: if I receive no answer within a specified amount of time an
event will be generated.
|
by: suhabayindir |
last post by:
In an application of:
Serial Port Communication in C# using sPort_DataReceived() event
I have noticed that the maximum number of characters that you can receive using this event is limited to 8, and if you try to receive a string having more number of characters, it receives the first 8 characters in the first Timer tick, and than receives the rest in the second timer tick.
İs it possible to receive the complete string at once (say a...
|
by: mysticm83 |
last post by:
hi
i am working with c# on dot net1.0 plateform. my project is to communicate with mirocontrolers through serial port. i am using mscom ocx control of vb6 for serial communication. i am facing a problem that in receiving data for the port. the problem
is the data is transmitted by microcontroler with intercharacter delay. the data is received by my programe correctly. but in ouw requirement there should be no inter character delay in...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|