Search:
Type: Posts; User: NY2KW
Search:
Search took 0.02 seconds.
-
I cannot find any option to enable or disable? I just used Publish Now button. I searched for this option... what are the downsides to disabling it? what type of security am I losing (I require...
-
My desktop application communicates with a external shortwave radio and can read and store specific station names and frequencies for future recall. I have been using Configuration manager to store...
-
Thank you VERY much for the advise. That code snippet came in from my very early days of getting familiar with serialport handling from within a single form app. I plagiarized it from an example on...
-
I apologize for not showing all the code. I should have added that I make the serialport declarations and instantiate it in a form "AlphaSerialTerm". Should I instead place this all into a...
-
Thank you, I do use that method:
Private Sub SerialPort_DataReceived(ByVal sender As Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort.DataReceived
If...
-
I am a VB beginner as well but it seems to me the biggest difficulty will be parsing the mathematical operators particularly doing multiplication of terms within parenthesis before addition or...
-
I misspoke there is a hex CR-LF after each packet 0x0D 0x0A that is why .Readline works better than .ReadExisting but that doesn't impact my problem of not knowing if another data packet is coming...
-
Some additional information. My serialport read event is:
If SerialPort.BytesToRead > 0 Then
ReceiveBuffer = SerialPort.ReadLine
'ReceiveBuffer =...
-
My program reads a serialport data packet stream from a remote device. The serialport read is event driven:
Private Sub SerialPort_DataReceived(ByVal sender As Object, ByVal e As...
-
-
I have set up the program with a Module and several forms where writing and reading from a single serialport will be done.
I declare the serialport:
Module Module1
Public MyPort As...
-
Thank you. This will keep me occupied for a while :-) Besides responding to commands with response strings... the amplifier when in operate mode sends out some independent status information every...
-
I want to poll (every 50 msecs) an external radio for real-time status through its serial port. The status strings are very short (5-15 characters) which will be displayed in a panel of textboxes . ...
-
Thank you, that worked. I thought that adding watchStart() in the button_click would reset it to zero.
-
I am sending and receiving string commands to an external device using serialport functions. I want to time the send-to-receive cycle, using VB NET StopWatch function, I start the stopwatch just...
-
passel, you are super-smart !! It wasn't DTR but when i enabled RTS i now can read the buffer !! I did not think to set these because every general Terminal program I have tried (and there are...
-
How would one of the 'terminal' programs know if DTR or RTS had to be set high or low? I have tried several and only set com, baud, parity, stop bits and they write/read my amplifier just fine. I...
-
It is an old fashion DB9/RS232 on the amplifier and DB9 serial on the back of an Asus Laptop---no USB or other adapter. I have used several terminal programs with the settings I mentioned earlier...
-
Still not working. I know the wiring is correct because I can use any terminal program like PuTTY or Hyperterminal and only set the serialport to COM5, 9600, non parity, 1 stop bit and it works. In...
-
Thank you. I tried this but the program just hangs, frozen...
Public Class Form1
Dim WithEvents MyPort As SerialPort = New System.IO.Ports.SerialPort("COM5", 9600, Parity.None, 8,...
-
I have an external ham radio that is controlled through serial string commands that return a data string of varying length but usually < 20 characters. Any terminal program like PuTTY can be used. ...
-
Thank you and understood. I also searched "VB.NET Handles" and found dozens of queries but none related to my problem. I guess I should hare noticed how 'Handles' was formatted in the context of...
-
Thank you for the help, its very much appreciated. Can you advise a beginner like me how to navigate around these kind of errors? There was no clue as to what the syntax error... perhaps this was...
-
I am just starting out in VB.Net, VS Community 2019. I am following the MS VB Tutorial and have gotten to the point of creating a Windows Forms App (.NET Framework) project so simple it seems...
|
Click Here to Expand Forum to Full Width
|