109 Topics

Member Avatar for
Member Avatar for johnpote

I cannot access the serial port, COM1:. I used to be able to but now any app, such as Hyperterminal, that tries to open COM1: puts up a small info window that says "Unable to open COM1. Please check your port settings." Any idea what might be causing this? According …

Member Avatar for Amarjith_1
0
2K
Member Avatar for ram_10

Hello, I'm trying to read a serial port data from a controller and plot it using chart. I could read the data from the controller and see the data in a textbox earlier. Now I'm trying to use a chart along with the textbox. There are complication when I'm trying …

Member Avatar for ram_10
0
1K
Member Avatar for DenisOxon

I am writing a VB.Net (VS 2015) application to control equipment in real time which is connected via USB ports. The equipment requires that text string, terminated by a chr(13) be sent. Most commands will get a response back. For example one command (set VALVE1 ON) will open a valve …

Member Avatar for rproffitt
0
757
Member Avatar for fugio

I'm working on a messaging application I have a gsm modem and device usb rs232 I want a private message to your phone from a form that I write below is my code but it don't work. My phone does not receive any messages namespace WindowsFormsApplication1 { public partial class …

Member Avatar for rproffitt
0
346
Member Avatar for Iyappan_1

How to read the Serial port data ? apart from WinUSB or Win32 method in C++.I'm also Search the internet ,But i didn't get any idea . So if any other way to read the Serial port in c++ ? please explain me..........

Member Avatar for gusano79
0
212
Member Avatar for Magic8Computing

Hi, I am new to programming and have attached my code so far, i need to insert the code to read data from serial port but havent a clue where to put it or how any help would be great Imports System Imports System.IO.Ports Public Class Form1 Private mySerialPort As …

Member Avatar for ddanbe
0
851
Member Avatar for Magic8Computing

Hi, I have writen web sites before but have been asked to create a VB program, but dont know where to start so hoping someone can help me. I need to create a program that sits waiting for data from the serial port which is attached to a set of …

Member Avatar for Magic8Computing
0
3K
Member Avatar for JOSheaIV

Hello everyone, So today I wrote a small little application that reads in the bytes from a SerialPort object. While this worked successfully, it was completely local. The device I was reading from was plugged into my machine. Now, again while that worked, I need to use the same logic …

Member Avatar for JOSheaIV
0
153
Member Avatar for julie.macfarlane.73

I am building a support application (VB.net 2010) for a device that will attach via USB. Most of the end users will not be geeks. In starting the app I need to discover available ports on the machine, which I can do with this code. myPort = IO.Ports.SerialPort.GetPortNames() 'Get all …

Member Avatar for julie.macfarlane.73
0
333
Member Avatar for Mehr Hassan

Hi, I have written a C program in Turbo C to load BITMAP image and now i am trying to send it over serial port. Kindly Help me how to send that image data which i already loaded in memory over serial port using OUTPORTB or BIOSCOM ? [CODE]#include <stdio.h> …

Member Avatar for rubberman
0
1K
Member Avatar for kirtee2209

Hi. My company makes use of Motorola scanners to scan barcodes into the system through a C# application. A driver (Symbol COM Port Emulation Driver v 1.8.5) has been installed on the computers to make the scanner behave as simple COM Port Emulation and when the barcode is scanned, we …

Member Avatar for Ketsuekiame
0
1K
Member Avatar for jalpesh_007

i have made one program,but it will give none of the port number. Following files i have made **SimpleRead.java** import java.io.*; import java.util.*; import javax.comm.*; import java.nio.ByteBuffer; public class SimpleRead extends SpeedometerExample implements Runnable, SerialPortEventListener { static CommPortIdentifier portId; static Enumeration portList; byte[] readBuffer=null; InputStream inputStream; SerialPort serialPort; Thread readThread; …

Member Avatar for JamesCherrill
0
338
Member Avatar for muna.nassr

please any one can help me about send and recieve packets by serail port the pakeck that i need to send is in hex to controll some thing how can do this in vb.net how can do like this design in the picture below please help me

Member Avatar for lolafuertes
0
119
Member Avatar for muna.nassr

hi to all please any know how can send packet via serail port in vb.net the packet in hex for exampe 7E001017010013A20040790794FFFE0244300566 any one can tell me how do that thanks

0
61
Member Avatar for muna.nassr

how can do that please any one can help me about send and recieve packets by serail port the pakeck that i need to send is in hex to controll some thing how can do this in vb.net how can do like this design in the picture below please help …

Member Avatar for adam_k
0
249
Member Avatar for NicAx64

Circuit, [Circuit Diagram](https://picasaweb.google.com/116591322380497799116/December52012#) Video: [Video](http://www.youtube.com/watch?v=qGoM_ydAtBc)

0
490
Member Avatar for flyboy567

Afternoon everyone, I'm having a bit of trouble writing a program just to open the serial port for communications, its the first time ive really dabled in c# so if i'm missing something really obvious let me know as im only using it to open the serial port. Many Thanks! …

Member Avatar for Momerath
0
176
Member Avatar for andutzicus

Hello, i have a problem with my. I'm a beginner in C# so take me easy. I need to use an integer wich varies from 0 to 255 (trackbar). I don't know how to match the integer with the address of respective char (actually serialPort1 uses string to send) in …

Member Avatar for andutzicus
0
106
Member Avatar for Shefali

hello i need to read and store data from a device through serial port. i have searched the forum but havent found something which is really helping me. can anyone give me some resources or sample codes where i can figure out how to do it? thanks in advance. regards …

Member Avatar for mariospelekis
0
7K
Member Avatar for six_sic6

In DOS, C, VB6 we could check if Transmitter Shift Register or Transmitter Holding Register empty or not before writing any data onto the serial port. This facility would certainly avoid making the attempt of writing while the port is not ready to accept data. similarly, we could check if …

0
137
Member Avatar for suneye

hello, I am using DB9 to DB15 serial cable inorder to reader one byte character send from the circuit I have designed, but I cannot read from the serial port why?

Member Avatar for suneye
0
135
Member Avatar for suneye

hello, I am using a microcontroller that will give me a signal through serial port. I need to read data from serial port and eventually fire an event in my program. any one has an idea how this can be done?

Member Avatar for PatSharbaugh
0
73
Member Avatar for mahdi68

Hi how can i use AT-Commands in C# ? i try with this code but it`s not work ! can any body help to me ? thanks [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO.Ports; namespace Sending_SMS { public partial …

Member Avatar for bigboss013
0
2K
Member Avatar for chamika.deshan

Hi I am trying to write "at" commands to serail port and send sms. `smsPort->Write("at"); // smsport type is System::IO::Ports::SerialPort ^smsPort;` gives me output OK At the end(after the writing message) I need to write ctrl+z smsPort->Write("Message"); smsPort->Write((char)26); this gives me error *'void System::IO::Ports::SerialPort::Write(System::String ^)' : cannot convert parameter 1 …

Member Avatar for gusano79
0
157
Member Avatar for naraayanan

Hi friends, This is my first post in this Site. I want to create a file from One device data .In that device connects via USB Cable One end.Please Help me. How can i achieve this?

Member Avatar for naraayanan
0
165
Member Avatar for sohair

Hello guys this is my first post I was having trouble interfacing a remote controlled car using serial port I have made the circuit for interfacing the serial port with the relays to control the car remote but the problem is that I need to make a C++ or C …

Member Avatar for raptr_dflo
0
355
Member Avatar for drewos

I want to write a program interrupts when the receive buffer for the serial port has received some data. I have done a little a bit of research and I believe C# word for interrupt is delegate. Apologies if I'm barking up the wrong tree but I want to know …

Member Avatar for ohammad reza as
0
501
Member Avatar for Doughng

I'm a beginner in programming, and I'm doing a project that requires continously getting an input from the Serial Port. I already used the SerialPort class to retrieve the data and use it in my programm, and now I want to write those same SerialPort values (splitted into array[0]....array[7]) into …

Member Avatar for Mitja Bonca
0
246
Member Avatar for buster2209

I'm currently reading data from a device via RS232 using the code; [CODE]UpdateTextBox2(MCport1.ReadExisting()); // Write serial data stream to textbox[/CODE] where UpdateTextBox2 is; [CODE] private void UpdateTextBox4(string text) { if (textBox4.InvokeRequired) { textBox4.Invoke(new MyDelegate1(UpdateTextBox4), new object[] { text }); Application.DoEvents(); } else textBox4.AppendText(text); Application.DoEvents(); }[/CODE] The problem is, the data …

Member Avatar for jfarrugia
0
150
Member Avatar for C#ENTHU

Dear All, Data comes to my serial port every 6 seconds. My application is capturing the data @ 1 data/6 seconds initially, properly and converting it into graphs. But as the time proceeds the capture rate becomes @ 2 data/12 seconds and again after some time @3 data/18 seconds. At …

Member Avatar for C#ENTHU
0
318
Member Avatar for mcodesmart

I am trying to implement the datarecieved based event handler, I think I am able to receive data from the port, but having difficulties executing the event.. I have tried both ReadLine and ReadExisting.. can you please comment on my code.. Thanks, [CODE] public partial class Form1 : Form { …

0
83
Member Avatar for azibhai4u

Hiii all I am using java 1.6 and RXTXComm package (Javax.comm) package. I can read data from a electronic weighing machine. Now I have to set the weight as zero. I can tare this weight by sending T command to serial port. I had tried several times but no response …

Member Avatar for ferdousKhanom
0
663
Member Avatar for peck3277

Hi guys, if anyone can help here it would be great. I'm running Windows XP SP3. I have at the moment a micro-controller connected to my serial port. Using the micro-controller I can get temperature data and send display it in a terminal. I can program the micro-controller in C. …

Member Avatar for Ancient Dragon
0
106
Member Avatar for farshad_emp

Hello I had wrriten a program in C# for windows ce that it read data from serial port(I used serial port control in c# toolbox) from data recieve event but while it is reading data time too long waste for complete data read.now how to reduce this too delay time …

Member Avatar for farshad_emp
0
148
Member Avatar for blueman:-0

I have device and have the driver of it ,the device send data to me by serial port how i can receive that data in java .

Member Avatar for blueman:-0
0
86
Member Avatar for limepebblez

Hey guys I'm really stuck in this very urgently needed solution, been working for 3 weeks plus and still can't come up with a working solution! Help needed asap. [U]ISSUE:[/U] The problem is simple. I have 2 PCs. One is 'master', second is 'slave'. On 'master', I have my .NET …

Member Avatar for limepebblez
0
179
Member Avatar for juliemac

New to C++ but can read it I need to break out a string sent via the serial port. The string :"N,1,2,3,4,5,6" I figure if I can load the string into an array then I can refer to each item via the index. EG: Myarray[0] should hold "N"

Member Avatar for juliemac
0
58
Member Avatar for zarulhamdi

how to open all serial port in vb.net? i know how to open by getportname..but how to open all??can we do it?

Member Avatar for zarulhamdi
0
86
Member Avatar for zarulhamdi

hi..i'm developing a tracking system using rfid for my project my tracking system prototype consist of two rfid reader. how can i use serialport(vb.net toolbox) to compare which serialport receiving data from reader? could someone help me in finding a way to use serialport(vb.net toolbox)

Member Avatar for albay
0
128
Member Avatar for Jimbomcdeans

Hi all, I am a long time creeper on the forms and first time poster. Is there a way in C# to take data from a text box, and send the data out to a serial port? I want to use this method to bypass a bar code reader, which …

Member Avatar for Jimbomcdeans
0
131
Member Avatar for kibr987

Hi All, I am having problem in connecting the serial port in c#. I have got a PIC microcontroller which is connected to a temperature sensor. It gives me temperature which I am writing in serial port and trying to read it through c#. I have a nice looking meter …

0
56
Member Avatar for procomp65

Hi I am battling for days now to send and receive the correct characters to hardware from my code. It works fine in tera term. I have to send ASCII 4 " alt 004" in tera Term to poll the datalogger to return the data stream saved in memory. The …

Member Avatar for kvprajapati
0
4K
Member Avatar for Ulukay

Ive got a big problem. I need to read data from the serial port Ive used serialport from the toolbox , but dont know how to use it. I used to do it on a Amiga like this open serial("serial.device".0.2400.0) rem(open port) repeat GW.w=readserial(0) if gw>29 and gw<128 gewicht$=gewicht$+chr$(gw) rem(at …

Member Avatar for albay
0
278
Member Avatar for ecloney

I am new to vb.net and am using visual studio 2008. I am sending data back and forth using the serialport module. I am wondering if there is a way to send a hex byte, rather than having the module ALWAYS convert everything to ASCII. This is extremely obnoxious, and …

Member Avatar for albay
0
145
Member Avatar for Bianca Zhang

Hi, all! Im trying to bulid the connection between Pocket PC and a certain Bluetooth device. I've tried to use the Outbound COM port, in my case is COM8, to let the Pocket PC as a server. i've received the build in pair request from the bluetooth device. And seems …

0
69
Member Avatar for gumbald

I'm having problems with the telnet on a device, so wanting to run a program attached by serial port to the device and then have other machines access this by C# remoting. However, I can't seem to find a way to give the interface access to this local resource after …

0
33
Member Avatar for AliSham

hi, i want to proram to serial ports please guide me good resources and links so that i can proceed. Plz in detail tell me how to start . thanks in advance

Member Avatar for ramakrishna.n
0
172
Member Avatar for dilansankalpa

I have written a program to receive data from the serial port. I am doing some calculations using those data and writing results to 4 richTestBoxes real time.I have two buttons to open and close the serial port. Some times when the close button is pressed, the form get stucked.This …

Member Avatar for dilansankalpa
0
78
Member Avatar for yuvaraj.ragupat

Hi, I want to read ctrl-c ctrl-z values from serial port. is there any ways to read? Regards Yuvaraj

Member Avatar for yuvaraj.ragupat
0
78
Member Avatar for friendfx

Hi there, recently I wrote a small C program utilising the Windows API to communicate with a device over the serial port (COM1, a real serial port of my PC). This worked fine, but I am aware of the fact that those real COM ports are replaced more and more …

Member Avatar for Jason Guo
0
2K

The End.