Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [serial-port]

A serial port is a physical interface through which data is transferred (uni- or bidirectionally) one bit at a time. The term usually refers to the RS-232 port with a 9-pin d-sub connector that was once the standard serial interface on a PC.

-1 votes
0 answers
34 views

Sometime cannot create connection to serial COM port

I developed a Java application using a DLL library for serial COM communication. (FYI: DLL file is used for a card encoder device - ref). My application works fine in the development environment and ...
simpsons3's user avatar
  • 959
0 votes
1 answer
55 views

Variable defined in function becomes undefined later in Python [duplicate]

Just a quick question on a small script taht is for some reason not working I ran this script: import serial import time import turtle def serialreading(): serialPort = serial.Serial( ...
Aayan Rehman's user avatar
0 votes
0 answers
14 views

EVA DTS for vending machine

I'm looking for information about EVA-DTS (DEXUCS/DDCMP) in order to get all of information in the vending machine (prices, stock, selles, etc) I contact with Eurpean vending association seeking ...
Oniguirii's user avatar
0 votes
0 answers
40 views

How to create a parallel program that reads different data

I'm trying to create a process that listens to three COM ports and process the data in parallel. The problem is that I have a machine that sends an ID and proceeds to do a test in one of the COM ports,...
user26427062's user avatar
1 vote
1 answer
52 views

Check if Barcode Scanner is successfully connected to Serial Port

I am currently working on a solution that reads data from a Barcode Scanner through a serial port on an Ubuntu 22.04 machine. Is there a way for me to check in my software(Golang) that the Scanner is ...
Matt B.'s user avatar
  • 59
0 votes
0 answers
37 views

How to receive a sequence of serial data with variable length efficiently

I have a method to receive a sequence of serial data message in a while loop. Each of them could be more than 100 bytes but less than 2048 bytes. Most of them are about 1000 bytes. public int ...
WangDaChui's user avatar
-1 votes
0 answers
30 views

How to avoid real-time plot from freezing due to model prediction (1~2 seconds freezing) in pyqt6

I am doing a GUI for real-time data collection app using pyqt6, in this app I integrate a trained model. The app works fine without this model, however when it is time to do the prediction, the GUI ...
user26416177's user avatar
0 votes
1 answer
60 views

Is there a way to make tasks/threads that execute in multiple stages?

I am trying to figure out how to improve my use of C# and solve a few problems in my code (which is the subject of a much more panicked question I posted earlier and which I will likely take down for ...
Cameron Hadland's user avatar
0 votes
1 answer
29 views

Serial Error: Could not open port 'COM5': PermissionError... when trying to send byte over Virtual serial port

I am trying to run 2 very basic test scripts, a read script and a write test script over serial communication using loopback. I have the read script in a while loop to read bytes received. I have the ...
Fisch's user avatar
  • 1
0 votes
0 answers
26 views

Why running tera term from Jenkins does not working?

I am trying to automate sending file through serial port using tera-term software. When i run command using cmd it works. but when i try to run the same command from jenkins script it does not work. ...
Saifur Rahman Bhuiyan's user avatar
1 vote
0 answers
22 views

Connect Android Emulator to Windows COM Port to Send/ Receive data

I am developing a mobile app that will communicate with external devices through USB serial cable I have done this with physical device, but I want this with android emulator (Virtual mobile). I think ...
Athikur rahuman S's user avatar
0 votes
1 answer
47 views

pySerialTransfer Two Way Communication Issues

I wrote a minimal two way python and serial communication script that sends an integer to the arduino. Then, the arduino increments the integer and sends it back over serial. comm.py from time import ...
itisyeetimetoday's user avatar
0 votes
0 answers
49 views

Sending float continuously from python to arduino via serial

I'm trying to send lots of float data from python to arduino. But when I check the values, some of them are wrong. the part of python code: arduino = serial.Serial(port=args.port, baudrate=115200, ...
PriceWang's user avatar
-2 votes
0 answers
21 views

Disable serial port printer in case of errors

I only recently started working on serial printers. In this case, the printer is available to print whether it has an error condition (eg. Open lid, no paper and so on) or not. I would like to ...
Helios Lucifer's user avatar
0 votes
0 answers
56 views

Flutter serial port reads wrong bytes

I've tried to write an app in flutter to read a serial port connected to an Arduino Mega or ESP32 using flutter_libserialport. The problem is when I connect the device and open the port in flutter, ...
amirre's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
782