Program A Oscilloscope Graph?

Mar 20, 2012

I have a microcontroller communicate to PC. I programed the microcontroller. One of the microcontroller functions is received analog signal from a sensor. I want to program graph which will display an analog signal from the microcontroller. I have the microcontroller communicate to the PC just fine. I could display the signal using a label.

What I would like help with is this (This is new to me):

1-How can I make a graph similar to oscilloscope graph like the picture. Add two trackbars, one for the vertical (value) and one for the horizontal (time)axis (for Y and X). So I could move the graph point. Up, down and sideways.

2-The graph point will move vertically upon the change of the value of a TextBox1. I will change that later to the signal I recieve.

3-The time interval is adjustable via TextBox2.

4-How to analyze the data What I thought of is save the data (the value from the two TextBoxes time and value) will be saved to text file so I could analyze the data.

View 11 Replies


ADVERTISEMENT

Developing A Program Flow Graph For A Program

Nov 20, 2009

[code]using this program i want to devlope a program flow graph.pls help me its so urgentand after that can i calculate the no. of independent paths of this program.

View 8 Replies

Converting Voltage Level To Oscilloscope Waveform

Dec 6, 2009

Basically, my circuit board is connected to a solar cell and also a power supply(those laboratory DC power supply used in schools) and its connected to the computer via a RS232 Serial cable port. Thru the serial cable port, a voltage level is sensed and is displayed on the "Voltage Level in Volts(V)" -- See attach imageAs for now, i am also needed to display the voltage level into another type form intead of just Dial Voltmeter. Maybe to display the voltage level to a waveform like what we see on the oscilloscope ? I came across a suggestion from someone regarding the oscilloscope, but its in C# instead, and after converting, the codes does not work. Hmm.. ?

>> Therefore, i hope to get some guidance on how to display the voltage level into a waveform as what we see on the oscilloscope.

View 1 Replies

VS 2008 Voltage Level Into Oscilloscope Waveform?

Dec 6, 2009

As mention in another thread ( if you have came across it --> Getting voltage from RS232 & allow dial voltmeter to point according to voltage level ), my circuit board is connected to solar cell and also a power supply(those laboratory DC power supply used in schools) and its connected to the computer via a RS232 Serial cable port. Thru the serial cable port, a voltage level is sensed and is displayed on the "Voltage Level in Volts(V)" -- See attach imageAs for now, i am also needed to display the voltage level into another type form intead of just Dial Voltmeter.Maybe to display the voltage level to a waveform like what we see on the oscilloscope ? I came across a suggestion from someone regarding the oscilloscope, but its in C# instead, and after converting, the codes does not work.

View 8 Replies

Convert Program 6 Graph To NET?

Dec 21, 2010

I'm using the code below in my old VB6 application to show a graph of the current upload speed of the application. Image of the graph is at the bottom of this post.

I'd like to convert it to .NET, but I'm not really sure how to do it. Expecially the Polygon API is giving me headaches. I guess I can use DrawPolygon, but I'm having problems with the second parameter (converting Pts to System.Drawing.Point) and also the third parameter that DrawPolygon doesn't have. I'm not looking for anything fancy like the chart control, but like to get the graph as shown in the image below.[code]....

View 10 Replies

Build An Oscilloscope And Display The Signal As On And Off (square Wave) From The Encode?

Feb 26, 2010

I am trying to build an oscilloscope; I will be using a signal coming from digital encoder going through MAX232 logic level converter to the PC via the serial port 1. The signal from the encoder is 3VDC when it is high and 0VDC when it is low, the encoder resolution is 1024 PPR, the encoder is attached to motor (1800 RPM) so the max resolution is 1843200 pulses per minute or 30720 pulses per second. I would like to make my form display the changing of the input from the serialport1 to graphical display just like the digital oscilloscope. I

I want to be able to display the signal as on and off (square wave) from the encoder and be able to display the signal as speed so when the motor is running at full speed the line be at the top of the graph and when the motor drop to 20% of its full speed the line will drop to 20% and so on.

