06-04-2008 05:13 AM
06-04-2008 11:48 AM
Hi Ben,
Please post your code so we can take a look.
Did you pay attention to the note about auto-scaling off and manually setting the ranges?
Just trying to help (another Ben studying physics),
Ben
06-05-2008 03:41 AM
06-05-2008 07:47 AM - edited 06-05-2008 07:47 AM
Hi Ben,
There is a running joke on these forums "Don't let Ben do math." so you are going to have to remind about some of that optics stuff I have not looked in quite a while.
Below you will find my mods of your code which were mostly just clean-up and simplifying. The big thing I did was re-size your graphs such that their aspect ratios were square. The pattern looks like something I recognize so I am not sure what is wrong. So please explain what you don't think is right and I'll see if I can be of any furterh assistance.
Just trying to help,
Ben
06-05-2008 08:48 AM
Hi Ben,
The problem I have is that the Diffraction Graph should come out looking something like a series of rings of increasing size, becoming less intense and more distorted the further from the centre they are (though it's more the shape in the centre that's important), fairly similar to the "Aperture Size" plot, only more defined:
http://en.wikipedia.org/wiki/Image:Airy-pattern.png
I doubt it'll come out exactly like that, but it's the best image I could find of what I'm meant to be simulating
As far as I can tell the interference pattern in the diffraction graph is wrong because the information being put into the formula should be simulating a circle, and it's actually simulating a square (I'm not sure if that makes sense but it's hard to explain when I'm not talking about the physical apparatus I'd normally be using for something like this) and thus the final pattern has interference in the wrong places
Thanks again for your help, and I wouldn't worry if it has you stumped as no-one here knows how to do it either!
Ben
06-06-2008 05:22 AM
Hi Ben (or anyone else who's read this problem),
I've just received a solution to the problem from a friend of a colleague who'd worked through the tutorial I was doing some time previously. If anyone wants I can post the correct code (though it was written in LabVIEW 7.1)
Thanks for all help given, I'm still learning LabVIEW but this has helped me alot,
Ben
06-09-2008 04:30 AM
06-09-2008 04:47 AM
06-09-2008 05:25 AM
Hi ben
Thanks, that looks great.
11-22-2017 04:46 PM
Interference