Timeout variable in DDE

Hi,
I'm debugging some scripts and need information on DDE
Request. I'm not sure how to interpret the default timeout
value correctly. Does the value of -1 mean that labview
does not wait for the application to return, or does it
mean that labview waits indefinitelly? The description of
this variable is:
U32: timeout
timeout specifies how many milliseconds to wait for the
function to complete. The default value of ÿffffc3ÿffffa2ÿffffe2ÿffff82ÿffffacÿffffe2ÿffff80ÿ​ffff9c1 specifies no
timeout. If the specified amount of time expires before
completion, the VI returns an error.
thanks,
dan
* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping.
Smart is Beautiful

Yes.
I added both variables, TIMEOUT and TMOUT, in /etc/profile.
As expected, TMOUT works fine with korn shell session.
None worked with bourne shell session (/sbin/sh).
I need to time out Bourne shell session and not Bash session.

Similar Messages

  • TIMEOUT variable in Bourne shell

    Does Solaris implementation of bourne shell support the envronmental variable TIMEOUT?
    It seems not. Added this variable to /etc/profile but idle bourne sessions are not timing out.
    Korn shell environmental variable TMOUT is working fine.

    Yes.
    I added both variables, TIMEOUT and TMOUT, in /etc/profile.
    As expected, TMOUT works fine with korn shell session.
    None worked with bourne shell session (/sbin/sh).
    I need to time out Bourne shell session and not Bash session.

  • SSO and portal timeout  -- other bug?

    ...this is very probably related to the other post talking about SSO and portal timeout...
    I am having another weird issue with dotnet portlets that uses inline refresh (done automatically by dotnet accelerator) and SSO.
    When you let the portal session expire, and then click on a button/link within a portlet (hence generate an inline refresh gatewayed request), the full portal window (header/footer etc...) appears within the portlet, instead of the portlet content alone.
    I did some http traces (see below) and it seems the problem is due to the windows SSOLogin.aspx (we are using windows auth SSO) not taking the requested portlet gatewayed request url as a post login redirect info... but taking instead the current page url (which is wrong)
    Thus, after the gatewayed portlet request is successfully authenticated by the SSOLogin.aspx component, it is automatically redirected to the wrong urll...making the full portal page refresh into the portlet.
    So my question is: have anyone already seen such behavior? And has anything been done to fix this?
    It really seems like a bug with the SSO servlet...but maybe i am doing something wrong...Just want to have your thoughts on this.
    Thanks,
    Fabien
    ============================================================================================
    HTTP Trace:
    POST     302     Redirect to /portal/sso/SSOLogin.aspx?in_hi_userid=15046&space=CommunityPage&parentid=1&cached=false&control=SetCommunity&PageID=0&CommunityID=205&parentname=Login     http://your.portal.com/portal/server.pt/gateway/PTARGS_0_15046_362_205_0_43/http%3B/your.portletserver.com/yourapp/youraspx.aspx
    GET     401     text/html     http://your.portal.com/portal/sso/SSOLogin.aspx?in_hi_userid=15046&space=CommunityPage&parentid=1&cached=false&control=SetCommunity&PageID=0&CommunityID=205&parentname=Login
    GET     401     text/html     http://your.portal.com/portal/sso/SSOLogin.aspx?in_hi_userid=15046&space=CommunityPage&parentid=1&cached=false&control=SetCommunity&PageID=0&CommunityID=205&parentname=Login
    GET     302     Redirect to http://your.portal.com/portal/server.pt?in_hi_userid=15046&space=CommunityPage&parentid=1&cached=false&control=SetCommunity&PageID=0&CommunityID=205&parentname=Login     http://your.portal.com/portal/sso/SSOLogin.aspx?in_hi_userid=15046&space=CommunityPage&parentid=1&cached=false&control=SetCommunity&PageID=0&CommunityID=205&parentname=Login
    GET     200     text/html; charset=utf-8     http://your.portal.com/portal/server.pt?in_hi_userid=15046&space=CommunityPage&parentid=1&cached=false&control=SetCommunity&PageID=0&CommunityID=205&parentname=Login

    I have this happen in v6.0 sp1. We have worked around the problem with a bit of work and synchronization of settings. Below, I've outlined how we've worked around the problem (which is indeed a problem that should be fixed). Also, if you have a load balancer, you'll need to set your session timeout on the load balancer to a bit more than the refresh rate that you set for your communities and My Pages.
    Resolving the Portlet Timeout / Refresh Problem in ALUI Portal_
    Problem: Users occasionally receive the portal page within a portlet error
    Cause: The root cause has not been determined; however it appears that the primary event that exhibits the behavior is when a teammember’s session has expired on the portal server and they then utilize a .NET form-based portlet which refreshes in place. Because we are using WIA SSO to enable automatic logins to the portal, it makes the error seem to occur randomly.
    Resolution:
    The workaround solution is to – 1) increase the portal session timeout on the portal web servers from the default 20min to 4 hours, and 2) set the MyPage refresh interval setting for all portal users to 3 hours. The setting name is a bit of a misnomer, as it will actually refresh the entire portal page automatically if the user is idle on either a My Page or a Community Page, as these are the only two places that portlets reside.
    Increasing the portal session timeout:
    The portal session timeout is controlled in two places, and both settings should match. On the portal virtual directory in IIS, edit the configuration and increase the timeout setting to 240 (minutes). Then, edit the portal application’s web.config file (d:\portal\ptportal\6.0\webapp\portal\web\) and increase the sessionState Timeout variable to 240. Editting the config file will require you to restart the services before you see the change.
    Initial setting of the MyPage refresh interval:
    The initial setting will need to be done by a SQL script in order to apply it to all existing users. The Default Profile should also be updated so that all new user synched from AD will have this setting applied automatically.
    /* Delete refresh interval settings for all users first so that there are no conflicts on the inserts */
    DELETE FROM portaldbuser.ptprefs WHERE prefname = 'intMyPageRefreshRate'
    /* Insert desired page refresh setting for all users */
    INSERT INTO portaldbuser.ptprefs (userid,gadgetid,prefclassid,prefobjectid,prefname,prefvaluetype,prefvalue,pagenumber) SELECT objectid,0,0,0,'intMyPageRefreshRate',3,180,0 FROM portaldbuser.ptusers
    From Administration, access the Default Profiles utility. Check the Default Profile entry and click on the Edit Profile Layout link. Click on the My Account link in the Portal Settings portlet and then on the Display Options link on the next page. In the Page and Portlet Settings, update the Your My Page will be updated: setting to 4 hours. Click Finish twice to return to Administration.
    Updating the MyPage refresh interval:
    To update the setting just modify the insert portion of the SQL script. Change the prefvalue number (180) to the desired timeout in minutes and rerun both statements of the script.
    The Default Profile should be also be modified per the instructions above.
    I hope this helps...
    -tom

  • How can I display a CreateTimeSpan variable?

    I am trying to figure out how to properly output a variable
    that was created using CreateTimeSpan in a readable format. Here is
    the initial code:
    <cfset MyTime = #CreateTimeSpan(0,0,30,0)#>
    And lower on the page:
    <cfouput>#MyTime#</cfoutput>
    Which unfortunately results in showing this:
    0.0208333333333
    But I want it to show as
    30 minutes
    Without going into too much detail, the short is I am trying
    to output this for the user and only need to know how I can format
    0.0208333333333 to the appropriate amount of time *i.e. 30 minutes,
    2 hours 30 minutes, 2 days, etc.
    Any help on this is greatly appreciated!

    Well you weren't as far off as you think :). Initially I was
    going to want to do it so it dynamically figured if it should
    display as days, hours, minutes, etc....but I decided that was good
    enough for the moment.
    Also I do intend to allow the admin user to indicate the
    timeout value, but not as you might think. Basically I have an
    /install/ folder which will automatically launch if value on
    application.cfm
    <cfparam name="application.install" default="FALSE">
    Within that set of self contained pages, it will take them
    through a series of questions and the end results will:
    1. Test database connection.
    2. Allow them to indicate whether they want to offer support
    or not (i.e. can indicate a support email address and if so, then a
    support form shows within the admin tools + sends out automated
    emails on any errors).
    3. Allow them to indicate their own time out value.
    Upon completion of all of these things, it will then either
    write to the application.cfm OR if CFFILE is turned off, give them
    the code to copy and paste into the application.cfm, save and
    upload...which in turn includes the timeout variable.
    I am extremely thorough on my applications and previously at
    bottom of the page had it hard coded as "will time out in 30
    minutes" but decided that should be determined during install and
    dynamically show.
    Have lots of work to do on that application before launch
    yet, so I didn't want to waste too much time on that single item
    :). THanks again!

  • PDA (Pocke PC) - Serial Write Timeout

    Hello List,
    I am developing serial routines to communicate with external hardware. In many cases, XON/XOFF flow control is used.
    I have configured my PDA device to write out a large file. During the transmission, I use my development computer to monitor the transmission. During the transmission, I can send XON/XOFF characters to the PDA. If I send an XOFF, it will "pause" until I send an XON character. It works great unless I wait for more than about 3 seconds. If the PDA is forced to wait for more than 3 seconds, the transmission is terminated with an error. However, if I send an XON character, before the 3 seconds delay, it continues the transmission and no error occurs.
    It seems that a 3 second timeout is being enf
    orced within the routines but I have not been able to determine if I have control (within the PDA Serial Routines) over the timeout variable. Personally, I would like the timeout to be indefinite unless I want to enforce one.
    FYI: Based on industrial experience, for very large files, delays during the transmission of several minutes may be necessary.
    TIA,
    Guy

    Hello,
    I apologize for the delay in responding to your post. You are having a timeout issue when using software flow control (XON/XOFF) to transfer data between a PDA and a host computer, right? Are you getting error code 7 when the PDA times out? I was able to duplicate this issue here. This error code is a timeout error and it means that not all bytes have been sent. I spoke with members of the R&D team and they know about the problem. While they were unable to offer a formal solution at this time, they did provide a workaround which I hope works for you.
    Put a while loop around the serial write VI on the PDA.
    Continue the while loop until there is no longer an error code 7 (i.e. until all bytes have been sent).
    Essentially, this will ignore the repeated timeouts from the serial write VI. You can manually add a timeout mechanism by obtaining the time before the loop and checking it during the loop. However, you mention an infinite timeout is acceptable in which case no additional code is necessary.
    I have attached a couple of VIs that implement serial communication using XON/XOFF flow control and that use the above workaround. Please let me know if this solution works for you. If not, can you provide some additional details such as the error code and if the timeout is happening on the PC side or the PDA.
    Happy coding,
    Grant M.
    National Instruments
    Attachments:
    Serial_XonXoff_(Host).vi ‏55 KB
    Serial_XonXoff_(PDA).vi ‏68 KB

  • IO timeout error

    Hi all,
    Anyone familiar with these type of time outs on iPlanet 6.1sp3 Front End? [21/May/2007:09:55:14] failure (19204): service-passthrough reports: PASS1010: error connecting to http://backend-server.com (IO time out error)
    and also falis like this:
    service-passthrough reports: PASS1033: timed out waiting for response body from http://backend-server.com
    I added the poll-timeout variable to the 6.1sp3 obj.conf file (played around with all sorts of values - high/low), but that didn't work - didn't make a difference.
    Thx,

    Are you sure that your backend server was working fine i.e running and you can reach from your webserver.
    One thing you didn't mentioned was, whether your application is working or not. Generally this type of error comes when you r passthrough is not working properly or mis configured.

  • SOAPFaultException error while sending xml file to webservice

    hi I have a web service and client application.
    in my client application I am sending a xml file to web service. And it is getting xml and sending its content to database. I have two different xml file. One of them is always causing an error below. Please help thanks in advance.
    Exception in thread "AWT-EventQueue-0" javax.xml.ws.soap.SOAPFaultException: Unknown fault type:class java.lang.NoClassDefFoundError
    at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:171)
    at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:94)
    at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:240)
    at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
    at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
    at $Proxy29.loadXML(Unknown Source)
    at client.WSClient.sendXML2WS(WSClient.java:405)
    at client.Client.send2WS(Client.java:1806)
    at client.Client.btnSendActionPerformed(Client.java:1779)
    at client.Client.access$1000(Client.java:95)
    at client.Client$11.actionPerformed(Client.java:716)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6041)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    at java.awt.Component.processEvent(Component.java:5806)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4413)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2440)
    at java.awt.Component.dispatchEvent(Component.java:4243)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    The HTTP response 504 means that the server, acting as a gateway, has not received a response from an upstream server in the time it expected.
    I think this is problem is due to the remote server that receives the XML and takes too long to return a response to the local application that posted the XML.
    Try HttpClient and set the timeout variable of the HttpClient instance used.
    Here http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/examples/PostXML.java?revision=480424&view=markup
    a Post XML sample.
    NB: HttpClient > setTimeout method is deprecated. See : http://jakarta.apache.org/commons/httpclient/apidocs/index.html for an alternative
    Hope That Helps

  • Error while posting xml file to URL using URLConnection

    Hello everyone,
    I am facing an issue from long time related to URLConnection. If this would be resolved by your help then I would be very grateful to you.
    One application which posts xml file to URL hangs and after waiting for 5 mins it throws 504 error:
    java.io.IOException: Server returned HTTP response code: 504 for URL: http:hostname.
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:715)
    Same application is running fine without error on another environment from last 5 years. But on another env it is erroring out from the day 1.
    We have many workarounds in place none worked.
    I tried to use HttpClient from apache but that too hanged at URLConnection.getInputStream() method call.
    App is running on iPlanet web server 6.1 using JDK 1.4.0_03
    We still dont know why this program hangs at that particular line in only one env but many times it runs fine. That means 30% of the times it posts xml file without error but 70% times it errors out. So our program logic is to retry until post is successful.
    Once this issue is resolved we will remove the logic of trying again and agian.
    Please provide inputs.
    Thanks,
    Nitin

    The HTTP response 504 means that the server, acting as a gateway, has not received a response from an upstream server in the time it expected.
    I think this is problem is due to the remote server that receives the XML and takes too long to return a response to the local application that posted the XML.
    Try HttpClient and set the timeout variable of the HttpClient instance used.
    Here http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/examples/PostXML.java?revision=480424&view=markup
    a Post XML sample.
    NB: HttpClient > setTimeout method is deprecated. See : http://jakarta.apache.org/commons/httpclient/apidocs/index.html for an alternative
    Hope That Helps

  • OracleAS - NULL ProviderSession after 15 minutes (Using Oracle PDK Portlet)

    We have recently deployed an oracle pdk portlet java application (developed in JDeveloper 10.1.2.1) to an OC4J on a server running OracleAS 10g (9.0.4).
    We are currently facing issues where our ProviderSession becomes null after 15 minutes.
    In our jsp's we implement the following:
    PortletRenderRequest pReq = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    ProviderUser pUser = pReq.getUser();
    ProviderSession pSession = pUser.getSession(false); In our provider.xml file within our JDeveloper project/portlet we have set the following tag: <session>true</session>. In the provider itself, under the User/Session Information section, we have selected the User option, set the Login Frequency to Once Per Session and checked the box labeled 'Require portal user specific session information'.
    In our web.xml file within our JDeveloper project/portlet we have set the following tag: <session-config><session-timeout>35</session-timeout></session-config>
    As long as we stay within our portlet we don't seem to lose our ProviderSession, but after 15 minutes, if we try to access the portal page (to switch the language on the page for instance) the ProviderSession is null. This operation always works when we are under this 15 minute limit.
    We have tried to change opmn.xml (increasing OC4J start timeout from 900 seconds to 1200 seconds),
    modplsql conf (PlsqlIdleSessionCleanupInterval, changed from 15 to 30 minutes) and we have also tried disabling the Global Inactivity Timeout variables, but no luck as of yet.
    Any help would be much appreciated !
    Thanks

    HI
    i am also facing same problem with session but in simple portlet with ajax implementation.
    i am setting session in portlet jsp with following code using oracle application server portal 10g.
    (here portlet jsp means which is included from portlet.)
    session.setAttribute("map",map);(here session is implicit object )
    i want to call ajax jsp from portlet jsp with below code.(i.e setting session in portlet jsp and accessing in ajax jsp)
    var url = "<%=renderRequest.getContextPath()%>/AjaxProcessRequest.jsp?q=" + random;
    var pars = '&namespace=<portlet:namespace/>' +'&imagesPath=' + '<%=imagesPath%>';
    var myAjax = new Ajax.Updater(
    {success: 'emailbody'},
    url,
    method: 'get',
    parameters: pars,
    onFailure: reportError,
    evalScripts: true
    i am accessing map object from session in my AjaxProcessRequest.jsp as shown in below code.
    Map map=(Map)session.getAttribute("map"); (here session is implicit object )
    here map object is getting null from session.
    Please help on this if u know about this session.
    Regards
    Raju

  • Failure of server APACHE bridge::No backend server available for connection

    All,
    I have an env: Browser -> OHS -> WLS(Apex Listener) -> Oracle DB.
    If any SQL run for more than 5 mins, i get the below error.
    Failure of server APACHE bridge:
    No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.The only error i get is from the OHS's log
    [2013-04-03T06:45:57.2946-05:00] [OHS] [ERROR:32] [] [core.c] [host_id: aa050] [host_addr: 121.146.60.102] [tid: 1260554560] [user: oracle] [ecid: 004qNDJn1du7m3KaETn3ES0004Ll00001T] [rid: 0] [VirtualHost: my.team.com:443]  ap_proxy: trying POST /pls/apex/wwv_flow.show at backend host 127.0.0.1/7003; got exception 'Backend Server not responding'; state: reading status line or response headers from WLS (wrote? Y read? N); not failing over because method not idempotent, referer: https://my.team.com/pls/apex/f?p=4500:1003:16571271664493::NO:::Is there a timeout variable other than the below in WLS?
    Session Timeout (in seconds): 3600 .
    TIA,
    JJ

    Regardless of the version, this is not exactly a "Forms" failure. This is an issue between OHS and WLS. Basically it means that OHS (via mod_wl_ohs) was unable to communicate with WLS_FORMS (or whichever managed server you are trying to access). Most often this means the managed server is not running or not responding. If you believe it is running and is responsive (test by hitting it directly) then the problem is probably related to your installation. Generally, if you have not properly configured your networking before you installed WLS and FMw, then this can occur. For example, on Windows machine which do not have static IP addresses, the Installation Guide instructs you to install the Windows loopback adapter and configure it. If you did not do this, OHS likely will not be able to contact WLS_FORMS.
    You can test what I have described above by attempting to access WLS_FORMS directly. For example:
    http://yourHost:9001/forms/frmservlet
    If that works, the issue is probably related to a net config issue.
    If you have access to MyOracle Support, refer to these notes:
    <blockquote><li>Failure Of Server APACHE Bridge After Running Report From Forms 11gR2 on Windows 64-bit platform (Doc ID 1457845.1)
    <li>Oracle Fusion Middleware 11g - Troubleshooting the Error "Failure of server APACHE bridge" (Doc ID 1304095.1)</blockquote>
    The product Documentation Library can be found here:
    http://docs.oracle.com/cd/E24269_01/index.htm

  • SMB Symlinks Showing as 0kb on Windows PCs

    Hello again everyone.  After my previous post on problems with wide symlinks and how to fix that finally resolved I now have another irritating issue I can't seem to put my finger on. 
    Seems that shares I have hosted off my Mac Pro over SMB are now randomly showing as 0kb files when I connect on windows machines.  The kicker is there is NO pattern (That I've found yet) to what files/folders show up as 0kb AND even though they are showing up as 0kb if its a file and I double click it it will actually open.  If its a folder Windows states that it doesn't know how to open it.  I've tried everything under the sun to try and fix this:
    •Checking file permissions on my Mac
    •Tried changing how drives are shared on my Mac
    •Trying different user accounts on both mac and pc
    •Trying LAN vs WAN smb access
    •Trying on multiple different PCs with XP,Server 2008,and Win 7
    •Trying a different directory / drive the symlinks are on
    •Remaking the symlinks
    •Adjusting network card settings on both mac and pc (MTU, duplex, etc)
    If I connect via SMB or AFP with another mac to my mac pro everything works fine.  Its only if I use Windows that this random behavior occurs.  Sometimes a folder with 600 symlinks will only show 5 folders as 0kb.  Sometimes it'll show half of them as 0kb and inaccessible.  Its completely random.  It just is so odd that the files that show as 0kb still open!  Its like Windows is not correctly mapping the symlink to the actual file.  None of this started happening until Lion was installed so I know it once again has something to do with the wonderful new Apple made Samba they are now using.  Not sure if I need to adjust some timeout variable in the com.apple.smbd.plist file or maybe a setting on windows IDK.
    But I need all of your help again.  Anyone else experience this?  Try making a bunch of symlinks off a bunch of drives (like hundreds/thousands) and put them in one folder and share that folder out on a mac via SMB connecting to it from a Windows box.  Any of the symlinks show as 0kb? 
    Here is an example of what I'm talking about:
    The files showing as 0k with a Cone will open in VLC as they are files.
    The files showing as 0k with a generic windows icon are actually symlinks of folders and DO NOT open.
    Any help would be much appreciated. 
    Thanks.

    Verify that none of those files use characters in their filename that are not allowed for paths in Windows: http://windows.microsoft.com/en-US/windows-vista/File-names-and-file-name-extens ions-frequently-asked-questions#
    Alternately - make sure that there are no trailing spaces on any of the filenames - this has caused me some grief in the past.

  • Please help: I need a "sleep" program

    Hi!
    I need an ABAP program which will start, then 'sleep' (i.e.do nothing) for
    5 minutes, and eventually exit with a message like 'I wake up' on the screen.
    Please help. Points guaranteed. Thanks!

    Check this out.  This uses the gui timer, so it will not hold up your dialog process, it will count till the timer runs out and give a message.
    REPORT  zrich_0001.
    DATA: gui_timer TYPE REF TO cl_gui_timer.
    DATA: timeout TYPE i VALUE '3'.
    CLASS lcl_event_handler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS: on_finished FOR EVENT finished OF cl_gui_timer.
    ENDCLASS.                   
    CLASS lcl_event_handler IMPLEMENTATION.
      METHOD on_finished.
        MESSAGE i001(00) WITH 'Hey, its been 3 seconds, im done'.
      ENDMETHOD.                  
    ENDCLASS.                  
    PARAMETERS : p_check TYPE c.
    AT SELECTION-SCREEN OUTPUT.
      CREATE OBJECT gui_timer.
      SET HANDLER lcl_event_handler=>on_finished FOR gui_timer.
      gui_timer->interval = timeout.
      CALL METHOD gui_timer->run.
    To increase the time, simply change the value of the TIMEOUT variable to the desire number of seconds.
    Regards,
    Rich Heilman

  • How does data enter/leave the ni4351(pci) buffer?

    I have recently begun using an ni4351(pci) for data acquisition. I'm using VC++ on a Win95 system. I've been digging through the documentation for the ni435x instrument driver, but I can't locate an anwer to the following question: How does the buffer for the analog input scans work?
    It's stated in the instrument driver help that if the function to set the number of scans is not called, then acquisition will be continuous. My questions all revolve round the concept of continuous acquisition. I believe that I understand what's going on until i look at the fcns that read/check the acquisition.
    What is the purpose of the timeout variable? I undertand its general purpose, but it seems (to me) that we must pass a ti
    meout variable to functions that should never time out (e.g. check and read which only returns data that has already been collected).
    How is data written into the buffer? is it sequentially added? (e.g. the first data point is buffer[0] and the last would be buffer[999] in a 1k element buffer?) or maybe the most recent acquisition is stored in buffer[0] and older data gets bumped back?
    What happens to the data after a read (or check and read) has been performed? is the buffer cleared? does the data keep getting entered sequentially as if nothing has happened?
    I apologize if this is in a document somewhere on your site. Thanks in advance for your help.

    Data is written into the buffer sequentially. The buffer that the data is written to is a circular buffer. When the values are read into your program as an array, the first point that was acquired will be first in your array. The following tutorial explains what going on in hardware during a continuous acquisition:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/F2DDCBAD754C687C86256802007B8514?opendocument
    I hope this answers your questions, feel free to post again if it doesn�t.
    Best Regards,
    Doug K
    Application Engineering
    National Instruments

  • Ad Hoc Query Designer - Web Application

    Hello,
    I have created a Web application that has the 'Ad-Hoc Query Designer' item.
    When I go to create a new query I don't have the option (or I can't find it) to use any variables.
    Like in Analyzer I can run a query and it will ask me the values for the variables I have embedded in the query.
    How do I make that work using the 'Ad-Hoc Query Designer'
    Also I have problems with the application timing out, what timeout variable needs to be adjusted?
    Thanks,
    Nick

    You have to run the Launch query in browser from the query designer window, it will be the second icon from the top. This will open up the query in a browser and if the query has a selection screen the browser will launch the selection screen.
    For the application timing out, it is a parameter that has to be set in the instance profile of the BI application server. You can ask your basis team to increase the parameter 'rdisp/j2eetimeout'.
    Hope this helps
    EmJay
    Assign points if helpful

  • Lighthouse Approvals not timing out

    I'm running into a problem where my lighthouse approvals are not timing out. I've declared the timeout value and I'm only transitioning onto the success path if the return from the approvals.approved variable is set to true. My problem is that the approval never times out, nor does it escalate if an escalator is declared.
    Has anyone run into this before? Is there something in the Lighthouse Approvals that I need to change for this to work? Any help would be greatly appreciated
    <Activity id='8' name='Director Approval'>
    <Action id='0' process='Lighthouse Approvals'>
    <Variable name='allApprovals' value='false'/>
    <Variable name='approvalTemplate' value='UserForm-DirApproval'/>
    <Variable name='approvalForm' value='UserForm-RoleApproval'/>
    <Variable name='user' value='$(userView)'/>
    <Variable name='authorized' value='true'/>
    <Variable name='subject' value='Configurator'/>
    <Variable name='approvals'>
    <rule name='RuleLibrary:Get Approval Role'/>
    </Variable>
    <Variable name='additionalApproversList'>
    <list>
    <ref>director</ref>
    </list>
    </Variable>
    <Variable name='timeout' value='3'/>
    <Return from='approvals.approved' to='DirApproval'/>
    </Action>
    </Activity>

    I found that if I make the timeout variable external rather than input in the Multi Approval subprocess that it works. It looks like the Lighthouse Approval calls the multi approval subprocess, but wasn't passing the timeout value to it correctly.

Maybe you are looking for

  • Search on text with diacritic, and case insensitive

    Hello to all, I'm using this condition in a query on XML: field[contains(@value, "gangesa" ) If @value= 'Gaṅgeśa' I'd like to get this record also by using the word: "gangesa" So I need to map: ṅ = n ś = s And do it in case insensitive. Somebody can

  • Fault Handling when Invoke fails

    Hi, I have an task in Error Handling. I have a BPEL which has 3 Oracle apps Adapters. I need to handle errors when the invoke to the adapter fails. I have added 3 different scopes anc an empty catch. I dunno how to proceed futher. Please give me some

  • STO Configuration by many plants with same receiving Plant

    Dear All Good Morning,,,,,,, Kindly discuss with me regards STO Process My requirement is to STO Supplying plant more than one and Receiving Plant is only ONE. Now I need to know whether its possible to configure above requirement in SAP and processi

  • Constantly getting "Do Not Disconnect"

    Hi, OK so I have a video ipod 60gb. I keep getting the DO NOT DISCONNECT thing flashing on my screen as soon as i connect it to the usb. I have uninstalled the usb port, reinstalled it, same thing happens. I have erased itunes and reinstalled it, sam

  • Network Adapter could not establish the????

    I am trying to connect or oracle9i server using a simple jdbc program i am getting the following error can anyone please help me java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at oracle.jdbc.dbaccess.DBErr