NI488.2 throws an exception

I'm controlling a cold room using c# application via the Instrument National .NET assemblies. My obversations are:

1. software development - works PERFECTLY with the Instrument.

2. computer deployment - (installed NI488.2 + NIVISA drivers)-throws an exception (see below) when running my c# application

3. computer deployment - (Using NIMAX - Instrument works perfectly) - I also double checked the port settings.

Versions used in development computer - NI488.2 (8.9.35.104)

The versions used in the deployment computer - 2.24 OR-488. 2 + NI-VISA 4.1 + NI-VISA DURATION 5.0.2

Help please!

Error:

18/01/2012 14:17:22: the initializer for type for 'NationalInstruments.NI4882.Internal.GpibDll' threw an exception.
18/01/2012 14:17:22: NationalInstruments.NI4882
18/01/2012 14:17:22: at NationalInstruments.NI4882.Internal.GpibDll.ibdev (Int32 boardID, pad sad Int32, Int32, Int32, Int32 eot, Int32 eos tmo)
to NationalInstruments.NI4882.Internal.DeviceImpl... ctor (Int32 boardNumber, Byte primaryAddress, secondaryAddress bytes, TimeoutValue timeoutValue, Boolean setEndOnWrite, Boolean, ByVal sender endOfStringCharacterUsedOnRead)
to NationalInstruments.NI4882.Internal.DeviceImpl... ctor (Int32 boardNumber, address, ByVal sender)
to NationalInstruments.NI4882.Device... ctor (Int32 boardNumber, address)
at BaseBandTester.TempChamber.setup_GPIB (primaryAddr bytes, secondayAddr bytes, Int32 boardNum)

HELP PLEASE!

Hello

You have it listed for GPIB software versions

Versions used in development computer - NI488.2 (8.9.35.104)

The versions used in the deployment computer - 2.24 OR-488. 2 + NI-VISA 4.1 + NI-VISA DURATION 5.0.2

The 8.9.35. 104 is the version of the .NET library.

The 2.24 is the version of the software to control GPIB (dll)

Make sure that the deployment machine, you are having issues with that has a version of the DLL that is the same or higher than the development computer.

Look under "Software" in the NOT-MAX.

Curt

Tags: NI Software

