109 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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.......... | |
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 … | |
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 … | |
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 … | |
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 … | |
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> … | |
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 … | |
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; … | |
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 | |
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 | |
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 … | |
Circuit, [Circuit Diagram](https://picasaweb.google.com/116591322380497799116/December52012#) Video: [Video](http://www.youtube.com/watch?v=qGoM_ydAtBc) | |
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! … | |
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 … | |
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 … | |
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 … | |
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? | |
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? | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 { … | |
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 … | |
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. … | |
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 … | |
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 . | |
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 … | |
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" | |
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? | |
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) | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
Hi, I want to read ctrl-c ctrl-z values from serial port. is there any ways to read? Regards Yuvaraj | |
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 … |
The End.