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


ADVERTISEMENT

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 Getting Voltage From RS232 / Allow Dial Voltmeter To Point According To Voltage Level

Dec 2, 2009

my circuit board is connected to a power supply(those laboratory DC power supply used in schools) and the circuit is connected to the computer via a RS232 Serial cable port.Through the serial cable port, a voltage level is sensed and is displayed on the "Voltage Level in Volts(V)" i am able to display a Dial Voltmeter with a needle. -- Coding for the dial voltmeter with needle is also attached for reference, just in case if it is needed.But currently, the dial voltmeter's needle does not point according to what is shown on the textbox. Therefore, i need guidance on how to allow the dial voltmeter's needle to point according to what is shown on the textbox. [code]

View 13 Replies

Getting Voltage From RS232 & Allow Dial Voltmeter To Point According To Voltage Level

Dec 3, 2009

Basically, my circuit board is connected to a power supply(those laboratory DC power supply used in schools) and the circuit is 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 image

>> But currently, the dial voltmeter's needle does not point according to what is shown on the textbox.

>> Therefore, i need guidance on how to allow the dial voltmeter's needle to point according to what is shown on the textbox.

[[ Dial Voltmeter with needle ]]

Code:Private Sub PictureBox1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint

[CODE]...

View 4 Replies

VS 2005 : Increase The Voltage Level Of A PC?

Jan 21, 2010

i want to increase the voltage level of the electricity?

View 8 Replies

Converting Voltage Level Into Graphical Display?

Nov 25, 2009

I need some guidance on the codes on how to :

1) convert voltage level into graphical display,and

2) Voltage indication with moving needle .

[ Info : I've already input the codes to display the voltage in numeric, but not in graphical display ] =)

View 6 Replies

Return Positive Voltage Or Negative Voltage?

Sep 14, 2009

I have this light sensor circuit that will return positive voltage or negative voltage. I want to plug it into the 9-pin D-Sub port on my computer. I already have a male connector. How do I connect the circuit to the D-Sub connector, and how do I read the value and convert it to a Boolean in a program? How do I set up the cables? It only returns one 1 or 0 value. Is it possible, even?

View 17 Replies

VS 2008 Conversion Of Voltage To LUX?

Dec 4, 2009

I need some guidance again =)Its regarding the conversion of voltage level to equivalent LUX.As mentioned in prev. few threads, if you have seen it, basically, my circuit board is connected to a solar panel and is connected to a power supply (those laboratory DC power supply used in schools).The whole thing is connected to the computer via a RS232 Serial cable port. Thru the serial cable port, a voltage level is sensed from the Solar Panel and is displayed on the "Voltage Level in Volts(V)" See attach image

Currently, i need guidance on how to convert the Voltage Level into equivalent LUX.I googled and found from this website >> [URL]../324003.page and it states that Lux = 1333 * Vo , so does it mean that i just type:TextBoxLux.text = TextBoxVoltage.Text * 1333 I'm not sure if this is the correct method to convert voltage level from the solar panel into equivalent LUX. If this method is wrong, please correct me.

[Defination of LUX: The lux (symbol: lx) is the SI unit of illuminance and luminous emittance. It is used in photometry as a measure of the intensity, as perceived by the human eye, of light that hits or passes through a surface]

View 5 Replies

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

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

Constructing A Waveform In .net?

Jun 5, 2011

constructing a waveform in vb.net. Can maybe someone give me a hint of how to make one? (a bit of code would be nice) I already know that to generate a waveform, you need a timer, if there anything else?

View 1 Replies

Audio Player With Waveform?

Jun 27, 2011

I'm looking for a free audio player control that has ability to display waveform of the audio being played.

View 1 Replies

Draw A Waveform Graph (from Mp3 & Wav)?

Feb 14, 2010

I'm trying to draw a waveform graph(from mp3 & wav), I found this so far.

View 9 Replies

Application-level KeyUp/KeyDown Events (not Windows Form-level)?

Apr 1, 2012

I am creating an Excel add-in written in VB.NET. I would like to bind KeyDown and KeyUp events to the spreadsheet to record when the user presses and releases the arrow keys while navigating the spreadsheetIdeally, these events would be built into Excel alongside the native SheetActivate and SheetSelectionChange events, for example. Alas, they are not.

View 1 Replies

Draw A Waveform Of A Wave File?

Aug 28, 2011

how to draw a waveform represenatation of a wave a wavefile and/or an MP3? Even better, can it be drawn in real-time while the file is playng?

View 8 Replies

What's The Difference Between Dim On The Member Level And Static On The Procedure Level

Jan 6, 2010

In Visual Basic 2008, there's two different ways that I know of to accomplish the same thing:The Dim on the member level:

Dim counter1 as integer = 0
Dim counter2 as integer = 180
Public Sub SampleSub1()

[code].....

View 1 Replies

C# - Play Sound In .Net Using Generated Waveform Data?

Jul 5, 2009

How can I play a sound based on waveform data that my .Net program is generating from user input and mathematical functions? By "waveform data" I am mean SPL values in a fixed interval time-series (probably 44.1 kHz). I presume that this requires some kind of streaming buffer arrangement.Note, that this has to be live/real-time, so just creating a .wav file and then playing that will not be sufficient. VB.net is preferred, but C# is acceptable also.

View 4 Replies

Take A MP3 Or WAV File And Plot A Graph Of Its Waveform Over Time?

Dec 9, 2009

I need to be able to take an MP3 or WAV file and plot a graph of its waveform over time. Prefferably without playing it first. The representation doesn't have to be amazingly accurate as it's not for EQ purposes. I just need to pinpoint certain points in the MP3 / WAV when specific music / sounds etc occur (similar to the display in Windows Sound Recorder).