Similar Questions

  • Convert.ToDouble API throws the exception on German OS - Windows 2008 R2 SP1

    (I used VS2010, c#, .NET Framework 4 Client Profile, Console application)

    Object Value = '-1.67E + 308';

    Double t = Convert.ToDouble (Value);

    This API Convert.ToDouble throws the exception (the value is too large or too small for conversion into Double) on German OS - Windows 2008 R2 SP1 and it works very well on an English OS

    Why is this?

    Hello

    The question you posted would be better suited in c# programming MSDN Forums. Please visit the link below to find a community that will provide the support you want.

    Hope this information is useful.

  • How to throw the exception in the Module of the Application

    Hello

    Jdev Version 12.1.3

    I have the custom in the request Module method that is exposed as a Client Interface. It is added as a button to the page.

    If I need to throw and exception in this method, how do I do that. Could you please give me a code example?

    See you soon

    AJ

    Hello

    Try this

      public void methodInAppModuleImpl()
      {
        throw new oracle.jbo.JboException("error message");
      }
    
  • Need to throw an exception after a test of text corresponding to the openscript

    Hello

    I want to check a text using text matching test and I want to throw an Exception if the text is not there. If the text is there she must either continue normally.

    I tried this test of text matching. According to this, it's getting abandoned after

    () Web.document

    "\"/web:window[@index='0 "or @title ='Oracle BI interactive dashboards - Advance Planning']/web:document[@index='0']\" ").

    .verifyText ("Check result", "export",

    Source.DisplayContent, TextPresence.PassIfPresent,

    MatchOption.Exact);

    After this way can anyone please explain me (code)

    Concerning

    Harsha

    If you give verifyText(), script not give up failure, IE. script displays a warning text not found in HTML content

    If you give assertText(), the script will stop in case of failure.

    To throw an exception when the text is not found, use try-catch as follows...

    try {}

    Web.Window ("/ web: window [@index = '0' or @title = 'Oracle BI interactive dashboards - Advance Planning']/web:document[@index='0']")

    .assertText ("Check result", "export",

    Source.DisplayContent,

    TextPresence.PassIfPresent,

    MatchOption.Exact);

    }

    catch (System.Exception e)

    {

    failure ("could not find the export text");

    }


    See you soon,.

    Dembélé M

    [email protected]

  • Throw the Exception after only a few steps in ODI

    Hello

    I use under command - which is actually an entry for Sarah part schedular (Dollar Universe $U).

    D:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin\startscen "PKG_POZ_BOSS_OMP_BSMASTERSTOCK" "-1" 'TEST' "-NAME = btvmd79_odi_agent" "."

    Planner $U t is a product developed by ORSYP (French company) www.orsyp.com

    Requirement in details:
    $U accept the return codes, however, it seems that ODI sends back "return code 0" when fails it PKG, which is understood by $U as 'everything is OK', the idea would be to have another return code when the PKG fails (I'm just rep-phrase the original statement).

    Now in the package execution is as below.
    implementation of interfaces-> if KO calling a procedure for writing email table of contents that must be sent

    According to my understanding,.

    I noticed something different, when a pkg or a scenario ends with an error, return code it sending to the operating system is still 88.

    I also noticed that if the last step takes place as well, the scenario ends in good state,
    even if another object before the last returns an error.

    so if you have an object that sends an email in case of KO scenario will eventually error if the shipment is in error.

    to avoid this, we used a procedure as long as the last one in the case of ko
    which contains a command java beanshell

    throw new Exception ("ErrorMessage")
    but I don't get the details of how I might throw exception?
    can someone help me please.

    Thank you
    Mahesh

    Create an odi procedure
    Procedure (technologies: Java beanShell)

    String emessage = "<%=odiRef.getPrevStepLog("MESSAGE")%>." » ;
    throw new Exception ("\n\n START OF ERROR:-\n\n" + emessage + "-: END of ERROR");

  • Throws an Exception when there is no update.

    Hi friends,

    I have page search and update the page, I am selecting a record in the search page and go to
    Update page to update a record, but if the user makes no changes to the record, then I
    you want to throw an exception saying there is no change to be saved.

    Any suggestion, how can I do this challenge?


    Thanks in advance.
    Keerthi.k

    Keethi

    The approach is like that...

    When the user navigates to update the page and click on the button Save. You handle this event in the method of the pfr and calling a method of the AM to commit data. Something like below

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
      {
        super.processFormRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
     if (pageContext.getParameter("Save") != null)
        {
          OAViewObject vo = (OAViewObject)am.findViewObject("VO instance name");
    
          am.invokeMethod("apply");
    }
    }
    

    AM method, you can check if there is a change or not as below apply now to

     public void apply()
      {
            if (getTransaction().isDirty())
          {
        getTransaction().commit();
          }
    else
    {
    //Throw exception here
    }
      }
    

    Hope that I clarify for me.

    Thank you
    AJ

  • Throw an Exception object custom from a thread

    I have to use my own Exception class. I want the Runnable.run () method throws an Exception.

    I want to do something like this:
    public void run(){
           throw new ControllerException("Warning: Plant Meltdown ");
    This is the error I get when I try this:
    Unhandled type ControlleException exception

    Or something like this:
    public void run() throws ControllerException{
    This is the error I get when I try this:
    Not compatible with Runnable.run)

    How can I do this? I need to catch the error in a separate category.

    You can't do that. You therefore have to restructure your application so that these exceptions can be handled somehow. Based on the description of your request you will keep (no description except that it is composed of more than one class) it is difficult to be precise, but in general I would look at something in the java.util.concurrent package. Perhaps something related to the class FutureTask might help?

  • Throw an Exception

    Hello experts,

    I need to validate the user's input and if it fails then throw an exception error.

    I extended the controller, but I am not able to throw an exception because the original controller contains the following code:
    If (oapagecontext. GetParameter ("Save"). = null)
    * {oaapplicationmodule.invokeMethod ("copyPaymentTerm"); *}
    oadbtransactionimpl.Commit ();
    oapagecontext.putParameter ("confirmMessage", "AR_UPDATE_CONFIRM");
    oapagecontext.setForwardURLToCurrentPage (null, false, null, (byte) 99);
    *}*

    Then when I hit Save it transfers to the same page using the statement oapagecontext.setForwardURLToCurrentPage (null, false, null, (byte) 99), so my extended controller never runs.

    The extended controller has the following in the method of the PFR:
    ' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)
    {System.out.println ("Running extended controller processFormRequest");
    Test string = "Hello";
    If (test is "Hello")
    {System.out.println("Hello...");
    throw new OAException ("error: this is a test!", OAException.ERROR);
    }
    super.processFormRequest (oapagecontext, oawebbean);
    }

    Is there a way to get around this? I need to be able to throw the exception.

    Thanks for your help in advance.

    Hello

    Instead of going through the personalization links, can you please click on the Page "Customize" in the upper right
    and in the 'customize' page hierarchy, you should be able to see the PageLayoutRN
    Then click on the pencil to customize, icon
    Then you should be able to locate the standard controller.

    Thank you

    With respect,
    Kali.
    OSSI.

  • Throw the exception of the app module

    Hello
    I use ADF 11.1.1.2 verison and my application is developed using the procedure (we use no BC)...
    The approach I use is as follows-
    1. create a procedure
    2. create a module app and call the procedure of this app module.
    3 - expose a customer interface and this method (data control) to see the data...

    My question - when I create a method and expose it (visible sound in the customer interface), which allows you to create a table or any other component its works very well.
    But according to my new req I have thrown an exception from this method in the case of any problem (let's say not able to update the db data)
    When I throw the exception of the method available in module app method disappears and is not available to be exposed to the client.

    Please let me know how we need to do something specific to raise exceptions in this case.

    Thank you
    Shubhangi

    Subhangi,

    Make sure you throw an exception which extends from local.

    John

  • JDeveloper 10 g &amp; ADF BC: AM, the editor can't see methods that throw the exception

    I was curious to know why once I declare my throw on the method declaration clause, it does not appear on the window of the client interface of the editor of the AOS?

    To work around this problem, I have to do the following:

    1. in the MyAmImpl.java
    + ' public void methodA() {+
    + try {+
    + / / code that throws exceptions.
    +} catch (Exception ex) {+
    +}+
    +}+

    2 open the editor of AOS, expose the method on the client interface
    3. return to the MyAmImpl.java and change metodA() to:

    Public Sub methodA() throws Exception {}
    a code that throws the exception
    }
    4. open the MyAm.java interface
    change of the
    Public Sub methodA()
    TO
    Public Sub methodA() bird exception

    is this a bug?

    Thank you
    Wes

    Try a local. It will work :)

    Ideally local class sup for all your needs.

    Vincent

  • Impossible to throw the Exception to the controller extended.

    Hi all

    I extend a controller in iProcurement. After calling super.processFormRequest, I want to throw the Exception of my custom code.

    Here is the code I wrote. Everything works fine except... to display the error at the top of the page.


    package xxtnt.oracle.apps.icx.por.req.webui;

    Import oracle.apps.icx.por.req.webui.CheckoutSummaryCO;
    Import oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean;
    Import oracle.apps.fnd.framework.server.OADBTransaction;
    Import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    Import oracle.apps.fnd.framework.OAApplicationModule;
    Import oracle.apps.fnd.framework.webui.OAPageContext;
    Import oracle.apps.ap.oie.webui.NavigationUtility;
    Import oracle.jdbc.driver.OracleCallableStatement;
    Import oracle.apps.fnd.framework.OAViewObject;
    import com.sun.java.util.collections.ArrayList;
    Import oracle.apps.fnd.framework.OAException;
    import java.sql.SQLException;
    import java.sql.Connection;
    Import oracle.jbo.RowSet;
    Import oracle.jbo.Row;
    import java.sql.Types;

    public class xxtntCheckoutSummaryCO extends CheckoutSummaryCO
    {
    private String clarityProjectId = new String("999999999");
    private String productCode = new String("");
    private String listOfProdCodes = new String("");
    private String isClause = new String ("is");
    private int noProdCodeCount = 0;
    private int exceptionCount = 0;
    private ArrayList peerException = new ArrayList();

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processRequest (pageContext, webBean);
    }

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    pageContext.writeDiagnostics (this, "In custom controller to process form request", 6);
    String s = pageContext.getParameter ("event");
    pageContext.writeDiagnostics (this, "event is:" + s, 6);
    If ((NavigationUtility.isNextClicked (pageContext)) |) ("save".equals (s)) | ("goto".equals (s)) | ("submit".equals (s)))
    {
    pageContext.writeDiagnostics (Thi, "Next/Save/Submit button..", 6);
    OAMessageLovInputBean dffMessageBean = (OAMessageLovInputBean) webBean.findChildRecursive ("ReqHeaderDFF3");
    if(dffMessageBean!=null)
    {
    pageContext.writeDiagnostics (this, ' dffMessageBean is not Null", 6");
    String msg = (String) dffMessageBean.getValue (pageContext);
    if(MSG!=null)
    {
    pageContext.writeDiagnostics (this, "value of FDF is:" + msg, 6);
    clarityProjectId = msg;
    OAApplicationModule am = pageContext.getRootApplicationModule ();
    OAViewObject reqLinesVO = (OAViewObject) am.findViewObject ("PoRequisitionLinesVO");
    if(reqLinesVO!=null)
    {
    rowCount int = reqLinesVO.getFetchedRowCount ();
    pageContext.writeDiagnostics (this, "line lines Total" + rowCount, 6);
    All lines rSet = reqLinesVO.getRowSet ();
    for (int i = 0; i < rowCount; i ++)
    {
    Line linesRow = rSet.getRowAtRangeIndex (i);
    if(linesRow!=null)
    {
    String reqLineId = linesRow.getAttribute("RequisitionLineId").toString ();
    pageContext.writeDiagnostics (this, "The RequisitionLineId is:" + reqLineId, 6);
    lineNumber int = Integer.parseInt (linesRow.getAttribute("LineNum").toString ());
    VR;
    {
    OADBTransaction tr = am.getOADBTransaction ();
    Connection con = tr.getJdbcConnection ();
    OCs OracleCallableStatement = null;
    String stmt = new String("");
    stmt = "BEGIN LFIN_CA_CLARITY_TRX_EXT_OP. GET_PRODUCT_CODE(:1,:2,:3,:4,:5,:6); END; « ;
    Co = (OracleCallableStatement) con.prepareCall (stmt);
    ocs.setString(1,clarityProjectId);
    ocs.setString (2, "999999");
    ocs.registerOutParameter(3,Types.VARCHAR,0,255);
    ocs.registerOutParameter(4,Types.VARCHAR,0,255);
    ocs.setString(5,reqLineId);
    ocs.setString(6,"IPR");
    pageContext.writeDiagnostics (this, "before you run the prod code is" + productCode, 6);
    OCS. Execute();
    productCode = ocs.getString (3) m:System.NET.SocketAddress.ToString ();
    listOfProdCodes = ocs.getString (4) m:System.NET.SocketAddress.ToString ();
    }
    catch (SQLException e)
    {
    pageContext.writeDiagnostics (this, "Exception when calling the package of prod Code/Code" + e.getMessage (), 6);
    }
    pageContext.writeDiagnostics (Thi, "prod package after call Code is:" + productCode, 6);
    If (listOfProdCodes.length () > 4)
    {
    isClause = 'y ';
    pageContext.writeDiagnostics (Thi, "isClause =" + isClause, 6);
    }
    pageContext.writeDiagnostics (this, "after the list run Codes Prod is" + listOfProdCodes, 6);
    If (ProductCode.Equals ("zzxxxxxzz") & & (listOfProdCodes.equals ("zzxxxxxzz")))
    {
    noProdCodeCount = noProdCodeCount + 1;
    }
    Another yew (productCode.equals ("zzxxxxxzz") & & (! listOfProdCodes.equals ("zzxxxxxzz")))
    {
    peerException.add (new OAException ("Line"
    + lineNumber
    +" - "
    +"Product code is invalid. The product code valid for project.
    + clarityProjectId
    + isClause
    + listOfProdCodes
    +"\n"));
    pageContext.writeDiagnostics (, "Sunrise should prod valid error codes", 6);
    exceptionCount = exceptionCount + 1;
    }
    on the other
    {
    pageContext.writeDiagnostics (this,"ProdLine is equal to the Prod Code... The success of the validation. FRO... Line. "+ lineNumber, 6);
    pageContext.writeDiagnostics (this, "" == > Unexpected < == "")
    +"Line number"+ lineNumber
    'Product code' + productCode
    + "List of product codes '+ listOfProdCodes
    (6);
    }
    } / / closing line! = null
    } / / Closed loop
    } / / closing if Vo! = null
    if(noProdCodeCount>0)
    {
    peerException.add (new OAException ("no product code has been defined for the clarity project ID" + clarityProjectId));
    exceptionCount = exceptionCount + 1;
    }
    } / / closing projectid clarity! = null
    pageContext.writeDiagnostics (this, "number of Exception is:" + exceptionCount, 6);
    if(exceptionCount>0)
    OAException.raiseBundledOAException (peerException);
    } //Closing
    }
    }
    }

    Page: / oracle/apps/icx/por/req/webui/CheckoutSummaryPG

    I commented all the code and just try to throw the exception using the throw new OAException ("Test Exception msg");
    After super.processFormRequest, yet his watch no any which exception in page.

    Help please..!

    Thank you
    Ganga Ram

    Hello

    Use the following syntax

    pageContext.putDialogMessage (message);
    pageContext.forwardImmediatelyToCurrentPage (null, true, null);

    Thank you
    Rakesh

  • thread-&gt; PostUIMessage throws com_error Exceptions

    We have developed a TestStand OI (4.2) including a tracelogger function. Code modules (dll is coded in C++) used in the sequences can send trace messages to the IO by using the function PostUIMessage (see the following code):

    Try
    {
    Get the thread running in the context of the sequence
    thread = seqContext-> GetThread();

    thread-> PostUIMessage (static_cast (UIMsg_UserMessageBase + 4)
    Level
    _bstr_t (Msg),
    (TRUE);
    }
    catch (_com_error & com_error) / * API TestStand throws only this kind of exception * /.
    {
    .....
    }

    It happens that a message is sent every 10ms. Generally this works well both when you run the sequence in the sequence editor and in our IO. But after a rogue from time of 10 minutes to a few hours (depends on the frequency of messages) the PostUIMessage throws a com_error Exception.

    Note: The code is reported as critical section to ensure that it works in multi thread environments too.

    Does anyone have any idea what could be the reason for these exceptions and how to avoid them?

    Thanks in advance

    Peter

    Hi Peter,.

    You wrote that this cycle is about 10ms.

    It's fast!  Normally I use these rates in the threads of work or the threads separated from TS.

    If you have such this in your module or the code sequence file.

    Maybe your variables "seqSontext" or "thread" is not valid.

    Before calling the thread-> PostUIMessage check that everything is valid.

    Hope this helps

    Jürgen

  • Persist does not throw an exception in a JUnit test

    I implement a JUnit test by using Toplink JPA provider. I must be missing something because I try to keep twice the same entity and no exception is thrown. PersistenceException, nor any other type of exception. The code can not be easier:


    @Test
    Public Sub testAddExistingTeam() throws Exception {}

    Team = new Team ("team2");

    try {}

    EntityManagerFactory emf =
    Persistence.createEntityManagerFactory ("Fisher");
    EntityManager em = emf.createEntityManager ();

    em.getTransaction () .begin ();

    EM. Persist (Team);
    EM. Persist (Team);

    em.getTransaction () .commit ();
    EM. Close();
    }
    catch (Exception e) {}
    e.printStackTrace ();
    }

    }

    Note the two em.persist (team).

    This code does not enter into the catch block or produce any kind of exception. On the other hand, I checked after the first
    EM. Persist (Team); the team is really successful.

    The relevant parts of the team following class definition:

    @Entity
    @Table (name = 'TEAM')
    Team/public class implements Serializable {}
    @Id
    @Column (name = "NAME")
    private String name;

    @ManyToOne
    @JoinColumn (name = "CLUB_NAME", referencedColumnName = "NAME")
    Club private;
    category private;
    private String email;

    @ManyToMany (mappedBy = "teams")
    list < competition > competition private;


    public Team (String name) {}
    myIdName = name;
    This.Club = null;
    This.competitions = new ArrayList < competition > ();
    }

    more than builders...getters/setters...and.
    }

    I'm really intrigued by this problem. Could someone help? I would be really grateful!


    Josepma

    This is expected behavior as persist is a no - op if called on one managed entity (other than to the waterfall on relationships with cascade. Persist), and the first call to persist makes the past in team managed entity.

    Try calling em.flush (); and em.clear (); between calls persist to get an exception.
    The first flush will ensure that the team is inserted into the database, while that clear it peel while the second call persist will attempt to insert the team. JPA providers should not throw the entityExistsException persist - it can be delayed until the transaction either emptied or committed, then you are likely to get a PersistenceException validation instead of EntityExistsException to persist.

    Best regards
    Chris

  • TO_NUMBER do not throw an exception on an invalid entry.

    I have problems safely convert text to numbers with TO_NUMBER function values.
    select to_number('BAD') from dual
    Result: ORA-01722: invalid number. It's logical.
    select to_number('6E9547') from dual
    Result: ORA-01722: invalid number. This makes sense too given that the E is considered to be a marker of the exhibitor.

    If I create a function to check if a number is valid:
    CREATE OR REPLACE FUNCTION is_number( str IN VARCHAR2 ) RETURN NUMBER IS
        BEGIN
         RETURN TO_NUMBER(str);
        EXCEPTION
         WHEN OTHERS THEN RETURN NULL;
        END;
    Now it's time for a new trial:
    select is_number('BAD') from dual
    Result: NULL as expected
    select is_number('6E9547') from dual
    Result: 1E126
    The latter is unexpected. I expect NOTHING but get you a number of "random"?

    All this on 10.2.0.4 (patch set 20) on Windows 2003 server.

    Why a sql statement throwing an error and the pl/sql only?

    436548.1 said

    »
    A SELECT simple for a sum to DOUBLE returns ORA-01426: digital overflow, that is correct.
    «

    and

    »
    Insert "infinite" by means of link PLSQL does not throw an error - it should report ORA-1426.
    «

    So I guess this bug has already been processed and plsql should also throw an error (by design) above examples.

  • PowerShell does not open, Powershell ISE throws the exception when starting

    I am running Windows 7 SP1.

    When I try to start Powershell (x 64) or Powershell window will appear for less than a second, and then disappear.

    When I try to start Powershell ISE (x 64) I get an error on the application of "the exception unknown software exception (0xe0434352) occurred in the application at location 0x7568c44d."

    When I try to start Powershell ISE I get an error on the application of "the exception unknown software exception (0xe0434352) occurred in the application at location 0xfd96adad."

    I tried to repair .net 4.5 and I tried to reinstall Windows6. 1 KB2506143-x 64.msu.

    When you try to install KB2506143-x 64.msu I get "the update is not applicable to your computer."

    When trying to make sure that the old powershell is uninstalled I can't find KB2506143 in the list of installed updates.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

Maybe you are looking for

  • Can't send or receive E mails

    In the last two weeks, I have not been able to send or receive emails from my Hotmail on my I Phone 6 account. I can still receive and send emails to my I Mac and my I Pad. I have checked my incoming and out going servers and they seem to agree. Alth

  • Updated version41.0.2, Firefox is now text on some websites. How can I fix it?

    I've just updated my Firefox browser to version 41.0.2 on a Windows 8.1 environment and many pages I visit now display the text you entered. How can I fix it? In my research, I came across an article that suggested to install an add-on that allows a

  • Bookmarks lost accidentally, settings. Help!

    I used browser every night and decided to uninstall back to Firefox but accidentally deleted bookmarks and settings in the process. Is there something I can do?

  • Toshiba virtual Store account Reset - 31355

    Reset personal account 31355Thank you!

  • digital output microsecond LED timer

    Hey all,. I'm doing a table of 10 LEDs in a row to form an analog timer to use to characterize the delay of the shutter on a digital SLR. We'll first stage shutter lag on the camera using a method different and well set the delay of the shutter for i