How to plot the intensity of a diffraction pattern through a circular aperture

I'm new to LabVIEW and I was advised to run a tutorial exercise writen for other University students to familiarise myself with the program. Unfortunately, I've fallen at the final hurdle and I have no idea what I'm doing wrong
The task is to calculate and display the far-field diffraction pattern of a circular aperture, which is essentially the same as the 2D Fourier transform of a sine wave
I have a diffraction pattern on my intensity graph but it's not circular, and I've tried various things to make it circular but to no avial. I think my problem is that I'm not properly converting the aperture size to a circular shape, does anyone have any idea how I could do this?
Incase it helps, here is the link to the tutorial I've been using:
http://www.physics.gla.ac.uk/Optics/Miles/
The tutorial can be found listed under "Teaching Material" on the right hand side, and is simply called "LabVIEW". Clicking the link opens the PDF with the tutorial in it, and my problem begins on Pg 58. I'm also unsure of how to impliment the suggestions found on Pg 59
Thanks in advance
Ben

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
Message Edited by Ben on 06-05-2008 07:47 AM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Attachments:
Diffract.PNG ‏79 KB

Similar Messages

  • How to check the Statistics generated for a table through DBMS_STATS.

    Hi,
    How to check the statistics generated for a Table through DBMS_STATS.GATHER_TABLE_STATS procedure ?
    Please let me know.
    Thanks !
    Regards,
    Rajasekhar

    Rajasekhar wrote:
    Hi,
    How to check the statistics generated for a Table through DBMS_STATS.GATHER_TABLE_STATS procedure ?
    Please let me know.
    Thanks !
    Regards,
    Rajasekharquery ALL_TABLES

  • How to configure the intensity of my Time Capsule's WIFI signal?

    Hey,
    I own a TC from late 2009, the Firmware is up-to-date (7.6.4) and I installed it in a new place. The intensity of the WIFI signal is suprinsingly low, significantly lower than the signal of any non-Apple WIFI-router I previously used in the same flat.
    I remenber having configured the TC back in 2010 with a lower WIFI-Intensity because I had a very little room and no need for an powerful signal. I probably haven't changed this since than ans this could be the reason why the signal coming from the TC is so low. The problem is that I can't find a way to configure the WIFI-intensity back to normal/ maximum.
    Does anybody know a way for OS X Mavericks?
    Thanks a lot!

    There is no change..
    Reset to TC to factory.. even if you did alter it, the setting will go back to 100%.. there is nothing else you need do.

  • How to add the long text in Production order through FM

    Hi,
    Iam having custom program which has BAPI (BAPI_PRODORD_CREATE) inside it and this program is used to create Production orders with the details of Sales order Number,Line item,Plant,Order type,Quantity and Start date. This program is scheduled in Background.
    Now client wants to add the Long text (seperate TAB in production order and they want to update the VC details of Sales order in the Long text area).
    One option is after creation of Production order, through BDC(calling CO02 and update the long text) we  can update the long text and client doesn't want this option.
    Another option is after creation of Production order, using Function module SAVE_TEXT, Update the Long text in Production Order and this is not working in Production order (already my ABAP consultant checked it ).
    If any one of you came across this requirement, pl share with me how you addressed it.
    Regards
    A.Sureshbabu

    Hi,
    The method is quite simple, i presume you're quite well versed with doing recording, so the key thing to keep in mind is how to prepare the input file.
    At my end i had about 5 lines of data which needed to be uploaded, hence i had a tab-delimited file with the order nos. in the first column & the five lines of text in five different columns (Refer format below)
    Order No.
    Line - 1
    Line - 2
    Line - 3
    Line - 4
    Line - 5
    12345
    txt - 1
    txt - 2
    txt - 3
    txt - 4
    txt - 5
    67890
    txt - a
    txt - b
    txt - c
    txt - d
    txt - e
    Now provide this input file for your lsmw or bdc program & it will work. You can work with your abaper if you're not so comfortable with LSMW or BDC programming he / she should be able to easily make it work for you.
    Regards,
    Vivek

  • How to Read the "text file and csv file" through powershell Scripts

    Hi All
    i need to add a multiple users in a particular Group through powershell Script how to read the text and CSV files in powershell
    am completly new to Powershell scripts any one pls respond ASAP.with step by step process pls
    Regards:
    Rajeshreddy.k

    Hi Rajeshreddy.k,
    To add multiple users to one group, I wouldn't use a .csv file since the only value you need from a list is the users to be added.
    To start create a list of users that should be added to the group, import this list in a variable called $users, the group distinguishedName in a variable called $Group and simply call the ActiveDirectory cmdlet Add-GroupMember.
    $Users = Get-Content -Path 'C:\ListOfUsernames.txt'
    $Group = 'CN=MyGroup,OU=MyOrg,DC=domain,DC=lcl'
    Add-ADGroupMember -Identity $Group -Members $Users

  • How to display the current domain entry in LDAP through Console ?

    I've created serveral domain and user account through iDA v4.5 web page. But, why I could not see any new entry added into LDAP through Netscape console ? I'm using iMS 5.1

    Hi Philip,
    You did not provide much details for people reading you to assist you.
    Anyway, what I have understood from your question is:
    when I create new entries under my new domains (other that the first domain created) through the iDA, I cannot retrieve them through the console (using users & groups).
    If this was your question then the answer is because:
    - the default first domain generated by the iMS is very often stored under your Users Directory Suffix like o=my first domain, o=organization.com. So, when you perform a search of users of that domain you will find them through the users & groups of the Console.
    - new domains created are very often stored under o=internet. So, when you search through the users & groups of the Console, you cannot find them as they are not under your o=organization.com but under o=internet.
    (the iMS and iDA guides explain how to configure that)
    Remark: ldapbrowser softwares could be a good option to perform searchs to various domains without having to change the Administration's User Directory suffix to find your users.
    Hope this would help.
    Cheers / Damien.

  • How to remove the default message in PDF generated through JRC?

    Hi all,
    I am in need of removing the default and automatic message(Register free at .... to remove this message) at the pdf footer has been generated while exporting a report through a java Program using JRC.
    By how it is generated and how to customize the pdf?
    Can anyone help me.
    Thanks in advance,
    Saravanakumar.

    It doesn't work for me neither.
    Tried many ways.
    I followed the full instructions putting the jar in eclipse/plugins folder, restart eclipse.
    Right click on the project, chose crystal report -> update keycode.
    I edited the CRConfig.xml adding keycode tag with the value I copied from the jar.
    None of above works.
    Is there other ways to remove that line of message from the report?
    thank you in advance.
    Sean

  • How to get the values of managed metadata columnn through object model

    Hi,
    I need to read the values from a managed metadata column, which is set to display entire path.
    Eg. My value looks like
    Critical:Important:Interesting:Routine:Not Evaluated
    without hardcoding these values, can i find which level of child has been chosen.
    if its not evaluated, i should find like last child like that..
    any way of doing that?
    Aruna

    Hi,
    thanks for the above reply.
    i got a new requirement as,  following is my managed metadata structure user selects the values from the below structure. i need to find the matching items with another list of same structure. the condition for matching is, if the user selects All,
    in the otehr list if the value in the region column equals any of the values in the structure below All like ema, denmark,nordborg is considered to be matched. if the user selects Denmark then the list contains denmark, nordborg and office is matched. means
    parent and its child contents are matched if the parent is chose. if the child is chosen only the exact value from other list(office==office in otehr list) is considered to be matched. how can i achieve it through object model coding?
    Aruna

  • How to get the value of a session bean through a scriptlet

    Hi,
    I have defined a session bean in faces-config file and now I want to acces this bean object through a scriptlet. How should I go about doing that ?
    eg in faces-config file I have something like this
    <managed-bean>
    <managed-bean-name>pc_DepTest</managed-bean-name>
    <managed-bean-class>pagecode.WEBINF.Pages.DepTest</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    Now in another pager called xyz.jsp
    I want to access the pc_DepTest object through a scriptlet... How should I do that ?
    Thanks

    I avoid scriplets, but you could write:
    pagecode.WEBINF.Pages.DepTest test = (pagecode.WEBINF.Pages.DepTest) FacesKit.getBean("pc_DepTest");
    //you use WEBINF in package names? gack!
    ...Where in FacesKit you've defined:
    public static Object getBean(String expr){
        FacesContext context = FacesContext.getCurrentInstance();
        Application app = context.getApplication();
        ValueBinding binding = app.createValueBinding("#{" + expr + "}");
        return binding.getValue(context);
    }

  • How to change the blog posts view when navigating through categories?

    Hello, currently I've been struggling for a while with the following problem:
    In my SharePoint blog site I have the following default view of posts:
    http://s16.postimg.org/yvmu0j51x/Default_site.jpg
    When I click on a category, I get the following view of posts:
    http://s29.postimg.org/58lm8p993/Category_site.jpg
    Is there any possibility to get the same way of showing post as how it looks on the default site? So with Image, with body etc. But then only filtered based on category.
    Any help would be highly appreciated!
    Regards,
    Danny

    Hi Danny,
    No, my result is like:
    You can do as the followings:
    Edit the page
    Insert the Categories list into the page
    Insert the Posts list into the page
    Edit the Posts web part, and switch the current view to Summary view, click OK
    Click Connections->Get Filter Values from->Categories, like the screenshot below:
    Provide Field Name:Title, Consumer Field Name: Category
    Click Finish
    Then you can filter posts based on a category by clicking Select in the first screenshot.
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • How to check the way table S066 is updated through VKM3

    Hello Experts!
    I'm debbuging transaction VKM3. This is used to release open orders. Within this functionality infostructure S066 (credit managment for open orders) will be updated.
    My problem is that I can't see the values it's using to update the table because it is being updated through a "commit work and wait" statement.
    this is where the update takes place:
    include MV45AF0B_BELEG_SICHERN
        if call_function = space or us_syncron = charx.
        if us_syncron = space.
            commit work.
        else.
           commit work and wait. " This is getting executed
        endif.  
    I've already activated the update mode debugging (so it's calling all the update functions registered through "call fucntion in update task"), but I think it's calling some system functions (not sure about it).
    Is there a way to check how the update takes place?
    thanks in advance for your help!

    Hi,
    Yes there is another way where you view the values used to update S066.
    As Rob said you can get the details through ST05.
    Else after we do the UPDATE DEBUGGING ON and once a COMMIT WORK  statement is encounted then the debugging session will open in another screen there goto menu path Breakpoints->Breakpoints at->Statement----"UPDATE"....
    Similary for "INSERT" & for "MODIFY". This will stop at all the DB tables update where in if S066 is updated then definetly it will stop at S066 UPDATE.
    Please try this once and let me know if any.
    Regards,
    Srinivas

  • How to handle the unsuccessful execution of a procedure through exception

    I have to run a sequence of procedures through a procedure. The execution of a succeeding procedure depends on the successful execution of the preceding procedure.What i want is that a procedure is only executed when the preceding
    procedure is successful.

    I wonder which is the best practice ...
    1) to pack all exceptions - occured in the sub-procedures - in the main procedure
    or
    2) to pack all exceptions - occured in the sub-procedures - locally , in the body of these sub-procedures....???
    In other words....
    procedure main
    as
       begin
          procA;
          procB;
          exception
             when ......
             when .....
             when .....
        end;
    procedure A
    as
      begin
          return;
      end;
    procedure B
    as
      begin
          return;
      end;
    OR
    procedure main
    as
       begin
          procA;
          procB;
        end;
    procedure A
    as
      begin
          exception
            when ...........
            when ...........
          return;
      end;
    procedure B
    as
      begin
          exception
            when ...........
            when ...........
          return;
      end;Thanks...
    Sim

  • How to set the Logging in SAP Web AS through Netweaver 7.1 ?

    Hi,
    Can you please help us with the steps to set the Log Level and Log files using SAP Netweaver 7.1
    Thanks

    WHat kind of logs are you trying to set? If these are work process logs you can set on SM50, for example.
    Regards,
    Tiago

  • How to send the sap data to mobile service through custmozed object

    Dear ABAPer,
      I have developed the customized object. But , I want to send the data to radio frequency service( Example: Mobile No ) through sap customized object.
    if you have any idea , please send the document with example roughly.
    advance thanks.
    with best regards,
    velmurugan.S

    Hello,
    you can create a Report that accepts the search parameters from the Forms mask and generates a PDF. You also have the option to send the report via mail.
    Personally I would generate the report with a tool like as_pdf
    http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/
    Then you can send the mail using utl_mail or utl_smtp.
    www.google.com/search?q=site:forums.oracle.com+utl_mail+utl_smtp
    Regards
    Marcus

  • How to get the external storage card serial no. through j2me code

    hello friends,
    I am developing an application in J2ME, in which i want to know the external storage card information(i.e serial number or its unique id).
    Is there anyway through which i can get this information similar to System.getproperty().
    It is very urgent.
    can someone please help me???????

    Hi Jason,
    I wasn't able to find a C# function that would obtain the serial number for a PXI card. However, I believe you could use the VI_ATTR_MODEL_NAME function to get the model name of the device. Therefore, you would know whether it was the PXI-8430 or the PXI-8431. If this does not work, your workaround will work like you said. I know that this is not your desired way of achieving this, however, it will work. I can continue looking though and see if I can find a function that will return the serial number. 
    Thanks,
    Kevin S
    Applications Engineer
    National Instruments

Maybe you are looking for

  • What am I going to need to set meta data

    Hey folks. My endless quest to complete a program I have been writing for ages has at the moment brought me to this problem... I am using lucene to search through a pile of text documents. Its great. Problem is I also have piles of images... :-( thes

  • Updating an EAR in WebLogic 10

    Hi - I found a bug in my application (EAR file) after I deployed it using the WebLogic console. However, I noticed that there were multiple locations within the WebLogic directory where files resembling this application existed (e.g., tmp directories

  • Can't delete artwork

    I pasted an album cover cover to a song that is corrpted and won't go away when I delete it. Any sugguestions? JJ Rogers

  • My screen is backwards!!!!

    If anyone has had this problem PLEASE let me know! Just about a year after I got my IPod mini (of course...) out of no where a black bar started scrolling down the screen...nothing showed up on the screen except that bar. I reset it and it seemed to

  • TS3276 trouble with 1 users email account

    hi all my OH hasnt been able to get his email fro 5 days !!! His settings are exactly the same as mine which is working fine but now his sent, inbox and trash are completely EMPTY !!!!!! First our ISP said it was our end, then that there were large e