how I can go about that, or if it's even possible in VB 2005?

View 3 Replies

Audio Announcement Of Voltage?

Nov 28, 2009

I was wondering if will it be possible to do the following :1) When a specific voltage is sense and is displayed on the textbox, is there any codes to allow the audio announcement of the voltage ?(a) As voltage levels will usually be in decimal, like for example, (1.23 V) it may be difficult to allow the audio announcement of exact voltages

View 12 Replies

Measure Voltage And Current?

Apr 13, 2012

get sample code by using NI-6009 to measure voltage(Vrms) and Curent (Irms) . Before this i'm trying to make code with using example in National Instrument VB2010.But i still can't display the right values of voltage(Vrms) and Current (Irms) from waveform that I used.The data comes from data acquisition grid in source array i used to plot sinus waveform.But the problem is I don't know how to measure voltage(Vrms) and Curent (Irms) from that waveform. I am also don't know how to start programming between NI-6009 DAQ Card and Visual Basic 2010 Express.

View 1 Replies

Top Level SQL Table Row - Save The Top Level Automatically?

Mar 18, 2011

I have created a simple program which uses a two tier structure of SQL Tables.At the top level, one record holds the date of the activities and linked to it using its primary key as a foreign key, three subordinate tables hold time stamped records.The issue I have been unable to solve is that before adding any of the lower level records for a given date, a newly added top level record must be saved to the database.Doing this manually is simple - but can I rely on my users to remember to do this before they start plugging in the lower level data?I thought not, so I am looking to save the top level automatically.I've failed miserably but I refuse to believe that it's not possible.

View 14 Replies

Serial Port Programming (voltage)

Apr 6, 2011

I have been trying to come up with a code to send voltage signals to a serial port using Visual Studio 2010, I found many codes online but since i am not familiar with visual basic, I do not understand any of them.

View 8 Replies

Any Modules Available For Circuit Calculations? (Voltage / Resistance)

Jun 25, 2010

I'm trying to develop a module that calculates voltages in a circuit based on setting for certain components. Is a module available to handle circuit calculations including parallel paths.

View 1 Replies

Dequeue Data In Paint Event Of A UserControl To Show Continuously Moving Waveform?

May 11, 2011

Given this illustration and basic code, how do I dequeue and draw the data that has been inserted into the User Control's Preperty queue? The graph/chart will need to show anywhere from 1 to 120 seconds of data, with each second representing electrical waveform data that arrives each second with a variable amount of sample data..The timer interval will have to vary with the amount of incoming data so that it shows a continuously moving waveform from right to left and the rate of drawing keeps up with the amount of data arriving. (so the queue doesn't get backed up)

View 7 Replies

Multiple Level Of For Each And Linq In Each Level

Feb 12, 2011

I have multiple level of For Each and in each level, i have a Linq that is the 'In' criteria as in:

[Code]....

It will go inside each for (because the value is not nothing), however, it will only loop (next) in the very inner 'For Each t In tFor'. After it is finish inner loops, the outer Fors' or Next will not execute... even thought there are more than one values in that 'In'... like 'sFor' or 'fFor'. i've noticed while debuging, while break at the for (for example 'sFor', before stepping in), i get the error message:

"Enumeration yielded no results" when i expand the result for that variable and it will not step into it. but if i do not expand the result, it will step in. It seem that some how, once an element is accessed for that 'In' collection, it breaks (meaning does not loop for the rest of the elements) the next for that collection is this a bug or am i missing something in Linq? BTW: i believe it has something to do with the SqlDataReader in the Linq. I'm working with IAsyncResult.

View 5 Replies

VS 2005 Use MSCOMM For Monitoring Serial Ports For Voltage Change?

Jul 22, 2009

I'm wondering how I could monitor a serial port for a voltage change or contact closure and have an event triggered when there is a detection.

View 1 Replies

Convert Positive And Negative Math.Sin (waveform Output Values) Into (unsigned) Byte Array?

Apr 19, 2011

I'm creating an emulator for a device to simulate wave forms. My challenge is that when I try to convert the output of the following code, I can't convert the Math.Sin's double output into byte values that lend themselves to the byte array format required by an existing graphing control as listed at bottom below. I''m not sure how to handle this when the sin function creates negative values but the byte values will need to be positive and basically 'shifted up' so that anything over 127 is negative. (0 - 255) unsigned. BitConverter.GetBytes has been suggested but THIS is the result of that attempt.

[Code]....

View 2 Replies

VS 2008 Class-Level Declarations?

May 29, 2009

I have a project that is structured as follows:

[Code]...

I want the module to execute first before anything else, and so I call module.main() from the MyApplication startup event. At about the point that program execution gets to the beginning of module-level declarations in the module, it also starts running though the class-level declarations in the thread classes, but long before the threads are declared or the threads are started in the module code. I can't figure out why it happens! Is there some way of supressing that until later (i.e when those classes are actually instantiated)?

View 2 Replies

VS 2008 Form Level Declarations?

Mar 24, 2009

On my main application i have a button which shows an "advanced options" form, if the "debug" is checked i was trying to enable/disable visability of a couple of text boxes on the applications main screen but when i tried:

[Code]...

View 2 Replies

Find Best Tutorials Of VB 2008 For Beginner's Level?

Aug 31, 2010

I need comprehensive tutorials of VB 2008 for beginner's which give additional support to my studies so that I can learn VB 2008 easily in less time.

View 2 Replies







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