Problem:
I have a hand held device that scans those graphic color barcodes on all packaging. There is a track device that I can use that will slide the device automatically. This track device functions by taking ascii code through a serial port. I need to get this thing to work in FileMaker on a Mac. So no terminal programs, etc...
What...
I'm developing a project that has a number of hardware sensors connecting to the deployment machine through RS232 serial ports.
But ... I'm developing on a machine without an physical RS232 serial ports, but I would like to make fake serial ports that I can connect to and output data from with the aim of faking input from hardware senso...
All the code below works. My device responds, C,7 is a reset. When I run this the second time it doesn't respond. If I manually turn my device off and on, then run this script again it works. But not if I press the button to run the script the second time.
RS232: 57600,8,N,1
Any ideas?? Is there any more information needed to solve thi...
Hello all!
I am having some trouble reading some data from a serial port I opened the following way. I've used this instance of code plenty of times and all worked fine, but now, for some reason that I cant figure out, I am completely unable to read anything from the serial port.
I am able to write and all is correctly received on the...
Alright so I am positive my Arduino circuit is correct and the code for it. I know this because when I use the serial monitor built into Arduino IDE and send 'H' an LED lights up, when I send 'L' that LED turns off.
Now I made a python program
import serial
ser = serial.Serial("COM4",9600)
ser.write("H")
When I run the code the LED ...
Hello everyone!
I'm trying to make a microcontroller communicate with a program on my desktop. I'm using serial port connections with Xbee radios on both ends.
The communication works fine when I send something from the microcontroller to the desktop and the program on the desktop then sends something back to the microcontroller.
Ho...
As I am using the com0tcp software to connect to a COM port on a remote computer, I keep noticing that the com0tcp automatically sets the baud rate of the port to 19200. For my purposes, I need to be able to set the rate of the COM port to 9600. Is there a specific command where I can set the port baud rate?
...
I'm at a brick wall!
I have a teperature PCB that reports the temp back via serial port.
I can open Hyper Terminal and receive all the data I want - so I know the unit is working... but I want to create a VB app so I can use the data received.
When I run the program I get this error:
System.TimeoutException: The operation has timed o...
Can anyone recommend any good Com port monitor tools, like Portmon, which also work on Windows x64? Ideally something open source / freeware would be good.
...
Hi Guys,
Anybody knows how to integrate iPhone with other non-iPhone devices using serial port? Please help me
Thanks in advance
Regards
Jayaraj
...
I have an autodetect thread that tries to open the ports in order and match the received data, thus detecting the port where the relevant device sends the data. Now, there are some ports where the SerialPort.Open simply hangs the thread for ~30 secs. How can I set a timeout on the SerialPort.Open function?
...
I have an app where I read from the serialport, everything goes fine, until I close the app. When I click on the [X] the app simply hangs, the UI: unresponsive.
I read from the port in the DataReceived event handler, and I close the port when FormClosed happens:
private void MainForm_FormClosed(object sender, FormClosedEventArgs e)...
I would like to use printf to diplay text on a serial port of an ARM microcontroller. I am unable to do so. Any help is appreciated.
My init_serial looks like this
void init_serial (void)
{
PINSEL0 = 0x00050000; /* Enable RXD1 TxD1 */
U1LCR = 0x00000083; /*8 bits, 1 Stop bit */
U1DLL = 0x000000C2; /*9600 Baud Rate @12MHz VPB Clock */
...
We have a Java application which needs to communicate with a peripheral device over Virtual Serial COM port. We use the RS232 Java COMM API (javax.comm.properties, comm.jar, win32com.dll) to achieve the same. Currently the code works fine on Windows XP 32-bit, Vista 32-bit and Windows 7. However we are having a problem trying to communic...
I am new to driver stuff. I have tried to debug the kernel driver using serial COM port without success. Could someone show me proper direction how to fix the problem?
I am seeing the following messages on kd console.
ERROR: DavReadRegistryValues/RegQueryValueExW(4). WStatus = 127
ERROR: DavReadRegistryValues/RegQueryValueExW(5). WSta...
I have the following C program:
#include <fcntl.h>
#include <termios.h>
#include <stdio.h>
int main()
{
int fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_NONBLOCK);
if(fd < 0)
{
perror("Could not open device");
}
printf("Device opened\n");
struct termios options;
tcgetattr(fd, &options);
cfmaker...
I am trying to open COM1, but get a strange error every time I call SerialPort.Open().
The error is:
The given port name does not start with COM/com or does not resolve to a valid serial port.
Parameter name: portName
The code is very simple:
SerialPort port = new SerialPort("COM1", 19200, Parity.None, 8, StopBits.One);
port.Ha...
I'm trying to interface a digital sensor to my computer via MATLAB.
I first send a request for data to the sensor, then the sensor replies with a six byte stream.
MATLAB reads the sensor like this:
data1 = fscanf(obj1, '%c', 6);
I know exactly what the contents of the data is supposed to be, but I don't know how to read the data in ...
Greetings!
I'm new to the world of Python and my programming skills are fairly poor but I'm trying to figure a way to use Python to display the output from an EEG circuit (using the OpenEEG circuit http://openeeg.sourceforge.net)
The analogue output is amplified and processed via an ADC (in an ATmega8 microcontroller) and is converted ...
Hi, I have an application that has strict timing.
Inter-character delay must be no more than is 0.15s
The messages themselves are quite small. 10 - 50 chars
I don't understand what ReadTotalTimeoutMultiplier
and ReadTotalTimeoutConstant actually mean in practice.
The math in this example doesn't work?
http://www.lookrs232.com/com%5...