I'm having a problem about closing the port, because everytime i close the port, my program freezes.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click, Button2.TextChanged, RichTextBox2.TextChanged
I have been testing the SerialPort communications.
The packet format
STX + M + ENQ + ETX + BCC
Dim b(4) As Byte
b(0) = &H2 'STX
b(1) = CByte(Asc("M"))
b(2) = &H5 'ENQ
b(3) = &H3 'ETX
Dim bcc As Byte...
Hi Ladies and Gents,
I am new to VS2012, and used VB6 eons ago.
I have been asked to create a program to record serial data and audio data (from Multiple sources).
I was wondering if a DLL is the way to go and if it can do what i need it to.
Firstly i need a DLL to record the serial data to...
I don't know where the Problem is but i can't connect to COM1 with VB.Net
With Hyperterminal i can connect so the port insn't in use.
Can you help me correcting this code?
Thank you vbcom
PS: Full Code in Attachment
Private Sub SendData()
On Error GoTo hilfe
I have created an application with 3 terminal windows for capturing data from 3 serial ports and outputting the data to a file. It seems to work well with one serial port, but when I fire all 3 serial ports at once, the application hangs. Here is the portion of the code that I believe is the...
Hi, I was hoping someone could help me out with this problem. I have a system (VB .NET) where I must read a person's weight (RS232 Sluice) and id (Fingerprint - 2 biometric reader, rs232) and compare it to a database. I have 3 serialports in my app, one for the sluice and the other 2 are to...
If this is not the right forum for this question, then please point me in the right direction.
I'm brand new to Visual Basic 2008 (just started with it 5-6 weeks ago) and I'm pretty stuck. I've managed to learn enough to develop a small program that reads the ASCII "sentences" from my GPS...
I am trying to communicate Visual Basic program (Visual Studio 2005) with Hyper Terminal through two serial ports assigned.
I have made a program in VB which sends some numbers on serial port. When, these numbers are transferred over another computer’s Com Port and HyperTerminal it prints...