### Author Topic: Basic Function of an Oscilloscope  (Read 394301 times)

#### Fu-Kwun Hwang

• Hero Member
• Posts: 3062
##### Re: Basic Function of an Oscilloscope
« Reply #15 on: January 07, 2008, 10:15:40 pm »
Assume one of them is y=y0 *sin(w*t) another one is y=y0 *sin((w+dw)*t)
And add those two wave together y=y0 *sin(w*t)+y0 *sin((w+dw)*t)
Work out the mathematics, you can find out when you will get maximum (or minimum)...

#### farrukh

• Newbie
• Posts: 1
##### Re: Basic Function of an Oscilloscope
« Reply #16 on: October 24, 2008, 04:41:19 am »
can i pls get the source code
thx

#### Fu-Kwun Hwang

• Hero Member
• Posts: 3062
##### Re: Basic Function of an Oscilloscope
« Reply #17 on: October 24, 2008, 09:07:47 pm »
You can find the source code as attachment of the first message.
It was written almost 10 years ago with JDK1.0.2
Some code might need to be modified to use with latest JDK.

#### chatria

• Newbie
• Posts: 3
##### Re: Basic Function of an Oscilloscope
« Reply #18 on: October 25, 2008, 02:54:41 pm »
hello Prof. Fu-Kwun Hwang

What is the offset? Referring to the oscilloscope, and also in general terms I would like to know its meaning, for example, I have heard this term in electronica

thank you
« Last Edit: October 25, 2008, 03:14:15 pm by chatria »

#### Fu-Kwun Hwang

• Hero Member
• Posts: 3062
##### Re: Basic Function of an Oscilloscope
« Reply #19 on: October 26, 2008, 10:29:02 am »
I do not fully understand what is the "offset" you are talking about?

Do you mean the DC voltage component in the Y axis?

I would not be able to help if I do not understand your question.

#### arufuredo

• Newbie
• Posts: 2
##### Re: Basic Function of an Oscilloscope
« Reply #20 on: August 10, 2009, 03:11:26 am »
the file that i download is oscilloscope.rar. Inside this rar file, there is only oscilloscope.class and knob.class. May i know where can i download oscilloscope.java , which is the original source code? i am currently doing my final year project on a website that introduce the school oscilloscope and this applet is very useful to me. i have some experience with java , and i hope i can get the java file and modify it to introduce more controls of the oscilloscope. This is the link to the current oscilloscope website of my school , http://www3.ntu.edu.sg/home/askklee/scope/ .

someone please sent the code to my email , arufuredo2@msn.com
« Last Edit: August 10, 2009, 03:17:54 am by arufuredo »

#### Fu-Kwun Hwang

• Hero Member
• Posts: 3062
##### Re: Basic Function of an Oscilloscope source code
« Reply #21 on: August 10, 2009, 10:01:43 am »

#### arufuredo

• Newbie
• Posts: 2
##### Re: Basic Function of an Oscilloscope
« Reply #22 on: August 10, 2009, 01:55:22 pm »
sorry for my mistake, i finally spotted the oscilloscope.java file. May i suggest including the oscilloscope.java file inside the oscilloscope.zip so that it is easier to find instead of having to download them separately?
« Last Edit: August 10, 2009, 02:17:51 pm by arufuredo »

#### Rare

• Newbie
• Posts: 12
• no secretcode:ntnujava/log:1254222188
##### Re: Basic Function of an Oscilloscope
« Reply #23 on: October 04, 2009, 09:42:22 pm »
This simulation show this objective "Computer simulations, or demonstrations using a cathode-ray oscilloscope, are powerful methods of demonstrating alternating currents {( deduce that the mean power in a resistive load is half the maximum power for a sinusoidal alternating current), ( represent a sinusoidally alternating current or voltage by an equation of the form x = x_osin?t), is it? Correct? ???Thank you very much

#### Fu-Kwun Hwang

• Hero Member
• Posts: 3062
##### Re: Basic Function of an Oscilloscope
« Reply #24 on: October 05, 2009, 12:01:25 am »
No. The purpose of the simulation is to show how the oscilloscope work -- what are the signal of x/y component look likes.
The signal in the x compinent is sawtooth shap -- to represent the time.
The oscilloscope show the signal as a function of time.

When two signals are feed to x/y simultaneously, you will find Lissajou's curve.

And it can be used to teach student how to operate an oscilloscope (basic function), too.

#### cdurfee

• Newbie
• Posts: 1
##### Re: Basic Function of an Oscilloscope
« Reply #25 on: January 29, 2010, 09:05:35 pm »
This is a nice applet. One suggestion is to have a mode which is slightly more realistic where the time/div and volts/div are incremental (and have the same units) in the same way as on a real scope. Also, on a real scope there would be a knob for moving the trace vertically (moving the ground reference) as well as a voltage offset.

#### Fu-Kwun Hwang

• Hero Member
• Posts: 3062
##### Re: Basic Function of an Oscilloscope
« Reply #26 on: January 29, 2010, 11:38:04 pm »
There are many different kinds of oscilloscope.
Yes. There are many oscilloscopes which the time/div and volts/div knobs are fixed steps.
However, there are also digital oscilloscopes which the time/div and volts/div knobs can be adjusted continuously.

The above simulation already provide a yoffset knob for moving the trace vertically.

The purpose for the above simulation is to help user understand how the trace of the oscilloscope was formed.
That is why it provide options for users to select types of X/Y functiona: A sin(wt+B) or C t +D

If you need a simulation which is very similar to the one you are using. I will try to create one for you if you can provide a picture of the oscilloscope need to be simulated.

#### nolkelvin

• Newbie
• Posts: -1
##### Re: Basic Function of an Oscilloscope
« Reply #27 on: February 22, 2011, 01:45:03 am »

#### ahmedelshfie

• Hero Member
• Posts: 930
##### Re: Basic Function of an Oscilloscope
« Reply #28 on: February 22, 2011, 02:05:18 am »
You have to choose first download file after you hit by mouse Get files for offline use