Using the advanced analysis package in 6i, How can I fit an arbitrary function to a set of measured x and y values? (simular to genfit on mathcad)

I am attempting to automate a mathcad program which takes a set of measured values (x=step#, y=intensity)and fits an arbitrary function to the data.

Use the Levenberg Marquardt.vi in the curve fitting palette. You can find examples on the zone.ni.com website. It allows you to specify an arbitrary formula to curve fit your data with.

Similar Messages

  • I have two iphones, different telcos, i am using the same apple id for both - how can i use the 10GB icloud free memory of my new iphone 5?

    I have two iphones, different telcos, i am using the same apple id for both - how can i use the 10GB icloud free memory of my new iphone 5?

    Thank you KiltedTim!
    YES, that is the free 5GB icloud memory for each apple ID. Can I not add the free 5Gb of my second Iphone to my original apple ID (5GB also) as I want to use one Apple ID name on both 2 Iphones? Is it necessary to have a different apple ID for the second Iphone to avail the free 5GB it carries with it?

  • How do I generate the pdf file using the name of a field.  How can I help

    how do I generate the pdf file using the name of a field.  How can I help

    Hi,
    here's a sample.
    LiveCycle Blog: Formulare in bestimmte Verzeichnisse speichern und nach Inhalt aus Formularfeld benennen //Save forms to…

  • HT4759 I've got 4 iPhones that got stolen and I could not locate then using the "  find my Iphone App". How can I get them back?

    I've got 4 iPhones that got stolen and I could not locate then using the "  find my Iphone App". How can I get them back?

    only way is if the police find it I suppose

  • HT201364 I am using the os x 10.7.5  how can i get the mountain lion in order to upgrade to Mavericks

    I am using the os x 10.7.5  how can i get the mountain lion in order to upgrade to Mavericks

    What, specifically, is your Mac model?
    MacBook Pro, but need the year it was released, processor speed, etc. This will determine if it *can* be upgraded further.
    Best,
    - Neil.

  • I upgraded to IOS 7 (iPad 2) and I didn't get the Weather or Stock apps. How can I get them?, I upgraded to IOS 7 (iPad 2) and I didn't get the Weather or Stock apps. How can I get them?

    I upgraded to IOS 7 (iPad 2) and I didn't get the Weather or Stock apps. How can I get them?, I upgraded to IOS 7 (iPad 2) and I didn't get the Weather or Stock apps. How can I get them?

    The apps load on the iPhone only. G to the App Store and search for alternatives. There are many there.

  • I have FaceTime on my macbook pro but want to add it to my Mac pro.  Since I've already purchased the app, it won't allow me to purchase it again.  Can I use the app for both computers?  How can I access FaceTime for this computer v. 10.6.8?

    I have FaceTime on my Macbook Pro but want to add it to my Mac Pro v. 10.6.8.  Since I've previously purchased it in the app store, it won't allow me to purchase it again.  Can I use the same app for both of my computers?  If so, how do I access the app to download it?

    If you upgrade to Lion it comes bundeled with it!
    To get it on your Mac Pro just copy the aplication from the aplication folder on your MacBook.  You can do this via a thumb drive or over a local network connection.

  • Using the 6023E in LV 7.1, how can I get timing between two events to microsecond precision?

    I am a student and I have only been using LV for a few weeks so cut me some slack. I know similar questions have been on the forum 10 times but I am still having problems. I am sending a signal to a PIC microcontroller that controls the signal generation of a 40KHz acoustic ranging circuit. The output of the hardware goes high when an echo is detected. I need LV to start/restart a clock every time a signal is sent to the microcontroller and stop the clock when an echo is detected. It will use the time to computer the range. I am using the 6023E board and LV 7.1 and I know everything on my hardware is working correctly. I have a digital output going to the microcontroller and an analog input with a VI for detecting a voltage threshold listening for when an echo is received. I have looked through some other forum questions and examples and have come up with three different approaches. Originally I was trying to use the ms tick count VI but I've already read up on why that deos not work.
    The first VI posted below (ALIS2wavd) uses a timed loop. I can't seem to get the timed loop to run correctly with a 1 MHz clock. I am currently trying to use the DAQMx Create Timing Source.vi. Basically, the timed loop should run at 1 MHz and I would use the loop count to see how many times it runs before a signal is received. I also use the loop count to control how long I send the signal to the microcontroller, and how long to wait for an echo before starting over. In all of my VI's, the goal is to send a signal to the microcontroller for about .1ms and listen for an echo for 1-2ms.
    The second VI posted uses a VI for timing that I found on devzone. The timing VI that I found is also below. This really looks like a mess right now, sorry. You may want to look at the timing VI first. It uses counters to get a pre and post count and subtract to find the total time elapsed. I have the DAQmx read.vi's in the loop so that it will be subtracting the time of the first pulse from the time of the echo each iteration. At its closest point to working, this VI would return the same number for the range every time, meaning it was counting the same amount of time each iteration. I know the timing VI works accurately so I am guessing that there is a problem with my structure or the way I am using the DAQmx functions.
    In the last VI I am trying to use a counter to do something similar to what the timed loop VI should have been doing. I am setting up an egde count and controlling the transmit and detect time with this count. The value of the count when an echo is detected would be used to determine the elapsed time. Im not sure why this isn't working either.
    NOTE In all of these VIs there is an enable button and a PIC microcontroller frequency test. The VIs won't step into the case structure without both of these as true so you might want to get rid of them if you want to try to test anything. In trying to fix these VIs I may have made little changes that actually made the situation worse so keep that in mind too. Originally I was using just DAQ Assistant VIs to do the input and output but I switched the the DAQmx functions in the loops because I thought the assistant VIs might be causing the problem. Also, I noticed that there is a count events or time.vi on the traditional counter palette. I can't use the traditional functions at the same time as the DAQmx functions so I was wondering if there is an equivalent time counter VI for DAQmx that I just do not have?
    Attachments:
    ALIS2wavd.vi ‏627 KB

    timing VI
    Attachments:
    Time_with_Counters.vi ‏112 KB

  • I want to use the custom request header in JSP How can I use that

    Hi Guys,
    I have following scenerio...
    1: There is one third party tool which is calling my.jsp page from the specified directory.
    2: Before calling the JSP that third party tool is adding some data like <user name> and <password > in the header of that JSP.
    Problem: I am not getting thos custom added header in side the JSP.
    Header information is given below:
    http://localhost:8100/wvsat/brand/ncr/auto.jsp
    GET /<APPLICATION_NAME>/ <JSP_PAGE_NAME>.jsp HTTP/1.1
    Host: localhost:8100
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Cookie: AreCookiesEnabled=195; JSESSIONID=2a30e33e48384dd13222
    MyUsername: demo*
    MyPassword : demo*
    HTTP/1.x 200 OK
    Date: Wed, 24 Sep 2008 19:42:22 GMT
    Content-Type: text/html; charset=UTF-8;application/x-www-form-urlencoded
    Connection: close
    Server: JRun Web Server
    Now within the JSp page i want the value of MyUserName and MyPassword
    For gettting these value i am using the request.getHeader(MyUserName);But it is returning null.
    Note:+*
    1: I want to forward this value to another servlet which is based on Struts framework_.
    2: For adding the value in the header i am using Http Live header Addons of FireFox_
    Could anyone help me in the same!!!
    Thanks in Advance

    Sorry, perhaps I was not explicit enough.
    Your code snippet: request.getHeader(MyUserName);
    It was missing quotes to make it a String value.
    If that is what you have, then it is using the VARIABLE MyUserName, and not the actual value "MyUserName"

  • I have a camcorder that records in the .MOD format.  It is a Panasonic SDR-S26 and is not compatible with MAC.  I want to create a DVD using the video on my camcorder.  How can I do this?

    My operating system is OS X (version 10.6.8) and I have a Mac Mini.

    Trust me when I say this coming from 20 years of experience.
    Get a powered external drive, format it 1 Partition Option: GUID and OS X Extended Journed as the format in Disk Utility.
    Download and install Carbon Copy Cloner, clone internal drive to external drive.
    Set a schedule to remind you to do it at least once a week, keep it near your charger.
    When you plug your charger in, do plug the clone and power the machine up, set the display to sleep only,
    CCC will do the rest.
    If you want to boot from it, hold the option/alt and select it Startup Manager.
    I've seen many TimeMachine and TimeCapsule nightmares and so far haven't seen a problem from anyone using a bootable clone.
    It's simple, it's easy, it's more reliable and more powerful than what Apple does and it only takes plugging in a extra cable.
    Make as many clones as you want, keep them time seperated, off site etc. etc.
    Cables don't have network issues, clones can be verified in seconds merely by booting from them.
    Clones protect your productivity, your up in seconds on a clone despite even the hard drive dying.
    Software problem? No sweat, boot of the clone and reverse clone your problems away.
    If you want to fuss and muss with half implemented TimeMachine and TimeCapsule network headaches then prepare to suffer.
    I don't like to suffer, I bought a Mac not to suffer, but it appears you do with TimeMachine and TimeCapsule.
    Most commonly used backup methods

  • I use yahoo mail, I do not use the mail server on my computer, how can I save a link  to then send it as an attachment on my yahoo e-mail

    u

    I will address your second question.
    First, make sure your iPhone and iPad have absolutely identical Apple IDs.  If they do, use that Apple ID in Settings > iCloud on your iPhone to select the "Notes" option.  Lo and behold, all your iCloud notes should appear on your iPhone.

  • When holding down the 'command' key for a few seconds, the Universal Access panel appears.  How can I stop this?

    When holding down the 'command' key for a few seconds, the Universal Access panel appears.  How can I stop this?

    It is a panel that pops up and the heading on the panel is 'Universal Access', it is actually just an image of a panel, you can't access it.  I have checked keyboard shortcuts and none of them are assigned to the command key only

  • Curious, How many people use the IMAQ Vision package?

    Yeah, just wondering... how many people here use the IMAQ Vision package on a regular basis?
    I do, for one.

    Add one to the counter
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • ?How to use the Adobe Cloud Packager to install Acrobat

    I am trying to install Adobe Acrobat using the Adobe Cloud Packager. I can create the Package but the installation fails.

    Hi LizAuchincloss,
    Please install Acrobat from the Exception folder using exception deployer command line:
    The following command is used to deploy Acrobat for Windows. (You will recollect that Acrobat for Windows should be deployed before deploying the main package.) The --mode=pre option specifies that Exceptions Deployer Application is run before deploying the main package. The installLanguage is specified as en_US (US English)—this option is also mandatory while deploying Acrobat for Windows.
    ExceptionDeployer --workflow=install --mode=pre --installLangauge=en_US
    Please refer the mentioned kb: http://helpx.adobe.com/creative-cloud/packager/using-exceptions-deployer.html .
    Regards,
    Romit Sinha

  • "Using the harmonic analyser to determine the musical note of sound input from a mic and soundcard"

    "Hi there, I am currently trying to extract what musical note is being sung via a mic plugged into my soundcard and using the harmonic analyser VI, I am experiencing problems however, as the fundamental frequency output does not always match the note being sung. Does anyone have any ideas why this may be? I initally thought it may be due to aliasing occurring but this is compensated for in harmonic analyser VI! If anyone has any suggestions I would be extremley grateful. Thanks
    Em"

    [posted and mailed]
    em wrote in news:5065000000050000009F680000-1012609683000
    @exchange.ni.com:
    > I'm pretty sure it would work fine with pure tones (although I do
    > intend to test this), my problem really is how to fix it so that it
    > can work with voices! One idea I thought about was to apply the
    > A-weighting to the waveform to more accurately model the way a human
    > would hear the sound, but I'm not sure how much difference this will
    > make, any other suggestions would be very useful.
    > Thanks
    > Em
    Rob Cole is right, your question is one that has a lot of potential
    answers.
    Here are a couple of notes / thoughts:
    A-weighting probabably won't help much for your particular app, as it
    sounds like your are more interested in tone detection, rather than
    modeling how a human would hear or compliance with a standard.
    Probably the most likely reason you are seeing the fundamental frequency
    vary is that you are measuring a real-world signal that is a human voice.
    Even though your singer may be singing a constant note, the frequency
    content will vary somewhat--your singer is an imperfect boilogical
    system. (Nothing against your singer in particular--no signer is
    perfect!) Also, as Rob Cole pointed out, your singer's note isn't a pure
    tone at all, but a collection of harmonics that you perceive as a note.
    Regarding aliasing, it's important not to confuse any algorithmic
    compensation (applied after a signal has been sampled) with true alias
    protection. If you are using a sound card, it likely doesn't have
    hardware-based alias protection. The only way to ensure that aliases
    don't intrude on the frequency span of interest is to apply a hardware
    filter prior to sampling your signal. Such filters can be added to the
    front end of a DAQ board or come built-in with DSA hardware such as the
    NI 4472. The software alias-related functionality of the Harmonic
    Analyzer VI's simply excludes signal content that exceeds the Nyquist
    rate in the distortion calculation.
    I'm not sure specifically which VI you are referring to, but the SINAD
    and Harmonic Distortion Analyzer VIs from the waveform analysis palette
    use a tone detection algorithm to find the fundamental which is the same
    as the one found in the Extract Single Tone Information VI. All of these
    VIs include an advanced search input where you can specify a guess for
    the frequency of interest and a range (as a percent of the sampling
    frequency). You might try to narrow the search from the "try everything"
    mode (-1 in the approx freq.) to something with less span around the
    expected freq range.
    Take a look at the power spectrum of your signal and verify that you see
    a distinct, time-invarient peak where you expect your fundamental. My
    guess is that you don't. I've whistled into a mic enough to know.
    A final suggestion is to increase the duration (# of samples) acquired in
    your acquisition. When you do so, you increase the duration of the signal
    window that you analyze. If your signal shows slight frequency variation
    over a given period of time, they can tend to average out with increased
    duration of the signal that you analyze.
    Hope this helps!
    --Sam

Maybe you are looking for

  • Settings for SCE in CRM 5.0

    Hi I am using CRM 5.0 in our environment. We have made the settings for VMC, and it is now running fine. After this what settings do I need to make for SCE. As per documentation available, RFC connections are not required for SPE, SCE or TTE. But whe

  • Manual Bank reconcilliation

    Hi, Large volume of Bank transactions for  12 periods have not been reconciled. All the data are in sub bank accounts. Documents have been reconciled manually with bank statement but the entry is not passed in the system. How the entry can be posted

  • JAAS Principals - JAAS guidelines

    Hello, I'm trying to implement my authentication and authorization by use of JAAS (no J2EE security, but programmatic) My question is : - I want for example view my user's properties on a JSP page after logging in by the JAAS module. Are there any gu

  • ISA catalog viewing restrictions in a B2B scenario

    Hi, We are implementing ISA for our B2B customers to order marketing material via internet. Does anyone know or have implemented security controls to restrict viewing and ordering of product catalog at node level. So when customers logs into ISA from

  • Photo shop compatibility vs my semi old computer (first time with photo shop and first time poster)

    My computer is unable to run photo shop CC and so on because my computer isn't compatible for being old. I was very sad to find out after purchasing. I did not check the compatibility because again, my computer isn't that old. I'm stessing out until