Belgium
Offline
Edison Member
Karma: 34
Posts: 1074
Arduino rocks; but with my plugin it can fly rocking the world ;-)
|
 |
« Reply #30 on: September 20, 2012, 05:45:04 pm » |
Brijesh This SimPlot looks interesting to me. Is there a reason why there are only 4 channels? I mean my mega has 50+ pins. So 4 is a little little. Best regards Jantje
|
|
|
|
|
Logged
|
|
|
|
|
USA
Offline
Newbie
Karma: 0
Posts: 30
Arduino rocks
|
 |
« Reply #31 on: September 21, 2012, 01:23:44 am » |
Is there a reason why there are only 4 channels? I mean my mega has 50+ pins. So 4 is a little little.
SimPlot was intended to be similar to Oscilloscope than a Logic Analyzer. The 50 pins on mega are all digital pins and plotting the state of those pins is functionality of Logic analyzer. SimPlot is intended to plot analog values like output of sensors sampled by ADC, or values of internal variables etc. That being said, it looks like there is interest for more number of channels. I will put in my to do list and increase the number of channels to 8. If there is interest in Logic analyzer capability I will look into adding that as well. Not sure how much interest is there. Cheers
|
|
|
|
|
Logged
|
|
|
|
|
Belgium
Offline
Edison Member
Karma: 34
Posts: 1074
Arduino rocks; but with my plugin it can fly rocking the world ;-)
|
 |
« Reply #32 on: September 21, 2012, 04:13:14 pm » |
Thanks for the positive response. I referred to the 50 pins of the mega because in practice you need to do some calculations to decide whether you turn the pin on or of. Simplifying you could say that each pin has some integer value that will put the pin high or low. When you read the pin itself you do not know the integer value. With your scope it is possible to know the calculation steps. And then 4 is kind of limiting. For instance currently I have a buggy project that reads 2 potmeters and a distance sensor and a light dependent resistor to decide to activate a motor. That is already 4 scopes for the inputs. If I also want some inbetween values (or the motor speed) I need to drop a scope line. Anyways I'll instal the tool now and do some tests tomorrow. Best regards Jantje
|
|
|
|
|
Logged
|
|
|
|
|
Belgium
Offline
Edison Member
Karma: 34
Posts: 1074
Arduino rocks; but with my plugin it can fly rocking the world ;-)
|
 |
« Reply #33 on: September 21, 2012, 05:18:00 pm » |
Wauw That was quick. It works like a charm. To bad it is written in .net. Otherwise I would add the additional channels myself. Great work.
Best regards Jantje
|
|
|
|
|
Logged
|
|
|
|
|
Belgium
Offline
Edison Member
Karma: 34
Posts: 1074
Arduino rocks; but with my plugin it can fly rocking the world ;-)
|
 |
« Reply #34 on: September 22, 2012, 07:26:04 am » |
I must say I'm really impressed with the effectiveness of this functionality. Using your tool I succeeded in fixing several bugs in my software which could have cost me several hours to find and fix without it. Basically I saw that the scrolling halted for a while indicating a "extra delay". Because of the other channels it was easy for me to locate the delay. I also saw the wrong line moving when I changed something; indicating reading the wrong pins. And I saw the lines being stable meaning that the analog reads are reliable even when my motor is running. Increasing my thrust in the hardware.
In short: You have made a great tool which allows fast (quickly installed and very basic code changes) and appropriate action.
Thanks a lot
Jantje
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #35 on: September 23, 2012, 11:30:39 pm » |
I'm getting values displayed in my serial monitor, now I want it to be printed in the interface of my VB specifically in my Richtext Private Sub DisplayCharacter(ByVal displayChar As String) RichTextBox1.Text = displayChar End Sub
Private Sub SerialPort1_DataReceived(ByVal sender As Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Dim RxData As String System.Threading.Thread.Sleep(300) RxData = SerialPort1.ReadExisting() RichTextBox1.Invoke(New DisplayDelegate(AddressOf DisplayCharacter), New Object() {RxData}) End Sub But it wont display :c
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 315
Posts: 35519
Seattle, WA USA
|
 |
« Reply #36 on: September 24, 2012, 04:04:47 am » |
But it wont display Are you sure that the method is even called? If it is, why are you sleeping in the serial data callback? Doing so makes no sense.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #37 on: October 04, 2012, 09:24:01 pm » |
Is the VB source code available for SimPlot. I might like to modify. Will share any changes...
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #38 on: October 06, 2012, 06:00:28 am » |
How am i gonna re scale the plot for the Square Wave?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« Reply #39 on: November 09, 2012, 03:19:17 am » |
Awesome work! We have been working on something very similar called MegunoLink. Does a similar job of monitoring and plotting arduino data. Can also log data and use it to upload hex files. Check it out at http://www.MegunoLink.com would love to hear any feature suggestions.
|
|
|
|
|
Logged
|
|
|
|
|
USA
Offline
Newbie
Karma: 0
Posts: 30
Arduino rocks
|
 |
« Reply #40 on: January 24, 2013, 01:12:39 am » |
In short: You have made a great tool which allows fast (quickly installed and very basic code changes) and appropriate action.
Thanks a lot
Glad you found the tool useful. Sorry for late reply. I am having difficulty with new reply notifications. For some reason the message board does not send me notifications all the time.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #41 on: February 11, 2013, 04:16:04 pm » |
I am only sending 1 string of data -- I have the baud rate configured correctly but I am just getting the same character printed over and over again. Did not modify your code in anyway. Screenshot is attached.
Any help would be appreciated.
|
|
|
|
|
Logged
|
|
|
|
|
USA
Offline
Newbie
Karma: 0
Posts: 30
Arduino rocks
|
 |
« Reply #42 on: February 11, 2013, 10:35:57 pm » |
apiet,
You should send data in a proper packet, which has header and size. If you send any data without a packet then it just prints it to text area. This feature is there so that you can print helpful debug and other messages as well as plot data.
Please read the description of packet on the website and use the library that I have provided.
cheers
|
|
|
|
|
Logged
|
|
|
|
|
|