Curvefit of the reflectivi​ty with Lev-Mar

Hello,
I am a beginner with Labview and I need your help, I recuper the data of the reflectivity from the spectrometer (3648 points) and I am going to make the fitting to extract information about the thickness and refractive indices n and k (k in the general case it will be zero because the materials used are oxides and I work in the visible range.
I want to use the model of Lev-Mar but I have the problem with the model, i have used the formula node to write the eqaution of the reflectivity, and currently I am block.
Data.txt
column1 = Lambda
column 2 : Reflectivity
the substrate is Pyrex  ; n= 1,47
the thin film is Ti-Nb, the index is like that of the titane(Antase) : ñ = 2,561 + i2,488
Thank you very much.
Nb: i know my english is so bad
Attachments:
fit1.png ‏36 KB
fit2.png ‏30 KB
Data.txt ‏51 KB

Thank you very much Lynn,
I did what you told me to do and it works a better,
I would like to know if you can help me, I have the values of the reflectivity R as a function of the wavelength (lambda) but the indices " n "  and " k " are also a function of lambda.
R = (n,k,d,lambda )   and  the dispersion equation n(lambda) and k(lambda)
With the curvefit Lev-Mar is possible to define these parameter ? if you have ideas that will be cool

Similar Messages

  • Lorentz fit of a curve with Lev-Mar

    Hello everybody! I am trying to set of data to a Lorentz curve to calculate a Q value (resonance.) I found a program on a thread from this forum that appears to work with the sample data set from the thread. However, when I try to run the program using my data set with known fitted coefficients as the initial guesses, we get an error in the Lev-Mar sub-VI -- something like “the input matrix is singular”. There’s a screenshot of my data in in the attached zip folder, as well as the text file containing my data.
    My data curves down (reaching a minimum) instead of up, as in the sample data set, but it seems like that should be accounted for by the different initial guesses. I am thinking that something else is going on; hopefully it is something simple that I am just missing. Any help y'all can provide would be greatly appreciated!
    Thank you!
    Attachments:
    Lorentz Fit.zip ‏1992 KB

    Hello Lynn,
    Yes, there are quite a few potential peaks in that data set. The peak you identified was the one that we are trying to fit (The peak should be trimmed by the cursors.) We used origin to fit that same peak in order to get the initial guesses for the coefficients in the screenshot. When it runs, we get the error message: "Error -20041 occured at NI_Gmath.lvlib: Nonlinear Curve Fit LM.vi:2 Possible reason(s): Analysis: The system of equations cannot be solved because the input matrix is singular." 
    Thanks!
    -Garrison

  • Problem: Fitting Lev-Mar with Error Function

    Hi everyone,
    I have very little experience with LabVIEW and I'm trying for the first time to do some NonLinear Curve fit for some data I have.
    I've searched in forums for almost a day and couldn't find what I need. The problems are:
    1) I need to fit a function of the following type: P = Po/2 - Po/2*erf(sqrt(2)*(x-xo)/w) , where Po, xo and w are my parameters.
    But in my error2.vi I cannot link my y=sqrt(2)*(x-xo)/w  variable of the erf function to the input, because the erf.vi does not accept 1D array as input and doesn't give that as output as well. The output thing is another problem, since the input of F(x,a) needs to be a 1D array.
    2) I read about the Lev-Mar NonLinear CurveFit VI and I think I got what needs to be done. However, a I was having problems in wiring my Static VI Reference to the F(x,a) input in the Lev-Mar VI and it didn't give me a broken wire only when I made de Reference a "Strictly Typed VI Reference". What does that mean? Why did it only work with that?
    I know these are some pretty basic doubts, but I've been trying to understand it for quite some time and couldn't get this done.
    Thanks.
    PS* The fitting function (subvi) is the error2.vi file.
    Solved!
    Go to Solution.
    Attachments:
    error2.vi ‏13 KB
    FittingGaussianKnife.vi ‏15 KB

    Try this. Seem to work  just fine (LabVIEW 2013).
    (don't try to graph the best parameters, graph the best fit output!)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    FittingGaussianKnife_MODCA.vi ‏17 KB
    error2_MODCA.vi ‏14 KB
    erfit.png ‏40 KB

  • Curve Fit of ODE, should I use Lev-Mar or Constrained Nonlinear Optimization?

    I wanna do a curve fitting of differential equations, following is the equations:
    dx/dt = u*x-a*x
    ds/dt = b*u*x+c*x
    dp/dt = d*u*x+e*x+f*p
    and u = um*s/(km+s+s^2/ki)
    I've tried "nonlinear curve fit( Lev-Mar)", but I met difficulties when writing the f(x,a) of Lev-Mar.
    Then I tried "Constrained Nonlinear Optimization", I found that the example "Estimate Nonlinear Spring Constant.vi"
    in the "labview\examples\math\curvefit.llb" was similar to the fitting I tried to do, but there was only one parameter
    need to estimate in this example,but what I need is to estimate 3 parameters.
    However,I modified the example to my equations, it failed again.
    How can I achieve this? is it possible to do this fit only using Labview VIs or need Matlab Script Node?
    Any help will be appreciated.

    I forgot to mention that in the equations above,  a,b,c,d,e,f is constant,
    and the data of x,s,p corresponding with the data of time is already known,
    and which parameters I wanna identify is um,km,and ki
    帖子被myafu在12-22-2006 01:33 AM时编辑过了

  • A confusing lev-mar error

    I am trying to fit a Lorentzian to some acquired data using the lev-mar function, and it returns the error "wrong model equation". I know for a fact that the data has a lorentzian shape because I wrote a little vi to fit it manually using the exact same equation. Does anyone have a suggestion as to what to do next, or at least what the "wrong model equation" error really means? Thank you.
    JPC

    The error refers to a syntax issue with the "model description" input.
    This input is a cluster of three strings: model, which is the actual equation (Ex: a+b*x+c*x^2); paramters, which are the solvable variables (a, b, & c in the previous ex.) inputted as an array of strings; and the independent variable (x).
    All 3 parts of the model must match exactly (e.g. you can't have 3 variables in the model and 1 in the parameters, and if you designate x as the independent variable, there must be an x in the model equation).
    Additionally, the model equation follows standard LabVIEW formula node syntax, except there are no input variables designated ("y=x+1" won't work but "x+1" will) and you don't need a semi-colon terminator.
    Let me know how it goes,
    ~j5
    2006 Ultimate LabVIEW G-eek.

  • Please help on this Lev-Mar problem

    Hi,
    I have two acquisition data sources that need
    to be fitted. Then the fitted parameters are
    passed along with data for further processing.
    As the data is heardware generated, I made a
    similar 'signal generator' to present very closely
    the problem.
    ===Please see the attached vi file===
    As you can see, these two Lev-Mar's function
    / derivatives are obviously different. We can edit
    the fuction / derivative node. But the problem
    is that when one is edited, the other changes too.
    Anyways, we can NOT have two different functions.
    My question is: How to have two different function
    / Deveritives here?
    By the way, how to replace the MatLab box into
    function node in my attached example?
    I can 'wire' the out
    put to next if it's a
    function node. It says the type of variables are
    different (output is a real instead of array).
    Attachments:
    Lev-Mar-Question2.vi ‏99 KB

    You have a few options for multiple function/derivatives.
    1. If you can express the model functions using the formula string syntax, then you might consider using the "Levenberg Marquardt.vi". Unfortunately the Levenberg-Marquardt.vi does not allow the specification of the derivative of the model function and always uses numerical derivatives. It is also somewhat slower than the "Nonlinear Lev-Mar Fit.vi".
    2. You could also save a copy of the "Nonlinear Lev-Mar Fit.vi" using a different name, and also the "Lev-Mar ABX.vi" and "Target Fnc & Deriv Nonlin.vi" with different names. Then you would have a different set of VIs to implement the curve fitting on two different models. This is ugly, but would work.
    3. You could modify the "Nonlinear Lev-Mar
    Fit.vi", "Lev-Mar ABX.vi", and "Target Fnc & Deriv Nonlin.vi" to accept/pass VI references. The "Target Fnc & Deriv Nonlin.vi" would then perform a call by reference to a VI that you wrote implementing the current model function.
    To replace the Matlab script node place the formula node inside a for-loop. The for-loop will auto-index the x and t arrays, and auto-build the y-array.

  • How to constrain parameters in Lev-Mar?

    It's a common case for non-linear fitting.
    How can it be done in LabView's Lev-Mar?
    Thanks.

    The provided LabVIEW implementation does not contain options for parameter bounds.
    One solution would be to re-parametrize your code in terms of unconstrained variables that cause a constraint on your original parameters.
    Some transformations for one-sided or two-sided parameter bounds are given here:
    http://www.id.unizh.ch/software/unix/statmath/sas/sasdoc/stat/chap19/sect41.htm
    The link also lists references with more details.
    LabVIEW Champion . Do more with less code and in less time .

  • Lev-Mar template missing

    I am trying to fit A*sin(w*t+phi) to some noisy data (amplitude, frequency, and phase are all to be detrmined from the matched sine). When I looked at the Lev-Mar fitting VIs I could not locate the template for the LM model function and gradient VI template mentioned in the Help file. labview\vi.lib\gmath\opti.llb\numerical is empty. (Help says this template should be there). The figure in the help file shows a cluster called Output Control as an input to the VI, but does not specify the elements of the control. I also could not find a way to put the formula into the String Formula version. Is there a listing of the available functions and syntax? The help did not seem to lead me to it.
    LV8.0.1 on Mac OS X
    Maybe it is just too late on Friday afternoon.
    Lynn

    Sarah, Christian,
    I had looked at that link and several others. I was hoping to find some reference where someone had made some practical suggestions reagrding optimizing the initial guesses, or at least some clues as to how to go about it.
    My data has a frequency range of about 2.5:1 so I was hoping I could just set the initial guess at the middle of the range. In my testing an initial guess 20% above or below the actual frequency resultis in erroneous values about 80-90% of runs with noise at 10% of signal amplitude which is better than the real data. With initial amplitude and phase equal to the data parameters and initial frequency guess at 1.2 times the actual I recorded two runs with the fit frequency at 99.9%. Eight others produced: 160%, 180%, 210%, 160%, 160%, 130%, 60%, and 160%. With the initial frequency at 80%, the results were somewhat worse.
    My suspicion is that because the partial derivatives of the model equation are also sines and cosines, the algorithm tends to find some kind of local minimum and converges to that even though it is a really poor fit.
    Here is my modified Lev-mar VI and the simple sine model VI (LV8). The default values are fairly typical of the data sets we will be getting.
    Thanks for the help.
    Lynn
    Attachments:
    Nonlinear Fit Lev-Mar.Berry.vi ‏41 KB
    simple sine model.vi ‏21 KB

  • Varying Lev-Mar init. conditions causes wide change in fit coeficients.

    Hey, I'm trying to use the advanced Lev-Mar fit vi to fit an exponential decay with an offset. I noticed that when I vary the initial condition for the time constant by 5% I get significant changes in my fit coeficient for the same parameter. However, when I multiply my input Y values by 10^4, the fit coeficients are more robust and change little with initial conditions that vary more than 10%. Also, the values now seem to match well with values I obtain when I perform the same fit in the Origin plotting program. Why is this? All my values are in double precision so I don't see how this could be a precision issue.

    The Lev-Mar has a well-known "bug" in the termination condition IF you fail to wire the "standard Deviation Input". In this case, the standard deviation is taken as 1, which is fine except for the case where your y-data is very small (e.g. all in microvolts or nanovolts). In this case, the function is considered converged after one iteration using the initial guesses.
    You have two options:
    (1) (not recommended) Edit the Lev-MAR.vi and make the diagram constant in the bottom center much smaller.
    (2) (RECOMMENDED!) Always wire a "standard deviation input array". In your case, just create an array with equal size as your data, initialized with numbers corresponding to the noise in your data. It does not need to be accurate, you could just take it as e.g. 10E-4 to 10e-6 times your y-range (y-max minus y-min).
    LabVIEW Champion . Do more with less code and in less time .

  • Lev mar parameter min value

    When I use the Lev Mar curve fit, I get an error that says at least one of my input parameters is NaN or Inf.  There is a place in my fitting equation where I divide by the parameter and take the square root, so if it was either zero or negative, this would not work.
    Is there a way that I could force Lev Mar to not choose values of 1 or zero for this parameter?  My initial guess is very small (on the order of 10^-4), but this parameter is time, so it should not be negative or zero anyways.

    What is your LabVIEW version? The function has been renamed to "nonlinear curve fit" many versions ago.
    There is a constrained nonlinear curve fit that lets you set parameter bounds. Use that instead.
    Can you show us your code and some typical data? If you calculate the model with your paramter guesses, does it look anything like the data?
    LabVIEW Champion . Do more with less code and in less time .

  • SMS_WSUS_CONFIGURATION_MANAGER - MessageID 6600 - The request failed with HTTP status 503: Service Unavailable

    Hi all,
    knowning that there are already a lot of posts concerning above message, I have to write an additional one as I could not find a solution on the web yet.
    Situation:
    Windows Server 2008 forest including empty root and two child domains, one child domain does have SCCM SP1 (central primary site WND) installed on W2k8 x64 machine including WSUS 3.0 SP1 => everything is working fine.
    Second child domain also contains a SCCM SP1 server  (primary site HUN) running on W2k8 x64 and is defined as child site of central site WND => everything is working fine too - except Software Updates.
    WSUS 3.0 SP1 installed on both SCCM servers by creating additional web site (not using "defautl web site") and configured ports 8530 and 8531 (SSL not used!). No proxy necessary/used. All WSUS 3.0 requirements for W2k8 are installed (IIS roles)
    Error:
    SMS_WSUS_CONFIGURATION_MANAGER - MessageID 6600:
    SMS WSUS Configuration Manager failed to configure upstream server settings on WSUS Server "xxxx0003".
    Possible cause: WSUS Server version 3.0 SP1 and above is not installed or cannot be contacted.
    Solution: Verify that the WSUS Server version 3.0 SP1 or greater is installed. Verify that the IIS ports configured in SMS are same as those configured on the WSUS IIS website.
    wsusutil checkhealth =>OK
    downloading updates from WSUS at central site (SUSDB and WSUS folder equal in size) =>OK
    wsus admin console able to connect and configuration possible => OK
    IIS ports configured within SMS are equal to those configured for WSUS website
    SCCM config (using Configuration Manager Console) does look correct - ConfigMgr Software Update Point role properties and Software Update Point Component properties
    wcm.log does report an error: (SCCM Log files at the end.)
    "The request failed with HTTP status 503: Service Unavailable"
    IIS log files of both websites (default web site and WSUS Administration website) do not show any errors.
    Questions:
    What else should I look at? (registyr, SUSDB content,..)
    What exactly does happen during the attempt to configure the upstream server by the SMS_WSUS_Configuration_Manager component? I guess a SMS process tries to contact a webservice - would it be possible to debug in more detail ?
    And finally - Who does know the solution ?
    wcm.log:
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.~~   at Microsoft.UpdateServices.Administration.AdminProxy.CreateUpdateServer(Object[] args)~~   at Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)~~   at Microsoft.SystemsManagementServer.WSUS.WSUSServer.ConnectToWSUSServer(String ServerName, Boolean UseSSL, Int32 PortNumber) SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    Remote configuration failed on WSUS Server. SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    STATMSG: ID=6600 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_CONFIGURATION_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4468 GMTDATE=Mi Jul 16 10:49:47.758 2008 ISTR0="xxxx0003" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    Waiting for changes for 59 minutes SMS_WSUS_CONFIGURATION_MANAGER 16.07.2008 12:49:47 4468 (0x1174)
    wsusctrl.log (looks fine to me - is able to connect to local WSUS !):
    SMS_EXECUTIVE started SMS_WSUS_CONTROL_MANAGER as thread ID 6156 (0x180C). SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 2732 (0x0AAC)
    This is a WSUS Role as WSUS registry key exists. SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Local WSUS Server Proxy settings are correctly configured as Proxy Name  and Proxy Port 80 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Waiting for changes for 0 minutes SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Timed Out... SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Major Version = 0x30000, Minor Version = 0x17700111 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Found WSUS Admin dll of assembly version Microsoft.UpdateServices.Administration, Version=3.1.6001.1, Major Version = 0x30001, Minor Version = 0x17710001 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    The installed WSUS build has the valid and supported WSUS Administration DLL assembly version (3.1.6001.65) SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Local WSUS Server Proxy settings are correctly configured as Proxy Name  and Proxy Port 80 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Successfully connected to local WSUS server SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    There are no unhealthy WSUS Server components on WSUS Server xxxx0003 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:01 6156 (0x180C)
    Successfully checked database connection on WSUS server xxxx0003 SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:02 6156 (0x180C)
    Waiting for changes for 57 minutes SMS_WSUS_CONTROL_MANAGER 16.07.2008 12:04:02 6156 (0x180C)
    wsyncmgr.log (as a result of being not able to configure upstream server I guess):
    STATMSG: ID=6701 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4476 GMTDATE=Mi Jul 16 10:03:51.481 2008 ISTR0="" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 16.07.2008 12:03:51 4476 (0x117C)
    Sync failed: WSUS server not configured. Source: CWSyncMgr:oSync SMS_WSUS_SYNC_MANAGER 16.07.2008 12:08:51 4476 (0x117C)
    STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=xxxx0003 SITE=HUN PID=2424 TID=4476 GMTDATE=Mi Jul 16 10:08:51.636 2008 ISTR0="CWSyncMgr:oSync" ISTR1="WSUS server not configured" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 16.07.2008 12:08:51 4476 (0x117C)

    I just experienced the exact same scenario.  After much digging I found that csakg6so posted a fix at
    Windoows-Noob
    Run Internet Explorer as the SYSTEM account (psexec -s -d -i cmd.exe & C:\Program Files\Internet Explorrer\iexplore.exe)
    Go to internet options
    Go to conections
    Go to LAN settings
    Uncheck all boxes
    The original post said to reboot, but that wasn't necessary for me.
    After initiating a manual Software Update sync the WCM.log and WSyncMgr.log errors do not return and new updates are synchronized.

  • Move button to the next page with his function.

    Hello, is the any way to move a button to the another page with his functions?
    I can't creat a new button, because I need all the function that contains the button original. I use it now, but it is not ok for to change te page because it has not the paramater location.... :
            var newAddRect=[addRect[0], addRect[1] + delta -1, addRect[2],addRect[3] + delta -1];
            btnAdd.rect = newAddRect;
    I saw the propierty: button.page, but is only for read.
    I know about the propierty Action of the button, and I know that I could assign the code... but I descarted because it's will generate a recursive code....
    Can I use in the button.Action the call a trusted function ?
    Thank you!
    Regards.

    Thank yoy try67 !
    I am trying this way, now I am creating a new button, and I am trying to put, all the code of the original button in one function.
    And, when I am creating de new button  btn:
    var btn = this.addField(name, type, page, newAddRect)
    btn.setAcion("MouseUp","myFunction()");
    this not works...
    the function is in one file in:
    C:\Documents and Settings\user\Datos de programa\Adobe\Acrobat\9.0\JavaScripts\myFile.js
    and the contains of the function is a simple alert.....
    Any idea...¿?
    Thank you!
    Regards,
    Xavi Marín.

  • Maintain Dimension Data withn the Current Record With Highdata

    Hi,
    I have following value in the Product Dimension :
    Product_SK Product_code PROD_PRICE REC_END_DATE
    ========== ============ ========== ============
    1001 P001 12.3 20-JAN-2005
    1002 P001 15.5 15-MAR-2007
    1003 P001 17.0 20-JUL-2009
    1004 P001 25 31-MAR-9999
    1005 P002 20.2 20-FEB-2001
    1006 P002 23.2 20-FEB-2004
    1007 P002 22.5 31-DEC-9999
    I want to maintain the dimension table with the only high record end data value(31-DEC-9999). Is there any filtering condition to maintain the Dimension like building the CUBE. During CUBE build there is an option "Filter ". Is there any process to give any filter condition in the Dimension build ?

    If you are not using materialized views, then an easy answer is to map the dimension to a view on top of the table. But as it happens you can also apply a filter on a dimension. See the old thread "Dimension Mapping in 11g. Can Where clause be used to filter source table?" for details.
    Re: Dimension Mapping in 11g. Can Where clause be used to filter source table?

  • How to use the crypto api with gemalto cyberflex 32k ?

    Hello ,
    I've done many javacard programs using this method :
    _compilation with javacard kit 2.2.1
    _convertion into ".cap"  with the javacard kit 2.1.2
    All this programs work fine with this method : helloworld, read, write in the card, ....
    But when i want to use the crypto api, i can't charge the program in the card (just by adding 2 lines for generating keys):
    ----------> returns 0x80206A80 (6A80: Wrong data / Incorrect values i data.)
    I think it's because i use the 2.1.2 version , but if i use the 2.2.1 to convert , it's another error and no program work with this method.....even helloworld doesn't work...
    -----------> returns 0x80206985 (6985: Command not allowed - Conditions of use not satisfied.)
    I thing i must change my gpshel command , but i have read many forums but can't find the configuration for my card cyberflex 32k, some people had similar problems so they used the kit 2.1.2 combined with 2.2.1 like me, but i think they can't use the crypto api with this.........
    Any help will be apreciated,
    kind regards
    Franck
    Edited by: jojo85 on Mar 20, 2009 11:03 AM

    Hello,
    Thanks Sonnyyu,
    I deleted my gpshell 1.4.2 directory and i installed gpshell 1.4.0 instead like they said , to avoid some bugs
    i've tested the exemple CardEdgeII.ijc ,
    here's what i got:
    mode_201
    enable_trace
    establish_context
    card_connect -readerNumber 1
    select -AID a0000000030000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
    delete -AID A0000003230101
    delete -AID A00000032301
    delete -AID A00000000101
    delete -AID A000000001mode_201
    enable_trace
    establish_context
    card_connect -readerNumber 1
    select -AID a0000000030000
    Command --> 00A4040007A0000000030000
    Wrapped command --> 00A4040007A0000000030000
    Response <-- 6F188407A0000000030000A50D9F6E060011020201009F6501FF9000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
    Command --> 8050000008674672AE4B85E01800
    Wrapped command --> 8050000008674672AE4B85E01800
    Response <-- 000081410002B2C600E4010151982BB4CF843B1431E57DB6418652AE9000
    Command --> 848201001073CF9B92B3F11E10BE12D1318E9A8095
    Wrapped command --> 848201001073CF9B92B3F11E10BE12D1318E9A8095
    Response <-- 9000
    delete -AID A0000003230101
    Command --> 80E40000094F07A000000323010100
    Wrapped command --> 84E40000114F07A000000323010149D51E784E07966B00
    Response <-- 6A88
    delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
    delete -AID A00000032301
    Command --> 80E40000084F06A0000003230100
    Wrapped command --> 84E40000104F06A00000032301E3788AF4A9E32C2100
    Response <-- 6A88
    delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
    delete -AID A00000000101
    Command --> 80E40000084F06A0000000010100
    Wrapped command --> 84E40000104F06A00000000101C3CC96E6E54AF0ED00
    Response <-- 6A88
    delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
    delete -AID A000000001
    Command --> 80E40000074F05A00000000100
    Wrapped command --> 84E400000F4F05A000000001DA73D168B218692C00
    Response <-- 6A88
    delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
    install -file CardEdgeII.ijc -nvDataLimit 12000 -instParam 00 -priv 2
    install -file CardEdgeII.ijc -nvDataLimit 12000 -instParam 00 -priv 2
    Command --> 80E602001705A00000000107A00000000300000006EF04C60231000000
    Wrapped command --> 84E602001F05A00000000107A00000000300000006EF04C60231000019F52839EB52A80200
    Response <-- 009000
    Command --> 80E80000EFC48230F401000FDECAFFED010204000105A00000000102001F000F001F000A00290256006C2307000A04230000067F00060000000004010004002904000107A0000000620101010107A0000000620102010107A0000000620201000107A000000062000103000A0106A0000000010119CE06006C00800313000C040400051856FFFF1BA41A2A17FB1818183718A61971008300020001011100001E4F1EC51F771F9A1FA71FAC1FB31FBC1FCD1FF41FFD20082043204B205520662071008300030001010D0000209520B520C520D52101211C21742196221F2230226F227D22E1072307000640188C00861803880010
    Wrapped command --> 84E80000F7C48230F401000FDECAFFED010204000105A00000000102001F000F001F000A00290256006C2307000A04230000067F00060000000004010004002904000107A0000000620101010107A0000000620102010107A0000000620201000107A000000062000103000A0106A0000000010119CE06006C00800313000C040400051856FFFF1BA41A2A17FB1818183718A61971008300020001011100001E4F1EC51F771F9A1FA71FAC1FB31FBC1FCD1FF41FFD20082043204B205520662071008300030001010D0000209520B520C520D52101211C21742196221F2230226F227D22E1072307000640188C00861803880010C9DE1DD3FD6CD8CE
    Response <-- 9000
    Command --> 80E80001EF08900B7F001C7B001C03104D387B001C041075387B001C051073387B001C061063387B001C07106C387B001C081065387B001C10061030387B001C1007103038187B001C037B001C925B8C004D6108119CFF8D005318100891008087011810089100808702AD02038F00803D0610108C002037AD020324940000807B001C037B001C925B8B002A7A05361A0525321A062529071F62071F10086C08119C108D00531607610EAD021F24940000802804700CAD011F2494000080280415046708119C108D0053031A07258D002E2905198B003016056A081167008D00531605076D08119C0F8D00531A08252906160504
    Wrapped command --> 84E80001F708900B7F001C7B001C03104D387B001C041075387B001C051073387B001C061063387B001C07106C387B001C081065387B001C10061030387B001C1007103038187B001C037B001C925B8C004D6108119CFF8D005318100891008087011810089100808702AD02038F00803D0610108C002037AD020324940000807B001C037B001C925B8B002A7A05361A0525321A062529071F62071F10086C08119C108D00531607610EAD021F24940000802804700CAD011F2494000080280415046708119C108D0053031A07258D002E2905198B003016056A081167008D00531605076D08119C0F8D00531A082529061605045F95980396338536
    Response <-- 9000
    °
    °
    °
    there are again many lines and the response is always 9000
    i'll try to find a converter to convert the .cap files of my crypto application into .ijc files
    thanks,
    kind regards
    Franck
    Edited by: jojo85 on Mar 21, 2009 2:48 PM

  • The update unavailable with this ID problem

    I discovered a post on the iPhoto section with a simple solution, I went into my account pressed reset then hit install and I now have updated versions of both apps.

    Sorry I'm not a regular poster to forums I didn't think of that, however I thought I had pretty much passed on the necessary information. Apologies
    b0n0b0
    Re: Recently upgraded to Maverick from SnowLeopard. Unable to get updates from App store. 
    Mar 15, 2014 9:05 AM (in response to Terence Devlin)
    Got it! Thanx.  What I did was go to my account, check that they had my new ID and Password which they did, then hit reset button. All fixed.

Maybe you are looking for