View 11 Replies

Get Program To Display Sound Coming In Microphone As A Graph On Screen?

Apr 27, 2011

Is there a way to get Visual.net to display the sound coming in the microphone as a graph on the screen? for example it would show the frequency and intensity of the waves.

View 2 Replies

Output A Graph Drawn In Program And Plotted With Data To Pdf File Format?

Mar 31, 2010

Is it possible to output a graph drawn in vb.net and plotted with data to a pdf file format? or any microsoft office format?

View 3 Replies

Use Zed Graph Web To Graph A Dataset Or Datatable?

Feb 23, 2011

How can i use zed graph web to graph a dataset or datatable, the only examples i have found use test data.

View 2 Replies

Draw Bar Graph - Draw A Graph Except MSChart Tool?

Jul 2, 2009

I have to draw a bar graph in my vb.net program. I used AxMSChart to create a graph. Everything has gone fine but when i published this and run on Vista PC, all form was good except my form includes MSChart. It says class not registered.So i have to draw a graph except MSChart tool.

View 10 Replies

C# :: .NET Graph Library Around?

Oct 16, 2009

I am looking for Graph libraries for .net. Are there any out?ps: I mean GRAPH libraries, not graphics nor charting libraries!

View 12 Replies

Code Up A Bar Graph In .net?

Jan 6, 2010

need to code up a bar graph in vb.net..

View 1 Replies

Create Graph In VB?

Jul 9, 2010

A part of my project is related to the dynamic data that stored in excel or access (anyone). i need to create a program which can automatically display the graph for these data. Just let say there are three data in excel or access[code]...

how can i display the graph for these data in visual basic?

View 4 Replies

Draw A X/y Graph With VB?

Oct 13, 2010

I downloaded mschart20.ocx manually and register it with regsvr32.exe bu it gives an error ven I tried to launch my program. link to set up mschart property to my visual studio 2008 prof.edt. I need to draw a x/y graph with visaul basic.

View 1 Replies

Dynamic Graph In .net?

Mar 1, 2012

i am to generate a line graph in vb.net. The graph should be something dynamic. I have a program calculating total distance, therefore in my output window i have iteration number and its corresponding value.

I have to plot the graph as iteration number by iteration value.I have tried an offline graph where i saved the values of the iterations and then draw the graph with the values.

But this is not what i am actually suppose to do. The graph should be generated simultaneously as the processing is being done. I am finding this a bit tough to do.

View 3 Replies

Graph A CSV File In VB?

Apr 30, 2012

I have a CSV file in my working directory and dont know how to load in into a graph in VB. I already loaded my chart into the form and its called "Chart1" with "Series1".

The CSV has the following structure:

Date Value1 Value2
27/04/2012 45.1 60.1
26/04/2012 45.2 60.2
.. ..

how to extract this data from the "*.csv" file and put in it a graph where the Date is the x axis and the Value2 is the y axis.

View 10 Replies

How To Add Titles To Graph

Aug 15, 2011

