Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 414 results for
serialport
- Page 1
Re: Serialport does not return any data
Programming
Software Development
14 Years Ago
by sknake
… partial class frmSerial5 : Form { private List<
SerialPort
> ports; public frmSerial5() { InitializeComponent(); } …new List<
SerialPort
>(); string[] portNames =
SerialPort
.GetPortNames(); foreach (string s in portNames) {
SerialPort
sp = new
SerialPort
(s); sp…
Serialport does not return any data
Programming
Software Development
14 Years Ago
by therockey123
… get fired. [CODE]//serial port def
SerialPort
sp; //delegate to write to textbox …try { string[] sps =
SerialPort
.GetPortNames(); foreach (string pname in sps) { sp = new
SerialPort
(pname); sp.DtrEnable = true…
Re: Serialport does not return any data
Programming
Software Development
14 Years Ago
by sinnerFA
Does your code throw any exceptions? I am looking @ your code and I do not see any port config info (baud, parity, etc...) Check this out: [URL="http://msdn.microsoft.com/en-us/library/system.io.ports.
serialport
.aspx"]MSDN system.io.ports.
serialport
[/URL] HTH's...
SerialPort Programming issues
Programming
Software Development
13 Years Ago
by limepebblez
…) and this I got no problem sending as the function
SerialPort
.Write() I can use to send byte array of the… really don't know how to send scan code through
SerialPort
.Write as it only supports String, Byte array and Char…
Re: SerialPort.GetPortNames()
Programming
Software Development
13 Years Ago
by Software guy
…. The code I used: [code] public void
serialport
() { foreach (string s in System.IO.Ports.
SerialPort
.GetPortNames()) { Console.WriteLine("{0}"…
SerialPort.GetPortNames()
Programming
Software Development
13 Years Ago
by Fritz.fx
… the code. [CODE]foreach (string s in System.IO.Ports.
SerialPort
.GetPortNames()) Combobox1.Items.Add(s);[/CODE]
SerialPort.DataReceived Event HELP
Programming
Software Development
9 Years Ago
by Magic8Computing
… System.IO.Ports Public Class Form1 Private mySerialPort As New
SerialPort
Private Sub ButtonShowPorts_Click(ByVal sender As System.Object, ByVal e…
Recieve from SerialPort from Another Machine
Programming
Software Development
9 Years Ago
by JOSheaIV
… small little application that reads in the bytes from a
SerialPort
object. While this worked successfully, it was completely local. The…need to use the same logic to read from a
SerialPort
object that might be located on another machine. Is there…with. Can I use that IP in relation to the
SerialPort
to pull data from another source (the one device I…
C# Remoting to access SerialPort?
Programming
Software Development
13 Years Ago
by gumbald
…; using System.IO.Ports; namespace C7_Serial_Server { class C7_Serial { internal static
SerialPort
SP { get; set; } static void Main(string[] args) { …: "); int SP_Location = Convert.ToInt32(Console.ReadLine()); SP = new
SerialPort
("COM" + SP_Location); SP.BaudRate = 57600; SP.Open(); …
write ctrl+z to managed System::IO::Ports::SerialPort
Programming
Software Development
12 Years Ago
by chamika.deshan
…;Write("at"); // smsport type is System::IO::Ports::
SerialPort
^smsPort;` gives me output OK At the end(after the…((char)26); this gives me error *'void System::IO::Ports::
SerialPort
::Write(System::String ^)' : cannot convert parameter 1 from 'char' to…
vb.net serialport
Programming
Software Development
9 Years Ago
by dre-logics
i use vb.net 2012 and a pin terminal on
serialport
. Everthing works fine (sending en receiving), i want that the … System.Threading Public Shared Sub Main() Dim mySerialPort As New
SerialPort
("COM1") mySerialPort.BaudRate = 9600 mySerialPort.Parity = Parity.Even…
Re: Recieve from SerialPort from Another Machine
Programming
Software Development
9 Years Ago
by JOSheaIV
… wireless transmitter. I have an IP Address, but sadly, the
SerialPort
object can accept that IP, it just complains that when…
System.IO.Ports.SerialPort Question!!
Programming
Software Development
13 Years Ago
by ecloney
… 2008. I am sending data back and forth using the
serialport
module. I am wondering if there is a way to…
Re: Eject and re-detect serialport without unplugging it
Programming
Software Development
9 Years Ago
by Begginnerdev
… do what you wish. Private Function ResetSerialPort() As IO.Ports.
SerialPort
Try For Each sPort As String In IO.Ports….
SerialPort
.GetPortNames() Dim spMyPort As New IO.Ports.
SerialPort
(sPort) If spMyPort.IsOpen Then spMyPort…
Re: Send correct ascii to serialport
Programming
Software Development
14 Years Ago
by procomp65
… on these 2 terminal programs, what is sent to the
serialport
? BTW I am using VS2010 beta on Vista, could that…
Re: Reading text from textbox and passing to serialPort
Programming
Software Development
10 Years Ago
by Ketsuekiame
… machine and then select the correct one for your device. `
SerialPort
.GetPortNames` will return a list of com ports to you…
COM Interop Not Working
Programming
Software Development
12 Years Ago
by skatamatic
…;)] public class SeeLevel828_Utility { const char CR = '\r'; #region Private members
SerialPort
serialPort
; string sDataBuff = ""; #endregion #region Public properties, enums and…
How to connect to huwaie usb modem [sms application]
Programming
Software Development
12 Years Ago
by GAiXz
….NewLine = vbCrLf End With
SerialPort
.Open() Return
SerialPort
Else Return
SerialPort
End If Catch ex As …Function Public Sub ClosePort(ByVal
Serialport
As
SerialPort
) Try
Serialport
.Close() Catch ex As…
creating thread in the sending sms code
Programming
Software Development
14 Years Ago
by lil_Is
…serial port if it is open--- If
serialPort
.IsOpen Then
serialPort
.Close() End If Try '---configure the… various parameters of the serial port--- With
serialPort
.PortName = cbbCOMPorts.Text .BaudRate = 115200 .Parity …
problem in getting communication port
Programming
Software Development
11 Years Ago
by jalpesh_007
… e) {System.out.println(e);}
serialPort
.notifyOnDataAvailable(true); try {
serialPort
.setSerialPortParams(9600,
SerialPort
.DATABITS_8,
SerialPort
.STOPBITS_1,
SerialPort
.PARITY_NONE); } catch (UnsupportedCommOperationException e) {System…
why does the message is not send?
Programming
Software Development
14 Years Ago
by lil_Is
…IO.Ports Public Class Form1 Private WithEvents
serialPort
As New
SerialPort
Private Sub Form1_Load(ByVal sender As System.…Try '---configure the various parameters of the serial port--- With
serialPort
.PortName = cbbCOMPorts.Text .BaudRate = 115200 .Parity =…
Using timers in an array of struct C#
Programming
Software Development
10 Years Ago
by J_SON
…(object sender, EventArgs e) {
serialport
.BaudRate = 115200;
serialport
.PortName = combox.Text; //
serialport
.open; if (!
serialport
.IsOpen) {
serialport
.Open(); startbtn.Enabled = false; stopbtn…
Java and RFID programming (Omron RFID)
Programming
Software Development
14 Years Ago
by zeropulse
…;)) { System.out.println("RFID Testing....Port Found"); try {
serialPort
= (
SerialPort
) portId.open("SimpleWriteApp", 2000); RFIDTest wr = new RFIDTest…
Re: understanding some serial port code...
Programming
Software Development
13 Years Ago
by vitroblue
…- " + getPortTypeName(portId.getPortType())); try{
serialPort
= (
SerialPort
)portId.open("Read/Write", 2000); }catch….exit(-1); } try{
serialPort
.setSerialPortParams(9600,
SerialPort
.DATABITS_8,
SerialPort
.STOPBITS_1,
SerialPort
.PARITY_NONE); }catch (UnsupportedCommOperationException e…
serial Port programming
Programming
Software Development
16 Years Ago
by Acidburn
…sPort.disableReceiveThreshold(); sPort.setSerialPortParams(115200 ,
SerialPort
.DATABITS_8,
SerialPort
.STOPBITS_1,
SerialPort
.PARITY_NONE); sPort.setFlowControlMode(
SerialPort
.FLOWCONTROL_NONE); //sPort.enableReceiveTimeout(1000); InputStream…
i don't understand how Autoresetevent is working in my code?
Programming
Software Development
14 Years Ago
by ravikiran32
… p_uDataBits, int p_uReadTimeout, int p_uWriteTimeout) { receivenow = new AutoResetEvent(false);
SerialPort
port = new
SerialPort
(); try { port.PortName = p_strPortName; //COM1 port.BaudRate = p_uBaudRate; //9600…
Hex data conversion in VB2008 Express
Programming
Software Development
13 Years Ago
by KrisJones
…(ex.Message) End Try End With
serialPort
.Open() End Sub Private Sub serialPort_DataReceived(…As System.IO.Ports.SerialDataReceivedEventArgs) Handles
serialPort
.DataReceived recievedData +=
serialPort
.ReadExisting Me.Invoke(New UpdateRecievedData(AddressOf …
makefile shared library file dependencies
Programming
Software Development
14 Years Ago
by willydlw
… -o libPumaMotorDriver.so PumaDriver.o PumaBody.o PumaMotor.o
serialPort
.o base_manipulation.o install: cp *.so /usr/local/lib…includes PumaMotor.h. PumaMotor.h includes
serialPort
.h, base_manipulation.h, silvermax_commands.h.
serialPort
.cpp includes
serialPort
.h. base_manipulation.cpp includes base_manipulation.…
Re: creating thread in the sending sms code
Programming
Software Development
14 Years Ago
by Teme64
… but noticed one point in your code: [CODE=VB.NET]
serialPort
.Write("AT+CMGS=" & RichTextBox1.Text & vbCrLf…
Re: creating thread in the sending sms code
Programming
Software Development
14 Years Ago
by lil_Is
… want to send the SMS. As for the code, [QUOTE]
serialPort
.Write("AT+CMGS=" & RichTextBox1.Text & vbCrLf…
1
2
3
7
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC