Search:
Type: Posts; User: Mc_VB
Search:
Search took 0.02 seconds.
-
-
I would probably create a user control for this but just for the example you can create this on a Windows form.
I created a gif image called Needle sized at 201 x 201 pixels with a transparent...
-
With the addition of one line and the modification of another you can display the date and I did not see anywhere that it displayed "unknown", sorry if this is not helpful just something I had laying...
-
I have an old project where I played around with the hit test in MS Chart using only one series. It simply cleared the old annotations and displayed any new ones that were on a datapoint as series...
-
Here is a link to MS Docs describing Scope, the Scope passel refers to is described in the section Module Scope
...
-
A few questions
What is the baud rate
How many data samples are transmitted each second
What device is transmitting the data
Does the data packet have a protocol for example...
-
To identify and order your data you need a protocol. The bare minimum function of the protocol should separate each element of data in the packet and identify the start or end of the packet. The...
-
Hi, Delany is right, the Arduino serial will take an Integer and transmit it as a string.
The error that you received "Cross-thread operation not valid" is because the VB data received handler...
-
Integer.TryParse will test your string to ensure that it is an integer, if it is it will place the value in an integer variable, at the same time if the text is a integer this function will return...
-
Probably one of the better options is a USB to UART cable or development board that exposes its I/O. One of the more popular manufacturers is FTDI who make a 5v and 3.3v.
Here is a link to a...
-
Just for reference if the library is 64 bit it would normally be found in System32 folder or if it is 32 bit then found in SysWOW64 folder. Whichever folder the dll is placed perhaps try specifically...
-
I'm thinking its along the following lines, replace "FirstSeries" with the name of the series you want to clear
Chart1.Series("FirstSeries").Points.Clear()
-
You original code contained a delegate which you have discarded with this new code , when you use the DataReceived event handler you need a delegate so that it can safely communicate with the User...
-
The EOL that others are suggesting can be achieved by modifying two lines, one at the MCU and one in your VB code
MCU
printf("%d:%d:%d\n",TEMP_MIN,CURRENT_TEMP,TEMP_MAX);
appends a newline...
-
I believe what you would need to do is the following
printf("%d:%d:%d\n",TEMP_MIN,CURRENT_TEMP,TEMP_MAX);
-
A couple of things, first I wonder if you can modify your mcu code so that the transmitted code has a newline appended something like the following
Serial.println("data1:data2:data3")
This...
-
Reading and writing data from/to the serial port requires some kind of protocol, a set of rules which help allow the data to be processed with the least amount of error. This does not have to be...
-
If you need to work with individual characters of a string convert it to a character array
Dim CipherAlphabet As String = "ABCDEFG"
Dim arrCipher() As Char =...
-
The minimum and maximum of a panel vertical scroll bar should automatically adjust from zero to the bottom of the last control.
For example if you have a panel docked in a form that is 450 high...
-
I Googled for similar cases of address bit mode and although I didn't come across a VB.net solution, there is probably one out there somewhere, I did come across a solution that used the serial ports...
-
So would I be right in thinking that a bank change is 3 x 7 bit values?
If that is the case then any 7 bit value that has not already been assigned to a status byte must be the first byte of a...
-
I don't know much about the MIDI protocol but taking a quick look it seems there is a status byte followed by a number of data bytes determined by the status byte.
Data bytes are 7 bit values and...
-
That really does not show how the arduino is sending the data. What you can try is the following code snippet to see if it acts like your "serial monitor".
Before you try this change your arduino...
-
Yes this is possible but for you to get help we need a little more information. You say the data is framed with "start" and "end" "tags", can you show an example of how the arduino transmits this 16...
-
Looking at the lines you are using perhaps a regular expression picking out the 2nd and 3rd values would work, once the numbers are converted and placed in their own variable you can do whatever you...
-
You are right that line of code is not really needed in this scenario.
The line is there from another piece of code I have on my PC and I just copied across while giving you an example for your...
-
This is an example of formatting the byte values as a hex string while keeping your original ReceivedText sub routine, the example should be enough to allow you to modify to your needs.
Private...
-
When you use the DataReceived event handler you have to declare the serial port "WithEvents". Here is an example based on your existing code that collects the data in a slightly different way, it...
-
You can create a code module with an event procedure for your button and then insert your lines of code. The create event proc returns a value which is the first line of the code module.The following...
-
I have played around with this and found very little out there that was relevant, I managed to get something that works using a VSTO add in which seemed to make the word app extremely laggy.
I'm...
-
There seems to be a couple of errors so for the moment I have a snippet that you could run and maybe describe if it displays anything like what you want it to be. This displays nine separate strings...
-
Thanks for taking the time to explain that in such an in depth way which is what I needed to grasp the problem. It's not that I don't read your posts but some problems take longer than others to...
-
I'm adding wav files to Resources which gives me a Resource folder in Solution explorer, if I change the wav file properties Build Action to Content and Copy to Output Directory and make it Copy...
-
It looks like you need to target a newer version of the .Net Framework.
Project---->Properties---->Application in the dropdown labelled Target framework: you need to select .Net Framework 4 or...
-
That's the truth, the serial write inside the loop is part of the problem, if the j loop was increased from 10 to 1000 with the current data the GUI would freeze for almost 2 1/2 minutes
-
The for next loops are not really the best way to be transmitting data over serial and will make your user interface unresponsive for a brief period of time, if the loops are extended then the user...
-
There are many examples of VB.Net in conjunction with Excel, Googling VB and Excel this was my first hit https://www.tutorialspoint.com/vb.net/vb.net_excel_sheet.htm
-
Along the lines of your original train of thought you can use the ReportProgress and ProgressChanged to communicate information from the BackgroundWorker to the GUI, this example is probably the...
-
Rts Cts hardware flow control can be automatic or it can be controlled programmatically. Unless the sensor contains a program that can be user modified I would say the flow control is completely...
-
There are parts missing and looking at the link from topshot (I don't know how you found that link, some good Googling) the original author says it was his first play around with Visual Studio Visual...
|
Click Here to Expand Forum to Full Width
|