i'm building a UI using a com ports, and i'm trying to write labels to distinguish between the com port and the com port's port number... ?
for example, i'm using Com Port 3, and it's set to 5331. what is the 5331? how can i label the two different?
...
Hi, i am using c# and Serialport and com0com(virtual serial ports)
My problem is that my c# application can't recive data from hyperterminal,the event DataRecived is not fired and if i call manualy the readExisting i get nothing
To test this problem you can create a basic c# app like this one that has same problem http://balau82.wordpr...
I am developing an Android app to connect to a simple device that supports the bluetooth serial port profile (SPP). I am able to successfully connect and exchange data, but each time I connect the user is prompted to enter the PIN for the device.
In the bluetooth settings I can see that the device is 'paired by not connected'.
The p...
I just joined StackOverflow after having found many great answers here in the past. Here's my first question:
EDIT: I feel bad... my first question to StackOverflow turned out to be a "wild goose chase". The problem is in the data, not the code reading the data. I was looking for a solution in the wrong place! I will explain in a commen...
I'm going to need to integrate a Java application that I wrote with a medical device that uses a serial port for communications. This device is rather expensive, and also not so portable.
I'd like to be able to test code wherever I happen to be, but you can only do so much before you need to plug in your serial device and start testing...
I have some devices which read an RFID tage and pass the serial number of the tag over the serial port.
It seems to me that it is "better" to use two bytes for each digit of the serial number, especially since some devices are sending a terminating 0x0D 0xA (CR/LF).
Now I find one device which is using one byte per digit, so to send "1...
Hey I'm relatively new to Android programming (but not programming in general).
The Setup:
HTC Wildfire (running Android 2.1)
LM058 (RS232 Serial Cable Replacement)
LM058 will later on be attached to a MCU but for now it's connected to my laptop (terminal)
The Goal:
To connect Wildfire to LM058 to each other with a 'bidirectional-strea...
Hey Guys,
Having a few issues with RxTx (still!).
I'm using RxTx to control a USB->Serial bridge device that opens a cash drawer for my POS system.
When a user enters their clerk number and logs into the system, RxTx opens up the connection to the bridge using the following code:
try {
portID = (CommPortIdentifier) CommPortIdentifi...
I have a linux server (Red Hat 4) with one serial port connection to an embedded linux device, and another serial port connection to a power controller for that device. My current way to control them is to open two minicom sessions, each in its own window. I would like to automate this communication through scripts. At first, I began to ...
when I add CSerialPort files(SerialPort.h, SerialPort.cpp) into my QMake project, and compile it, IDE(vc2008) throw lots of errors, How could I deal with it?
I installed vc2008, qt4.6 for windows visualstudio, and visualstudio plugin for Qt, and CSerialPort works right in normal MFC projects.
I know there is a QextSerialPort, but it i...
VB.NET 2010, .NET 4
Hello,
I currently have a class that represents a serial device. The communication paradigm is: Send a command/request, the device then sends an acknowledged or not-acknowledged byte. If acknowledged, the device sends its response.
The way this is being done right now is: A timer periodically sends a command/re...
I need to expose an RS232 connection to clients via a network socket. I plan to write in python a TCP socket server which will listen on some port, allow client to connect and handle outgoing and manage and control requests and replies to from the R2232 port.
My question is, how do I synchronize the clients, each client will send some ...
So, I'm in a bit over my head, and I feel like I'm very close to a solution but it's just not working quite yet. Here's my situation:
I'm working with an Arduino MicroController, and I'm attempting to write two Bash scripts (right now running in MacOS 10.6) which will (a) print all serial data coming out of the Arduino unit to the stand...
I am using the C# SerialPort class to write to my COM port. Weird thing is that I can get data from the port just fine - it sends data that I am expecting. However, I cannot send any data to the port. Any data that I send is immediately echoed back to me as new data coming from the port. I am expecting a "Done" command but it instead giv...
I want to ask is there a library or assembly to access seral port to write on it using c#?
...
Hi there, I am building a class library for modbus and serial connections, I need to return an array of bytes back but when using the DataReceived event from System.IO.Ports I cannot return any since it's type is void. Also I am noticing that the DataReceived is not firing. The following is my code:
public void ConnectSerialModB...
I encountered an unexpected behavior while debugging a WinMo 6 program last night, and I wonder if I was dreaming. But first, some context.
The program communicates through a serial port with a GPS device. It uses either a physical port with cable, and also tries via Bluetooth. After a suspend or power-off, I don't need to close and reo...
How can I configure COMMTIMEOUTS to wait forever for at least one byte to be read?
...
Hey friends i am using the javax.comm API to help my program communicate to a hardware over the serial port. I am using the Windows 7, and netbeansIDE9. i used the common java program to check the available ports on my PC. the program compiled and run with out error. however,it returned nothing. can anybody tell me what i can do to use t...
Is there a way to write a program to output ON/OFF/ON/OFF sequence to one of USB, RS-232, or Parallel port? The On probably will be 5V or is "close circuit", and Off will be 0V or is "open circuit".
Can the frequency be very high? This can be achieve long time ago by using TTL chips and a "clock", and programming in Microcode, which i...