Inbound data exchange session problem

Hi All,
Is there anyway to update an alert in OEM using the inbound data exchange session rather than through the web console?
I have managed to create a new alert/event in Enterprise manager 10.2.0.3 using the inbound data exchange session as detailed in the OEM Integration guide 10g release 3. This alert can be seen in the OEM web console.
My problem is that i also want to be able to close or update this alert through the inbound data exchange session and not through the web console.
Can anyone help?

Is it now in the same documentation ? Sorry I have not checked. I would want to know you solution when you get it

Similar Messages

  • Meet a problem of data exchange for sale order from CRM to R3.

    Dear Friends:
          I do the data exchange for sale oder from to R3 today , the problem's detail is as follows:
          When i save a sale order in CRM (Version is 5.0) . it can automatically generate a bdoc which bdoc type is BUS_TRANS_MSG. but the bdoc status alway is "Sent to receivers (not all have confirmed)". and the original order in CRM can not be change .it quote that "Document is being distributed - changes are not possible",  so i check the order status analysis in detail .it presents two error messages ," Event 'BEFORE_CHANGE', attribute '     FINI': Error code for function module 'CRM_STATUS_BEFORE_COMPLETED_EC' , "Item is not yet completed in OLTP system".  so i check  the order in R/3 ,it has already been create and without any error messages.
       Would like to tell me how to solve it . thanks your any idear..

    Hi Benjamin,
    When performing uploads to R/3 from CRM there is a response from the OTLP system that is sent back to the CRM Middleware to confirm that the data records were received and processed correctly. 
    Here is a checklist you can run through to verfiy that the connections, systems and objects that are needed are all in place:
    <b>On R/3 system:</b>
    - Check R/3 outbound queue (transaction SMQ1) for any entries that are not reaching CRM.
    - Check that all RFC destinations on R/3 are defined correctly and are pointing to CRM
    - Check the CRMCONSUM table in R/3 to ensure CRM is registered as a consumer
    - Check the CRMRFCPAR table in R/3 to ensure that order objects are valid for exchange between R/3 and CRM
    - Check for any short dumps in R/3 (ST22/ST21)
    <b>On CRM:</b>
    - Are there entries stuck in the inbound queue (SMQ2) with R3AU* names?
    - What does the CRM Middleware Trace show (SMWT)?  Sometimes this has more detail than the specific BDoc overview (SMW01)
    - Check for short dums in CRM (ST22)
    Let us know what else you uncover and we can work from there.
    Brad

  • Managed bean/Data exchange between two ADF Rich Faces based applications

    Hi,
    I have been trying to research what seems to be a small issue. My requirements are as follows.
    1. I need to be able to pass managed bean information from one ADF Rich Faces based application to another (in two separate ears) at runtime (e.g. from Ear1: SenderApp/Sender.jspx -> Ear2: ReceiverApp/Receiver.jspx).
    2. I do not want to use the database as my applications need to be performant.
    3. Serialization/de-serialization would fall pretty much under the database category. In other words, I like to avoid Serialization/de-serialization of the managed bean.
    4. I cannot use query string due to security issues.
    My question is as follows:
    1. Is there any standard/architecture/best practices for data exchange of backing beans or other forms between two ADF Rich Faces based apps (in two separate ears)?
    2. Has someone found anything similar to an applicationScope that works across applications?
    I would appreciate any ideas.
    Thanks very much,
    Edited by: user11219846 on Jul 23, 2009 2:38 PM
    Edited by: user11219846 on Jul 23, 2009 2:42 PM

    Hi,
    its not an ADF Faces problem, but not possible in Java EE. You can however fallback to vendor specific implementations like in WLS. From the WebLogic documentation : http://e-docs.bea.com/wls/docs103/webapp/sessions.html
    Enabling Web applications to share the same session*
    By default, Web applications do not share the same session. If you would like Web applications to share the same session, you can configure the session descriptor at the application level in the weblogic-application.xml deployment descriptor. To enable Web applications to share the same session, set the sharing-enabled attribute in the session descriptor to true in the weblogic-application.xml deployment descriptor. See “sharing-enabled” in session-descriptor.
    The session descriptor configuration that you specify at the application level overrides any session descriptor configuration that you specify at the Web application level for all of the Web applications in the application. If you set the sharing-enabled attribute to true at the Web application level, it will be ignored.
    All Web applications in an application are automatically started using the same session instance if you specify the session descriptor in the weblogic-application.xml deployment descriptor and set the sharing-enabled attribute to true as in the following example:
    +<?xml version="1.0" encoding="ISO-8859-1"?>+
    +<weblogic-application xmlns="http://www.bea.com/ns/weblogic/90";;>+
    +...+
    <session-descriptor>     
    +<persistent-store-type>memory</persistent-store-type>+
    +<sharing-enabled>true</sharing-enabled>+
    +...+
    +</session-descriptor>+
    +...+
    +</weblogic-application>+
    Frank

  • Session problem in ADF BC

    We have an application developed in Jdev 10.1.3.4 (JSP, Struts, ADF BC) and running on OAS. Now we have a big problem with session, hope somebody can help with some ideas.
    We set session time to 45 min in the web.xml. The problem is that sometimes some user work on a page with form,for instance performing some edit activity. If he/she leave the page open inactive for more than 45 minutes and come back from lunch, press the ’save’ button, the application would then commit the change to the wrong row in database, most probably the top row in the View Object(VO) instance. This is because the application module actually does a rollback when session expires, it loses all user data.(e.g. row currency in VO instance).
    To avoid saving wrong data to the wrong place, we implemented a session Filter(see att. Below: ApplicationSessionExpiryFilter.java) to catch session time-out and forward request to an error page alerting user that their session has expired due to long time of inactivity. The Filter works as it should but it gives another problem. If user already has one of our application page open for very long time and open another page in a new browser (e.g. click a link from an email), he/she will get session-expire error immediately in the new browser. I guess it is because the session in the first browser already expires and the newly opened the browser shares the same session with the first one. That is how browsers works, we can do nothing about it.
    But our users are of course not very happy about getting the session errors in a newly opened browser. So we tried implementing a heartbeat funtion in AJAX(see att. Below: Heartheat.html and Template.jsp) to keep the session alive until the page is closed. Basically what we do is adding an invisible div tag in every jsp page and invoke AJAX funtion to periodically update the div tag with a small html page. In this way, a request is being sent to the server every 5 minutes thus the session should be kept alive until the page/browser is closed.
    It sounds to us like a very logical solution but it doesn’t work very properly. We sometimes still get the session error page immediately after opening a new page while we have another page open for long time.
    Could anyone please help to look at our Filter and heatbeat funtion? Is there anything wrong with our Filter or the heartbeat? Why does the session still expire before we close the page?
    All we do here is to try to avoid the initial probelm with saving data after session and the application module expires. If anyone has a better solution to this problem, we would very much like to try. Appreciate if anyone can share some ideas!
    Thanks in advance!
    *1. ApplicationSessionExpiryFilter.java*
    public class ApplicationSessionExpiryFilter implements Filter {
    private FilterConfig _filterConfig = null;
    public void init(FilterConfig filterConfig) throws ServletException {
    _filterConfig = filterConfig;
    public void destroy() {
    _filterConfig = null;
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws IOException, ServletException {
    HttpServletRequest httpRequest = (HttpServletRequest)request;
    boolean sessionInvalid = false;
    if(httpRequest.getRequestedSessionId() != null) {
    if(!httpRequest.isRequestedSessionIdValid()) {
    if (!httpRequest.getRequestURI().endsWith("sessionExpired.do")) {
    sessionInvalid = true;
    if (sessionInvalid) {
    ((HttpServletResponse) response).sendRedirect(_filterConfig.getInitParameter("SessionTimeoutRedirect"));
    else {
    chain.doFilter(request, response);
    *2. Heartheat.html* (A small html page to be invoked by template.jsp periodically)
    <html>
    <head>
    <META Http-Equiv="Cache-Control" Content="no-cache, must-revalidate">
    <META Http-Equiv="Pragma" Content="no-cache">
    <META Http-Equiv="Expires" Content="Expires: Mon, 26 Jul 1997 05:00:00 GMT">
    </head>
    <body>
    heartbeat to keep session alive!
    </body>
    </html>
    *3. Template.jsp* (Template page to be extended by all jsp pages, invoke heart.html every 5 min)
    <Html>
    <body>
    <div id="heartbeat" style="display:none">
    </div>
    <script type="text/javascript" language="javascript">
    new Ajax.PeriodicalUpdater('heartbeat','jsp/template/heartbeat.html',{ method: 'post', frequency: 300, decay: 1 }); // update heartbeat.html every 300 sec(5min)
    </script>
    </body></html>

    Hi Shay,
    Reviewing ADFContex methods it seems that this object shouldn't be accessible from BC. Example:
    public static ADFContext initADFContext(java.lang.Object context,
                                            java.lang.Object session,
                                            java.lang.Object request,
                                            java.lang.Object response)
        Initializes the ADFContext for the environment of the specified context.
        Parameters:
            context - the ServletContext or PortletContext of the current execution environment.
            session - the HttpSession or PortletSession of the current execution environment. OPTIONAL.
            request - the HttpServletRequest or PortletRequest of the current execution environment. OPTIONAL.
            response - the HttpServletResponse or PortletResponse of the current execution environment. OPTIONAL.
        Returns:
            the ADFContext that was current when init was invoked. Should be passed back to resetADFContext after the block requiring the ADFContext has completed.Kuba

  • Synchronous data exchange over JCaps without TCP/IP or WebService...

    Hi all,
    the subject may sound like a little crazy request, but that is what we actually need.
    Just to explain: we have a SAP R/3 system running (v. 4.72) which is not able to call Web Services and is also not able to open a TCP/IP-connection to a foreign host to exchange data.
    But what we need is a synchronous data exchange as, after pressing a button in SAP, we should query some database tables of another sub-system with JCaps and send back the received information to SAP.
    Do you have any ideas out there how this synchronous request from SAP to JCaps can be fullfilled with JCaps (our version is 5.1.3)?!
    We thought about using a HTTP server on the JCaps side, where SAP just sends a HTTP-request on the specified address and then we could use the data received from this call, to get data from the sub-system and then send it back to SAP over an RFC or something similar - that is the easier part (sending data back to SAP). The harder part, in my opinion, is to create a possibility for SAP to call JCaps immediately - so not asynchron, which we already implemented over a file export...
    So, is it possible to use HTTP-server from JCaps for our needs?! Or is there another, easier possibility?!
    Any help highly appreciated...
    Regards
    Bernhard Böhm

    Hi Chris,
    thanks for the input - we also have a similar thing running, also using our BW-Server (SAP ERP 6.0) as the "web service engine"....
    But now, we want a solution without another server (like the BW in the upper case) involved!
    So, we thought about using HTTP-server on the JCaps-side which should be invoked by a simple HTTP-request from SAP (also possible in 4.72).
    Now I tried to setup a simple HTTP-Server project in JCaps 5.1.3 and it is making me crazy right now...
    I just do not get it to work - all I would do is a simple JCD that just print a line in the log-file when started. The JCD has just a "processRequest"-method from HTTPS-Server-eWay. In the connectivity map I did set up the connection to the HTTP-Server with the servlet-url-name - property:
    http://localhost:18001/dpListenHTTP_servlet_HttpServerServlet (like described in the userGuide).
    But when trying to build the project I get this error:
    com.stc.codegen.framework.model.CodeGenException: code generation error at = HTTP_Listen_cmListenHTTP_jcListenHTTP1 - HTTP Server e*Way Code GeneratorProblem creating war: C:\temp\dpListenHTTPprj_WS_serTestHTTP\12217262314811\WEB-INF\classes\..\dpListenHTTP_servlet_http:\localhost:18001\dpListenHTTP_servlet_HttpServerServlet.war (The filename, directory name, or volume label syntax is incorrect) (and the archive is probably corrupt but I could not delete it)
         at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1569)
         at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:405)
         at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:308)
         at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:268)
         at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:923)
         at com.stc.codegen.driver.module.DeploymentBuildAction.access$1000(DeploymentBuildAction.java:174)
         at com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:599)
         at org.openide.util.Task.run(Task.java:136)
         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
    Caused by: Problem creating war: C:\temp\dpListenHTTPprj_WS_serTestHTTP\12217262314811\WEB-INF\classes\..\dpListenHTTP_servlet_http:\localhost:18001\dpListenHTTP_servlet_HttpServerServlet.war (The filename, directory name, or volume label syntax is incorrect) (and the archive is probably corrupt but I could not delete it)
         at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:509)
         at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:302)
         at com.stc.codegen.frameworkImpl.model.util.AntTasksWrapperImpl.war(AntTasksWrapperImpl.java:404)
         at com.stc.connector.codegen.httpserveradapter.HSEWCodelet.generateFiles(HSEWCodelet.java:608)
         at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:640)
         at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1546)
         ... 8 more
    Caused by: java.io.FileNotFoundException: C:\temp\dpListenHTTPprj_WS_serTestHTTP\12217262314811\WEB-INF\classes\..\dpListenHTTP_servlet_http:\localhost:18001\dpListenHTTP_servlet_HttpServerServlet.war (The filename, directory name, or volume label syntax is incorrect)
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at org.apache.tools.zip.ZipOutputStream.<init>(ZipOutputStream.java:252)
         at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:407)
         ... 13 moreAnyone any idea how to set up a HTTP-server-project?!
    Thanks and regards
    Bernhard Böhm

  • How to track data exchange

    Hi All,
    I am working on a load generator application where i record client interactions(request and response objects) in XML serialized form.
    Now i want to replay those recorded stuff. I am able to replay simple
    calls(requests) using reflection APIs.
    But the problem comes when i have to use data returned by one call in a later stage in another call. So there should be some mechanism to track data
    exchange while recording and use this tracking mechanism while replaying?
    I think might be i need some HashMap type structure but not sure !:)

    Thanks Roy.
    JMeter deals with Web Applications but not ejb application clients
    I have recorded ejb calls in XML serialized form. When i was going to replay those recorded scenarios, i found a very
    big problem. The problem is divided into 3 cases:
    /*Case1:*/
    Var x = func1.a ();
    …. // Some intermediate statements
    func2.b (a, b, x);
    /*Case2:*/
    func2.b(a, func1.a(), b);
    /*Case3:*/
    Var x = func1.a();
    …. // Some intermediate statements
    Variable x is updated
    func2.b(a, b, x);During replay of those recorded calls
    You can see the values returned by func1 call(it was already recorded) have
    been used in func2(this call is already been recorded) in 3 different ways.
    I have to find these correlations during runtime (replaying of those recorded calls) and have to pass these dynamic values returned by func1 to func2 instead of those values which are in recorded script.

  • How to keep the date in session

    Hi all,
    I am involved in a struts project where i had the following requirement. I had a search page where there are some fileds including a date field. For the date field i had 5 options like =,<=,>= and between. The problem i am facing is when i select the between option. When i go for the between option, i had to fill the from date and to date.Once i submit this search page i go for the results page.And when i come back to the search page by clicking the browser back button, i am not able to see the date in the to field. The field is completely dissapearing and again i had to fill the field. Is there anyway i can keep both the to and from fields with their data in session so that when i come back from the results page i can still see the data in these date fields.
    Thnks in advance...,,

    And when i come back to the search page by clicking the browser back button, i am not able to see the date in the to fieldWhen you click the back button it goes to the browser cached version of the page.
    Why do you think that would include the current session value?
    Provide a back link and regenerate the page, and you might get what you want.

  • How to use the (gigabit) ethernet for data exchange and WLAN for Internet?

    I have following setup:
    - MB Pro SL 10.6
    - Desktop PC Windows 7
    - Wireless Printer
    - Netgear WLAN Router
    At the moment all my data and internet communication is done via the WLAN router on 192.168.1.x That works fine and I can exchange data, print and surf the internet. My problem is that big data exchanges > 10GB take ages via my 54Mbit WLAN Connection. Furthermore the WLAN router is far away from the PC so that it is not possible to plug in the Ethernet Cable of the PC and the MB to the router.
    Now I've thought that there must be a possibility to use a 1 gigabit (cross) cable (like in the 90s ;)) to connect the MB and the PC directly. I know that I will need different IP ranges and so on, but I have no clue how to do that.
    The final solution should be that the setup stays as it is (data exchange, print, internet via WLAN) and that additional it is possible to connect PC and MAC some times for big transfers via a Gigabit ethernet cable. because I only want to connect those two machines I don't think that a switch makes any sense, or?
    Does someone know how to do that?
    Thanks a lot in advance!
    Message was edited by: whitepowder

    Well if it were 2 Macs, I would configure each Mac with a fixed IP address (same subnet as my router, but outside of the routers DHCP assignment range).
    I would give the same fixed IP address to both my Airport AND my ethernet interfaces. I would do the same to the other Mac using another fixed IP address.
    My network service order would have the ethernet higher than the Airport on both systems.
    Normally I would use WiFi, so ethernet would be idle and out of the loop.
    When I wanted faster transfers, I would connect each Mac to the router via their own ethernet cables, and the Mac would automatically detect that the ethernet became available, and would switch to use the faster ethernet. Since Airport and ethernet have the same fixed IP address, I could even do this in the middle of a file transfer and no one would notice as packets were always going to/from the same IP addresses, just using a different route, which doesn't matter.
    NOTE: I've been doing this on Macs since Mac OS X 10.3 days (or was it 10.2; to long ago to remember).
    However, you have thrown a Windows system into the mix, and since I do not use Windows, I do not have a clue about what can be done on Windows. However, maybe this will give you some ideas, and asking the right questions in a Windows oriented forum may provide the Windows side of this setup.
    Sorry, that is the best I can do. Maybe my reply will encourage someone else to offer their approach.

  • Track data exchange

    Hi All,
    I am working on a load generator application where i record client interactions(request and response objects) in XML serialized form.
    Now i want to replay those recorded stuff. I am able to replay simple
    calls(requests) using reflection APIs.
    But the problem comes when i have to use data returned by one call in a later stage in another call. So there should be some mechanism to track data
    exchange while recording and use this tracking mechanism while replaying?
    I think might be i need some HashMap type structure but not sure !:)

    What? I don't understand the question. What is the problem?

  • Data exchange between loops in different vi's

    hello,
    in the top level vi of my application i've got a daq.
    data from the daq is needed in a low level vi.
    both vi's are controled with queues.
    the problem is that i solve the data exchange with a global variable.
    i there any other solution to avoid global variables.
    markus

    here
    http://forums.ni.com/ni/board/message?board.id=170&message.id=163697
    we come up with multiple ways
    Hey, has this already been noted for the FAQ?
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Way to see data exchange history?

    Hello,
    We have a Pixi Plus on a prepaid plan that gives it a very limited amount of data per month (10MB).  Today I turned data on, sent two photos via MMS, and turned the data off.  After that activity, which should have burned a handful of KB's, I checked my data activity online, and I had burned through about 20MB - the 10MB the plan gives, plus an extra 10MB I had to pay for.
    Obviously, some other data exchange must have occurred besides *just* the sending of two photos.
    Wifi is on all the time, and the few apps the phone has had installed push notifications and updates, so I can't imagine there were updates in queue that got sent over 3G...
    But obviously, something happened.
    Is there a place to look within the phone itself that would show specifically *what* data was exchanged during that very short - but spendy - data session?  Something that would show which app is responsible, perhaps?
    Post relates to: HP TouchPad (WiFi)

    My guess would be you have the "Backup" app turned on...
    If so, the phone will try to back itself up entirely on a daily basis!
    In direct answer to your question, I do not know of a way to check what was transferred.  
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How implement function for CRM - R3 data exchange

    Hi gurus,
    I'm trying to implement sap note 686215 for CRM side.
    I've create the function module Z_CURRENT_STATE_BUPA_MAIN and insert the record
    into table CRMC_BUT_CALL_FU.
    But now i'dont know how to debug it.
    I've stop the crm outbound and when i save an order in crm and look the outbound bidoc i see:
             Function Module                 Queue Name                Destination                       Date        Time     
          BAPI_SALESDOCU_PROXY_UPLOAD     R3AUORDER_0045000548      QASCLNT100     03.02.2010  15:21:04 
    If i try to debug the FM BAPI_SALESDOCU_PROXY_UPLOAD of bidoc from TR smqs i don't find anything about CRMC_BUT_CALL_FU function modules.
    Any Help?
    Thanks in advance,
    Regards
    Davide

    Hi Davide,
    Not much sure about what exactly you are expecting? Are you trying to create a Data Exchange Scenario within SAP ECC and SAP CRM? Or are you trying to use any existing scenario to enhance it?
    To implement the data exchange between SAP CRM and ECC you need to perform a lot of steps and you need some more function modules.
    It would be good if you can specify more about your requirement as it will help a lot more to tackle the actual problem.
    Hope this helps.
    Thanks,
    Samantak.

  • WMI High CPU Usage on Hyper-V VMs - Related to Data Exchange Integration Service

    Title pretty much says it all.  Some of my VMs have high CPU and moderate usage going to the WMI Integration Service.  I have tracked it down to the Data Exchange Integration Service.  If I de-select the service under the VM configuration,
    everything works normally.  Has anyone seen anything like this yet?
    Thanks, TJ

    Hi,
    Could you provide more information about your environment. for example,What is the exact text of any error messages that you received associated with this problem?  The server version of the problem on, when you experience this issue what are you trying
    to do, when  this problem occurs the system log record information, screenshots is the best information.
    More information:
    Event Logs
    http://technet.microsoft.com/en-us/library/cc722404.aspx
    If you are using Server 2008r2 or 2008r2 SP1 please confirm your hardware environment is not same with the following Hotfix described:
    Performance decreases in Windows Server 2008 R2 when the Hyper-V role is installed on a computer that uses Intel Westmere or Sandy Bridge processors
    http://support.microsoft.com/kb/2517329
    Thanks.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SAP Crystal Reports data source connection problem using sap business one

    Hi,
    I m facing a problem regarding: SAP Crystal Reports data source connection problem using sap business one
    I am trying to create a Crystal report but when I try to configure a new connection it does not work.
    I select Sap Business One data source and try to complete the information required to connection but it does not list my companies databases, what is the problem?
    Our Current SAP related software details are as follows:
    OS: Windows Server 2008
    SAP B1 Version: SAP B1 9 (902001) Patch 9
    SAP Crystal Report Version: 14.0.4.738 RTM
    Database: MS SQL Server 2008 R2
    I have also added some screenshots of the issues.
    Please have a look and let me know if you have any questions or any further clarifications.
    I m eagerly waiting for a quick and positive reply.

    Hi,
    There is problem with SAP Business One date source.
    I had faced same problem, I used OLEDB Data-source, and it worked fine for me.
    So, try to use OLEDB.
    Regards,
    Amrut Sabnis.

  • How do I control a data log session with period and sample time?

    I need a data logging system where the operator can select 2 logging parameters: Log Period and Sample Time. I also need a START and STOP button to control the logging session. For example, set the log period for 1 hour and the sampling time for 1 second. (I may be using the wrong jargon here.) In this case when the START button is clicked, the system starts logging for 1 second. An hour later, it logs data for another second, and so on until the operator clicks the STOP button. (I will also include a time limit so the logging session will automatically stop after a certain amount of time has elapsed.)
    It’s important that when the STOP button is clicked, that the system promptly stops logging. I cannot have the operator wait for up to an hour.
    Note that a logging session could last for several days. The application here involves a ship towing a barge at sea where they want to monitor and data log tow line tension. While the system is logging, I need the graph X-axis (autoscaled) to show the date and time. (I’m having trouble getting the graph to show the correct date and time.) For this application, I also need the system to promptly start data logging at a continuous high rate during alarm conditions.
    Of course I need to archive the data and retrieve it later for analysis. I think this part I can handle.
    Please make a recommendation for program control and provide sample code if you can. It’s the program control concepts that I think I mostly need help here. I also wish to use the Strip Chart Update Mode so the operator can easily view the entire logging session.
    DAQ Hardware: Not Selected Yet
    LabVIEW Version: 6.1 (Feel free to recommend a v7 solution because I need to soon get it anyway.)
    Operating System: Win 2000
    In summary:
    How do I control a graphing (data log) session for both period and sample time?
    How do I stop the session without having to wait for the period to end?
    How do I automatically interrupt and control a session during alarm conditions?
    Does it make a difference if there is more than one graph (or chart) involved where there are variable sample rates?
    Thanks,
    Dave

    Hello Dave,
    Sounds like you have quite the system to set up here. It doesn�t look like you are doing anything terribly complicated. You should be able to modify different examples for the different parts of your application. Examples are always the best place to start.
    For analog input, the �Cont Acq&Chart (buffered).vi� example is a great place to start. You can set the scan rate (scans/second) and how many different input channels you want to acquire. This example has its own stop button; it should be a simple matter to add a manual start button. To manually set how long the application runs, you could add a 100 ms delay to each iteration of the while loop (recommended anyway to allow processor to multi-task) and add a control that sets the number
    of iterations of the while loop.
    For logging data, a great example is the �Cont Acq to File (binary).vi� example.
    For different sample rate for different input lines, you could use two parallel loops both running the first example mentioned above. The data would not be able to be displayed on the same graph, however.
    If you have more specific questions about any of the different parts of your application, let me know and I�ll b happy to look further into it.
    Have a nice day!
    Robert M
    Applications Engineer
    National Instruments
    Robert Mortensen
    Software Engineer
    National Instruments

Maybe you are looking for