I need to add a title to a graph? The code I run to create the graph is
<strong>Dim strConn As String = connectionstring
Dim conn As New SqlConnection(strConn)
Dim sqlProducts As String = "SELECT * from VW_OEEBrakeDowns_ByYear where Year ='" & Me.lbyear.Text & "' and LineNumber =" & Me.lbline.Text & ""
Dim da As New SqlDataAdapter(sqlProducts, conn
[Code] .....

View 1 Replies

How To Create A Graph In VB9.0

May 11, 2009

I want to plot X,Y points by using visual basic. Which command do I use? Do I need to import a specific component? I don't' want to use use Excel.

View 3 Replies

How To Draw Graph

Feb 2, 2011

I want to develop a graph application in VB.Net (VS2008). I have many point with (x,y) values. There I have calculated angel and radius by Pythagoras theorem. How to draw line with X,Y co-ordinate with scaling and put the point into this graph.......

View 15 Replies

Plotting 2d Graph In C#.net?

Jan 19, 2011

I was writing a program on a web form which is reading a file and then plot the file as a 2d graph.

the file looks like

c1
number1
number2

[Code].....

where c1 c2and c3 is the header which the readfile stream should ignore and the total "number" numbers are decided by the user which can be a variable.

the graph will take the c1,c2,c3values as x-axis and the number values as y-axis.

how can I draw the graph from reading this file? can some one kind enough to show me some code?

View 1 Replies

Use MS Graph That Come With MS Office?

Feb 3, 2007

whether I can use MS Graph that come with MS Office in VB.NET and how?

View 4 Replies

.net Making An Excel Graph?

Feb 2, 2010

Im trying to create a Graph on a 2nd worksheet. the reference data of this graph is from the 1st worksheet.I was able to highlight a specific cell for its source data but the problem is it will highlight on the 2nd worksheet in which my data is at the 1st worksheet. The problem is I don't know how to make it read from the 1st worksheet..

Below is my code:

Public Sub _autoGraph()
With exBook.Worksheets(2)
Try

[code]....

View 7 Replies

Add A Graph To VisualBasic Application?

Jan 9, 2010

I want to create an app for Windows that displays a graph. I want to plot points on that graph.

I can't find a Toolbox control for this.software developer

View 8 Replies

Application - Plotting X/Y Graph ?

May 4, 2009

I wanted to plot a graph for one of my application in VB.net. I want a Time (X-axis) Vs Temperature (Y-axis) graph, where:

1. X- Axis has vertical lines every 10 minutes. So there are 6 vertical lines between 1 hr. The labels on the Axis should be written at every hour even though the vertical lines are at every 10 minutes. (Eg: 10:00, 11:00, 12:00, 13:00, 14:00...)

2. Y-Axis should have horizontal lines every 10 degrees C. So there are 10 Horizontal lines between 100 degrees. The labels on the axis should be written at every 100 degrees (Eg: 0 deg C, 100, 200, 300...)

View 2 Replies

Bar Graph Scale Labels?

Sep 30, 2009

On the Y-Axis of a bar graph, how can I display descriptions as the scales instead of numbers? I don't see anywhere that I can do that.

View 2 Replies

Clear And Redraw A Graph?

Apr 1, 2011

I am writing a VB program that measures the voltage on a circuit and then graphs the voltage value. I read what the voltage is at ever milisecond and load that value into an array and shift all the data one to the right. On each timer tick i regraph the data.

The problem i am having is on each tick i erase the picturebox then i redraw the graph using the new array. Because of this the further out the line is from the start of the drawing processes the less it shows the line. You get a flicker effect. I have been seeing if there are ways to remove the flicker but the few things i have found have to deal with doublebuffered but i do not think that is the issue here. I think i need to find some other way to clear the picturebox.[code]...

View 9 Replies

Create The Bar Graph With Each Store's Name?

Oct 14, 2011

I'm having trouble figuring out the logic to this problem:Thus, you can create the bar graph with each store's name, and a separate label that has the sales information for each store. Since each asterisk represents $100 sales, you can just do # of sales mod 100 to get the number of asterisks you need for that store, then loop and add asterisks until the label has the correct number of asterisks. Repeat for each store input that the user gives.

[Code]...

View 5 Replies

Creating A Graph Through The Function?

Mar 1, 2010

I've found some difficulty in creating a graph through the function given.For example:

Function : y = x^2 + 2

y value ranging from -10 to 10

x value ranging from -20 to 20

the graph also gridlines anf title on each axes.

View 5 Replies

Creating A Line Graph?

Jan 10, 2011

are there any tutorials on DIC or other programming websites for Creating a line graph on VB.NET

View 9 Replies

Creating Graph For Scanner?

Mar 15, 2012

I had a scanner M9090 (OS-> Windows CE), I need to show a graph based on certain results

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved