VS 2008 Plotting Real Time Graph?

Jan 13, 2010

Currently, my circuit is connected to a power supply and is connected to the computer via a RS232 cable. Voltage level is extracted and the real-time voltage level is plotted (see attached image) and it will keep movingBut you will realise that there isnt any time shown on the X-axis. I would like to display time in such a way:Each long marker will represent 1 second and there are 4 long marker, which will represent up to 4 seconds.When the (5th second) voltage is sense and the real-time voltage is drawn, i would like the new time (5th second) to replace into the 1st marker postion, the (6th second) to replace the 2nd marker position, so on and so forth. The replacement will continue

View 19 Replies


ADVERTISEMENT

Tracing A Graph In Real Time From Excel

Jul 5, 2010

I have a project to make a GUI using VB.net and retreiving data from an excel spreadsheet every three minutes and draws a graph in real time. The excel file is filled every 3 minutes by a new value (level of water in a tank).As I made started making this interface and I have a problem with retrieving data from a cell of the excel spreadsheet and update this action automatically every three minutes.

View 3 Replies

Draw A Real Time Graph With Colored Area

Dec 26, 2010

I want to draw graph in visual basic 2010 form which changes with time. Just like the CPU usage history graph in the "Windows task manager" dialog box. Thats time vs. usage graph. I want to make applications with that kind of graph.

View 3 Replies

Forms :: Transparent Label Over Real Time Graph?

Apr 11, 2011

I'm trying to create a label that displays sensor output readings. These are small labels inside a picturebox that has a real time graph of the sensors. I'm trying to make the labels transparent or semi-transparent in order to see the entire graph. Setting the labels background color property to transparent only gives the labels the same color property of the picturebox not the actual images of the picture box. I have set the label.parent = picturebox1.

View 1 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

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

Line Graph - Plotting Set Of Data Using Function

Feb 20, 2012

I am trying to plot a set of data using a function I have defined as an array:
Private Sub calculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calculate.Click
range(1) = min.Text
For i = 2 To 100
[Code] .....
Range(i) I want to be my x values and fee(i) to be the y values. When I try to select range() and fee() as the x and y values for a series, I get an error because they are not of type double.

View 3 Replies

Function For Plotting A Graph - Facing A Memory Leak?

Aug 10, 2009

I found this function for plotting a graph online somewhere. I am pretty sure it has a memory leak but cant figure most of the functions as I am new to VB and windows API. Looking for some quick tip on what I should be looking at.

[code]...

View 7 Replies

VS 2008 Zedgraph Real Time?

Dec 1, 2011

I'm wanting to do a real time graph, as a test i'm going to set up a timer to increment x and y values and then plot them every second on the graph.

I've got hold of Zedgraph, which is quite a nice add-in that i came across, does anyone have experience of doing this?

View 11 Replies

VS 2008 Real-Time Shortcut Capture

Jul 16, 2009

I need to capture what keys the user presses and put it in a textbox. However, I need to capture multiple combination. For instance, if the user presses (and briefly holds) SHIFT and 1 (number one) the text box should say "SHIFT + 1." I also want "real time" capturing, meaning as the user presses the keys the value changes.

View 3 Replies

VS 2008 Displaying Data On More Than One Network Computer In Real Time?

May 2, 2009

I am busy with a VB2008 EXPRESS program that reads is data via a network cable. Saving the data on the same computer as my program is not a problem, but I must also make this data available to other users in the network and update their screens in real time. In other words I need a COPY of my running program on each networked computer when requested by the user in the network. I have looked at SQL, XML pages and inheritance. But I am confused, what is the best way???

View 13 Replies

Import Text File To SQL Server 2008 Database In Real Time

Jan 31, 2012

I have a machine which creates a new log file at the beginning of the day(12am) and updates the log file whenever there is any changes until the end of the day. How do I import the data in real time (30 sec, 1min or whenever there is any changes) to my SQL server database? Will SQL Server 2008 be able to access the active log file? If not will it be easier if I let my machine create a new log file whenever there is any updates? But if it is so, how do I import so many log files with different names in real time. (I must be able to scale the solution up to multiple machines).

View 3 Replies

Real-time Spelling In .net?

May 24, 2010

Is there any open-source component for VB.NET that offers real-time spelling (i.e., as you type) much like word? I found some free and open source components but without that ability.

View 2 Replies

VS 2008 MSChart - Plotting Non-numeric Value?

Feb 3, 2012

I need to be able to plot (for example) the following values on a chart:

4.5
3.1
5.3
2.1
<1.0
2.5

The value <1.0 is there as we cannot give the exact value if it is less than 1 but we need to display it.

Is there a way of just displaying the datapoint label with '<1.0' as text, or something similar?

View 1 Replies

Display Real Time On Form?

Apr 7, 2010

How can I display a running stopwatch on my form? I am creating a timer but I do not want to use the timer class.

View 4 Replies

FTP Chat Update In Real Time?

Jun 15, 2011

I making a simple online chat using an ftp server by downloading and uploading text. I use a thread to update the chat log continuously. But it doesn't update in real time. Is there a way to create a server that clients can upload to and download from extremely quickly? How do programs like MSN messenger or better online multiplayer games do it?

View 1 Replies

Get Cursor Position In Real Time?

Nov 17, 2009

What would be the proper way to get the cursor position while the mousebutton is held down? I've tried using a do while loop with a background worker, but it freezes up the application.

View 1 Replies

How To Cache Real-time Data

Jan 14, 2009

I'm working on a windows forms application (.NET 4.0).My form contains a 'Fast Line' chart using the Microsoft chart control included in VS2010.The chart gets filled with about 20,000 datapoints.My application then starts receiving market data from a server via DDE (Dynamic Data Exchange) in real-time and adds it the chart.

View 5 Replies

How To Send Real-time Data Over UDP

Sep 19, 2010

I have to send a sequence of video frames over UDP as fast and real-time as possible and while I got the basics working, I am running into all sorts of difficulties. Some of my goals:Data will normally be sent over dial-up (hence UDP instead of TCP), but also needs to support fast Ethernet.It's OK to occasionally drop frames (hence UDP instead of TCP).Need low latency. The frame the remote receives should be one that was recently sent (no more than a few frames waiting in buffers).I need to be able to detect the effective bandwidth so that I can compress the frames more or less to keep frame rate up.I break up frame data into one or more datagrams of about 500 bytes and each has a sequence number and other info. The receiver reassembles the entire frame and detects if any datagrams are missing.If the receiver detects more than a certain percentage of dropped frames (e.g. 50% over the last 10 frames), I send a TCP message to the sender to slow down by 50%. Sender than slowly increases speed by 5% each subsequent frame.Using System.Net.Sockets.UdpClient to send and receive the data.I have a separate TCP channel used for control messages back to sender.My main difficulty right now is detecting the effective bandwidth and dealing with latency, especially over dial-up (max ~4,000 bytes/sec). For example, if I try to send 100,000 bytes/second using TcpClient.Send() they ALL seem to arrive (no dropped datagrams) but with large latency by the time last datagram arrives. I think the TcpClient.Send() function is blocking until the buffer is able to send which messes up my current algorithm.

Can anybody point me to any sources of information for how to:Detect actual bandwidth over UDP.A better algorithm for dynamically adjusting bandwidth to suit the available pipe.Send data smoothly at the desired bandwidth.A way to detect and keep latency down to a minimum.I have been spinning my wheels over the last week and every time I solve one problem it seems another rears up is head.

View 1 Replies

Make Real Time Chart?

Feb 22, 2011

Make real time chart?

View 1 Replies

Mirror Real Time Text?

Apr 6, 2012

I created a form with MS Access with some dropdown menus and some check boxes. The main reason is for when the user select a check box or an option from the dropdown menu a specific phrase will appear on a Note box I created on the bottom of the form. Where I am having the problem is because I added a Text Box in Access where the user can type something in it. What I need is when something is typed inside of the text box the content should be mirrored inside of the Note Box on the bottom of the form. I was able to create the functions using VB for the dropdown menus and the check boxes but for the Free Form Text Box I dont know how to mirror the real time texting.

View 3 Replies

Real Time Data Display?

Jan 11, 2012

are there any ways that i can extract my data from database and display it into my listbox in real-time? which means that whatever is updated in my database must immediately be inserted into the listbox without the need of refreshing or pressing any buttons. Immediate display.

View 3 Replies

Real Time Data From App To Web Server?

Jun 24, 2012

methods/procedures for sending real time data from a VB.net app to a web server (asp.net) for real time display. My question relates to the best method to send the data from the desktop app and the best way to receive and handle the data on the server. I'm not asking for sample code, just some idea of what methods to research. I am currently using a text file upload method but I'm sure there is a more efficient way of achieving this.

View 2 Replies

Real Time Monitoring Of Database?

Feb 12, 2009

I am converting an application to work with SQL.I need the application to monitor a specific table, so it can instantly pick up on changes.The sql server database is on the same machine.The table it needs to monitor is called MaintenanceRecords and it is inserted into via web service.I need to display a message in my VB project when an insert occurs in MaintenanceRecords table.

View 2 Replies

Real Time Ticketing System

Jul 30, 2010

It is possible to create a real-time application where 2 or more pc will operate on it, for e.g, a cinema ticketing system, when a seat is occupied, all the other machine will be updated in realtime accordingly.

View 2 Replies

Real-time Vehicle Animation In .NET?

Oct 14, 2009

I work for a company that produces accident reconstruction software. We have a vehicle dynamics program that realistically simulates the motion of a vehicle (position and rotation of car and steer angle of individual wheels, etc).

All the positions of the car are stored into an array called AMTN. The vehicle dynamics program can calculate positions at time steps finer than .005 secs (200 FPS).

I need to represent this data in real time, and so far I have not been able to accomplish this. I have tried doing this in Excel/VBA, VB6, and am currently trying to do it in VB.NET.

I have used a whole plethora of timers and counters as well as different methods of drawing lines on graphics linked to images linked to picture boxes, etc. My animation program writes/clears the screen correctly, but there is clearly some sort of lag in either the timer or writing method. I have scaled it down to 25 FPS and there is still a lag.

Here is an example of what I am trying to do with each tick of the timer:

Code:
Sub Timer1_Tick1(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick
MyGraphic.Clear(Color.White)

[Code].....

With each tick of the timer, the graphic is cleared, lines representing each side of the car are drawn onto the graphic, and the picturebox is then assigned to the image, which is linked to the graphic. This is just like how your asteroids program works.

Do I need to change my method? Should I use sprites? Or would it be better for me to create images/bitmaps of the animation beforehand and simply flip through them with a timer?

I'm thinking that creating the images beforehand might work because I do not have to calculate the vehicle's position as it is predetermined by my AMTN matrix.

if there is a more efficient way of displaying my vehicle on the screen that would allow for greater FPS, etc.

View 2 Replies

Returning A Real World Time Value?

Nov 2, 2009

I am having a problem trying to get a real time back from this code.

Code:
Public Sub Time()
Dim StartTime As TimeSpan = TimeSpan.Parse(txtStart.Text)
Dim EndTime As TimeSpan = TimeSpan.Parse(txtEnd.Text)

[Code]....

I am using a start time of 09:25 and an end time of 10:15 to test this with. I would like it to return 50, as 50 real world minutes went by. I am getting -1331385.

This is mostly someone else's code from a different forum. I have never used a TimeSpan method before and they keep telling me it works "like what I asked for".

View 3 Replies

Updating Graphics In Real Time?

Nov 3, 2009

I've been a mangler of various types of code for a while now, I love doing PHP stuff but have found the need for some stand alone .exe stuff just recently and am using Microsoft Visual Basic 2008 express edition.Things have been going well so far with all my problems solved by Googling and since so many of the best solutions have come from here, I thought this would be a good place to come with this particular

View 2 Replies

VS 2008 - Datagridview Unable To Manual Add Row After Plotting?

Nov 18, 2010

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Make the data array.
Dim people(3) As Person
people(0) = New Person("Ann", "Able")
people(1) = New Person("Ben", "Baker")
people(2) = New Person("Cindy", "Carruthers")

[CODE]...

Above is my code for vb.net to plotting the array list into datagridview. It is success to plotting, but why the datagridview unable to manual add row after plotting?

View 1 Replies

Read Value To Be Updated Real Time In Program?

Mar 13, 2009

I have made an application where I connect a VB.NET program to a PLC. I read and write to/from PLC variables.I would like any read value to be updated real time in my VB.NET program. Is there a good way of doing that? For now I update a variable by a button click.

View 7 Replies







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