Get Thread information in a Servlet

Hi,
I'm wondering if there is a way to get the running thread information in a Servlet, Something like an ID. For example, each time the Servlet receives a new request, the Servlet container will create a new thread to run the code, I want to know and log the information of this Thread.
Any ideas?
Thanks in advance

Not sure why you want to know what thread it is. The container multi-threads for you. If you want to store a value for use later in the thread, use ThreadLocal. If you want to spin off other threads, J2EE frowns on this, but you can do so. I'm not at all clear why the name or ID is important, since it is normally arbitrary and implementation-dependent on the J2EE container. If you are simply trying to log which thread is doing what, Log4J and the Logging API allow you to specify a pattern that will include the thread name without any coding on your part. So, I am having trouble understanding why you think you have this requirement.
- Saish

Similar Messages

  • Get Browser informations in JSP/Servlets

    How can I get informations (name...) about the browser who call my servlet ??
    Please help me

    Hi,
    Use the HTTP Request Headers
    eg, to get the browser request the User-Agent header
    request.getHeader("User-Agent");You can enumerate through headers
    Enumeration headers = request.getHeaderNames();
    while (headers.hasMoreElements()) {
    String name = (String)headers.nextElement();
    // the header name
    out.print(name + ": ");
    // the headers value
    out.println(request.getHeader(name));
    }Richard

  • How to get DBconnection from a custom servlet

    Hi all:
    In my JHeadstart Struts application, if we will using javascript to call a custom servlet program when some html event occur,
    than how can we get db connection in our Servlet because we need get some database data through this Servlet,
    we hope this Servlet can share dbconnection pool with JHeadstart that is consider for performance issue.
    thanks a lot !

    Ting Rung,
    JHeadstart is based on the Model-View-Controller (MVC) principle. This means that the Model layer is responsible for communication with the database (and thus database connection pooling). Accessing the database directly from a JSP or Servlet is against the principles of MVC. JHeadstart uses BC4J as the technology to implement the model layer. By going through an BC4J Application Module to do some database action (for example calling a stored procedure as you mentioned in another thread) you automatically get the database connection pooling.
    So, in the JHeadstart philosophy, we do not access the database from a servlet, instead we would do the following:
    - write a method on the BC4J app module that performs the database action
    - add a method to the apporpriate handler that calls this AM method
    - write a custom Struts action that calls the handler method
    Having said this, nobody will stop you from doing database access in a servlet. But JHeadstart might not be the right choice for you if you do not want to stick with the principles of MVC.
    Here is a link that provides you with some more background information about MVC, may be it can help you deciding what the best approach for your application is:
    http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/web-tier/web-tier5.html
    You can also "google" on model-view-controller if you like.
    Steven Davelaar,
    JHeadstart Team.

  • Error getting drill information in OBIEE 11.1.1.5

    Guru's,
    in OBIEE 11.1.1.5 I created a simple report with 3 columns: the year column from a time dimension table, a measure from a fact table and column from another dimension table. The report shows the results as expected. But when I try to drill down on a year I get the following error:
    Error getting drill information: SELECT "Time"."Cal Year" saw_0, "Requests"."Time"."Cal Half Name" saw_1, "Facts"."Requests" saw_2, "Merchant"."Merchantname" saw_3, DESCRIPTOR_IDOF("Requests"."Merchant"."Merchantname") saw_4 FROM "Requests" WHERE "Requests"."Time"."Cal Year" = 2010 =
    Error Details
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
    Odbc driver returned an error (SQLExecDirectW).
    +State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <=>: Syntax error [nQSError: 26012] . (HY000)+
    +SQL Issued: {call NQSGetLevelDrillability('SELECT "Time"."Cal Year" saw_0, "Requests"."Time"."Cal Half Name" saw_1, "Facts"."Requests" saw_2, "Merchant"."Merchantname" saw_3, DESCRIPTOR_IDOF("Requests"."Merchant"."Merchantname") saw_4 FROM "Requests" WHERE "Requests"."Time"."Cal Year" = 2010 = ')}+
    It also creates an empty filter condition when drilling down: *sawx:exprsawx:comparisonequal is equal to / is in  [missing value]      [Edit Filter]*
    Also notice the extra equal sign in the generated query which is causing the problem.
    The time hierarchy is set up correctly in the repository (with keys on the levels, etc.) and no preferred drillpath or anything special.
    If you have any hint or solution for this problem please let me know.
    Kind regards,
    Quinten

    I found out this occurs when you have 'double column' columns (columns with a Descriptor ID set in the repository) in your report. When you try to drill down on any dimension you will get this error. I reproduced this on the Sample App installation. This seems like a bug.

  • Can't get JDK information (rc=-1) [jstartxxi.c  1096] while starting the XI

    We are getting following error while starting XI Server
    I chanked environment (JAVA_HOME) it was fine.
    please advice me.
    trc file: "I:\usr\...\DVEBMGS01\work\dev_jcontrol", trc level: 1, release: "640"
    node name   : jcontrol
    pid         : 3960
    system name : xxx
    system nr.  : 01
    started at  : Thu Jan 04 21:10:32 2007
    arguments   :
        arg[00] : I:\usr\sap\..\DVEBMGS01\j2ee\os_libs\jcontrol.EXE
        arg[01] : pf=I:\usr\sap\..\SYS\profile\D01_DVEBMGS01_global
        arg[02] : -DSAPSTART=1
        arg[03] : -DCONNECT_PORT=2554
        arg[04] : -DLISTEN_PORT=2555
        arg[05] : -DSAPSYSTEM=01
        arg[06] : -DSAPSYSTEMNAME=xxx
        arg[07] : -DSAPMYNAME=global_xxx_01
        arg[08] : -DSAPPROFILE=I:\usr\sap\..\SYS\profile\xxx_DVEBMGS01_global
        arg[09] : -DFRFC_FALLBACK=ON
        arg[10] : -DFRFC_FALLBACK_HOST=localhost
    [Thr 3168] Thu Jan 04 21:10:32 2007
    [Thr 3168] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
    [Thr 1204] JControlDPMessageFunc: Thread 1204 started as handler thread for R/3 dispatcher messages.
    [Thr 3168] *** ERROR => JStartupIGetJDKInfo: Cannot find Java compiler [C:\j2sdk1.4.2_09;\bin\javac.exe]. [jstartxxi.c  874]
    [Thr 3168] *** ERROR => can't get JDK information (rc=-1) [jstartxxi.c  1096]
    [Thr 3168] *** ERROR => node [bootstrap] not found [jstartxx.c   1388]
    [Thr 3168] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc=-18)
    [Thr 3168] JControlCloseProgram: started (exitcode = -18)
    [Thr 3168] JControlCloseProgram: good bye... (exitcode=-18)

    I dont have directory, I set up parameter DIR_EVALUVATED to I:\usr\sap\D01\DVEBMGS01\j2ee\os_libs. Then I am getting following errors<br><br><br>
    <b>IN dev_rfc.trc error</b>
    T:2612 Error in program 'igsmux': ======> Connect to SAP gateway failed
    Connect_PM  TPNAME=IGS.D01, GWHOST=global, GWSERV=3301
    ERROR       internal error
                (this retcode should be handled by caller of NI-layer)
    TIME        Fri Jan 05 08:21:13 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -8
    MODULE      nixx.c
    LINE        666
    COUNTER     683<br><br>
    <b>IN dev_disp error</b>
    DP_FATAL_ERROR => Gateway could not be started - I better exit now
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    ERROR => DpWpKill: illegal pid (-1,5) [dpxxtool.c   2375]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1365
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 05 02:35:55 2007
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Fri Jan 05 07:35:55 2007
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA       -1 Run           no      0   0             0                                                             
    1 DIA       -1 Run           no      0   0             0                                                             
    2 DIA       -1 Run           no      0   0             0                                                             
    3 DIA       -1 Run           no      0   0             0                                                             
    4 DIA       -1 Run           no      0   0             0                                                             
    5 DIA       -1 Run           no      0   0             0                                                             
    6 DIA       -1 Run           no      0   0             0                                                             
    7 DIA       -1 Run           no      0   0             0                                                             
    8 UPD       -1 Run           no      0   0             0                                                             
    9 UPD       -1 Run           no      0   0             0                                                             
    10 ENQ       -1 Run           no      0   0             0                                                             
    11 BTC       -1 Run           no      0   0             0                                                             
    12 BTC       -1 Run           no      0   0             0                                                             
    13 BTC       -1 Run           no      0   0             0                                                             
    14 SPO       -1 Run           no      0   0             0                                                             
    15 UP2       -1 Run           no      0   0             0                                                             
    16 UP2       -1 Run           no      0   0             0                                                             
    Dispatcher Queue Statistics               Fri Jan 05 07:35:55 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    0
    2000
    0
    0
    --------++++--
    +
    DIA
    0
    0
    2000
    0
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          0
    wake_evt_udp_now     0
    wake events           total     0,  udp     0 (  0%),  shm     0 (  0%)
    since last update     total     0,  udp     0 (  0%),  shm     0 (  0%)
    Dump of tm_adm structure:               Fri Jan 05 07:35:55 2007
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Fri Jan 05 07:35:55 2007
    =============================
    Slots: 300, Used: 0, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1365
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jan 05 02:36:00 2007
    NiISelect: TIMEOUT occured (5000 ms)
    Shutdown server ...
    DpJ2eeDisableRestart
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    [DpWpDied] W0 handle not set (PID:-1)
    [DpWpDied] W1 handle not set (PID:-1)
    [DpWpDied] W2 handle not set (PID:-1)
    [DpWpDied] W3 handle not set (PID:-1)
    [DpWpDied] W4 handle not set (PID:-1)
    [DpWpDied] W5 handle not set (PID:-1)
    [DpWpDied] W6 handle not set (PID:-1)
    [DpWpDied] W7 handle not set (PID:-1)
    [DpWpDied] W8 handle not set (PID:-1)
    [DpWpDied] W9 handle not set (PID:-1)
    [DpWpDied] W10 handle not set (PID:-1)
    [DpWpDied] W11 handle not set (PID:-1)
    [DpWpDied] W12 handle not set (PID:-1)
    [DpWpDied] W13 handle not set (PID:-1)
    [DpWpDied] W14 handle not set (PID:-1)
    [DpWpDied] W15 handle not set (PID:-1)
    [DpWpDied] W16 handle not set (PID:-1)
    Stop work processes...
    Terminate gui connections
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    detach from message server
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 2384) [dpxxdisp.c   8495]
    Good Bye .....

  • Gcc 5.1: Failed to get gcc information.

    Running vmware workstation 11 and Archlinux with gcc 5.1:
    [root@dell-i7-mihamina mrakotomandimby]# vmware-modconfig --console --install-all
    Failed to get gcc information.
    [root@dell-i7-mihamina mrakotomandimby]#
    But gcc is:
    [mrakotomandimby@dell-i7-mihamina ~]$ gcc --version
    gcc (GCC) 5.1.0
    Copyright (C) 2015 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
    What to do?

    Actually, the problem is much more sinister...
    I have a better Arch linux debug and resolve thread for this problem:
    https://bbs.archlinux.org/viewtopic.php?id=196915
    In short, recompiling the kernel using the gcc 4.9 version works.
    Problem now, because arch is a rolling release, is gcc 5.1.0 is now in core - and the vmhgfs, while compiling, hard locks the VM.  I'm creating another vmware community thread for this one.  Will come back and edit this post with link.
    EDIT: Here's the thread to track gcc 5.1.0 progress with VMware Tools:
    Workstation 11.1, Tools 9.9.2 build-2496486: Not compatible with GCC 5.1.0 on linux (Arch, Debian, Ubuntu, etc)

  • Google cloud print for officejet pro 8600 - could not get printer information from hp.

    I just purchased a new OfficeJet Pro 8600 today. Everything seems to work great except for the connector to Google Cloud Print. I can print from AirPrint, as well as emails to the hpeprint.com address, but when I try to register via the google site, I receive the "could not get printer information from HP" error message.
    The printer is connected via wireless ethernet, and seems to work find otherwise. I have no restrictions on who can send print jobs, and I have changed the email address for hpeprint.com a few times, as suggested in other forum threads, but it can never connect to the the Cloud Print service. I am at the latest firmware level listed on the HP website. I have tried to initiate the connection from multiple PC's as well as multiple web browsers.
    This was a big factor in purchasing this printer. Help anyone?
    This question was solved.
    View Solution.

    Hey rch33k, I am sorry for the ongoing issue that you are having accessing Google Cloud Print. This is being looked into as this is not a singular issue and is affecting other customers as well.  Engineers are currently investing this problem to try and provide a solution to it.  I want to again apologize and thank you all for your patience in this matter.  They only other thing to attempt at this time is to contact Google for further assistance to see if anything can be done on their end. Hopefully this will be fixed quickly
    I am a former employee of HP...
    How do I give Kudos?| How do I mark a post as Solved?

  • How to get channel information using RDA

    I'm attempting to build my VIs in such a way that I have the user only supply the channel names while trying to get the device number using "Get Channel Information.vi". I found the "Virtual Channel Configurator.vi" on this site, which is fairly close to what I wanted.
    However there is one problem, I can't get Get Channel Information to work using RDA channels (error -10003). Is there a reason, or better, a solution for this?

    Dear Justin,
    I am having a similar problem as in this thread, I am sending a screen
    shot of the program I am using.  I am using  LabView 8, NI
    DAQmx 8, PXI-6259 Meries card. It is a real time remote system and not
    connected to my computer on which I am making the programs.
    I want the pulses to appear on the output terminal that I choose, but
    when I browse in the counter1(s), the global virtual channels that I
    made in the remote system  icon in Max do not appear?
    how can I make them appear so I can send the pulse signal to that output termainal?
    thanx.
    Attachments:
    mypic.jpg ‏2305 KB
    mypic1.jpg ‏2305 KB

  • I am a researcher looking for raw, ungrouped crash data. Specifically, I am looking for crash thread information which has yet to be grouped.

    I am a researcher looking for raw, ungrouped crash data. Specifically, I am looking for crash thread information which has yet to be grouped.

    I do not know the answer,but until you get a better answer try the links
    *http://code.google.com/p/google-breakpad/
    *http://socorro.readthedocs.org/en/latest/index.html
    *https://lists.mozilla.org/listinfo/tools-socorro

  • Extract HTML Meta information in the servlet ?

    Guys,
    I am using the following meta information in my HTML .
    <META HTTP-EQUIV="msisdn" CONTENT="99999999">
    <META HTTP-EQUIV="name" CONTENT="XXXXXXXX">
    However, I unable to extract the header information in my Servlet class using the
    String msisdn = request.getHeader("msisdn") and
    String name = request.getHeader("name");
    Can anybody please guide me ???

    No it is not a professional or meaningful(to you) reply. But I'd have to say its about what you deserved.
    You have to have patience on a forum like this. The community is not here to respond to your questions immediately. If you want an immediate answer, then you have to pay for one elsewhere. Bumping the topic after only 1/2 an hour demonstrates a lack of respect on your part, whereas if you had waited someone would probably eventually have taken a look at it, and known enough to give you a response. I would bump it after a day or two if nobody had responded.
    Its basic forum etiquette. Useful link on [how to ask questions the smart way|http://www.catb.org/~esr/faqs/smart-questions.html]
    'nuff said.
    Now with regards to your question, if I understand correctly the <meta> tags are the equivalent of response headers to the html. ie they are information sent to the browser to be used for rendering the page. Not bits of information to send with the next request.
    So having <META> tags on your page won't result in anything you can read in your servlet.
    Cookies are the normal way that you get the browser to send information to a server for you.
    Cheers,
    evnafets

  • Get client information

    Hello...
    I want to write servlet which get client information
    IP,OS,DATE,TIME,BROWSER,SCREEN SIZE, COUNTRY and send all information
    on server.
    If source code possible plzzz give me..
    thankx in advance...

    If you write a HttpServlet (just subclass it) you have the request as a HttpServletRequest. From this object you can get information such a browser etc. Try (inside your servlet code):
    PrintWriter out = res.getWriter();
    out.println("<HTML><BODY>");
    out.println("<H1>Client information</H1>");
    out.println("<B>Client address: </B>" + req.getRemoteAddr() + "<BR>");
    out.println("<B>Client host: </B>" + req.getRemoteHost() + "<BR>");
    out.println("<B>Client user: </B>" + req.getRemoteUser() + "<BR><BR>");
    out.println("<B>Server name: </B>" + req.getServerName() + "<BR>");
    out.println("<B>Server port: </B>" + req.getServerPort() + "<BR>");
    out.println("<B>Requested URL: </B>" + req.getRequestURL().toString() + "<BR>");
    out.println("<B>Path info: </B>" + req.getPathInfo() + "<BR>");
    out.println("<B>Method: </B>" + req.getMethod() + "<BR>");
    out.println("<B>Protocol: </B>" + req.getProtocol() + "<BR>");
    out.println("<B>Query string: </B>" + req.getQueryString() + "<BR><BR>");
    out.println("<B>Session ID: </B>" + req.getRequestedSessionId() + "<BR>");
    out.println("<B>Valid session: </B>" + req.isRequestedSessionIdValid() + "<BR>");
    out.println("<B>Secure connection: </B>" + req.isSecure() + "<BR>");
    out.println("<B>Authentication type: </B>" + req.getAuthType() + "<BR>");
    out.println("<B>Character encoding: </B>" + req.getCharacterEncoding() + "<BR>");
    out.println("<B>Content length: </B>" + req.getContentLength() + "<BR>");
    out.println("<B>Content type: </B>" + req.getContentType() + "<BR>");
    out.println("<B>Context path: </B>" + req.getContextPath() + "<BR>");
    out.println("</BODY></HTML>");
    Where req and res are the HttpServletRequest and HttpServletResponse objects passed to your servlet with doGet() or doPost().
    If if doesn't work out for you - give me you e-mail and I'll send over a complete example. Please notice that screen resolution etc. isn't available in the request object. For that you need to get them with for example JavaScript and then send then as parameters to the servlet.
    Good luck!

  • HT2534 Keep getting billing information not available try later on my account

    Keep getting billing information not available. Try again later on my account

    If you are in Australia then other people are reporting the same problem e.g.
    https://discussions.apple.com/thread/5267688?tstart=0
    I'm not sure if it's affecting people in other countries as well

  • Threading concepts used in servlet programming

    Hello Everybody,
    I have rquirement like .. three servlets are there in my application..by using threading concept only one servlet should get chance ..reaming two are in lock mode till first servlet finishes.
    Any body having idea on this requirement plz help me..If any body having examples related to this ..plz post here.
    Thanks In advance.
    regards,
    Anil.

    I have rquirement like .. three servlets are there in my application..by using threading concept only one servlet should get chance ..reaming two are in lock mode till first servlet finishes.That is an unreasonable requirement, and will end up breaking your web-app the first time it gets accessed by more than one user (ie, you won't see the problem during development, probably not during QA, then you'll get a call as soon as it hits production).
    Why do you think you need this requirement?
    Are the servlets supposed to be executed in a particular order? That can be handled via coding.
    Do they make use of a shared resource? That can be handled by controlling access to the resource. I will note that most shared resources do not need long-term atomicity, and databases already provide it.

  • I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.

    I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.
    In particular, I am analyzing the example "Even Angle Reference Signal Processing (Digital Tacho, DAQmx).vi", whose documentation I am reproducing in the following:
    <B>DESCRIPTIONS</B>:
    This VI demonstrates how to extract even angle reference signals and remove the slow-roll errors. It uses DAQmx VIs to acquire sound or vibration signals and a digital tachometer signal. This VI includes a two-step process: acquire data at low rotational speed to extract even angle reference; use the even angle reference to remove the errors in the vibration signal acquired at normal operation.
    <B>INSTRUCTIONS</B>:
    1. Run the VI.
    2. On the <B>DAQ Configurations</B> tab, specify the <B>sample rate</B>, <B>samples per channel</B>, device and channel configurations, and tachometer channel information.
    <B>NOTE</B>: You need to use DSA PXI-447x/PXI-446x and PXI TIO device in a PXI chassis to run this example. The DSA device must be in slot 2 of the PXI chassis.
    3. Switch to <B>Extract Even Angle Reference</B> tab. Specify the <B>number of samples to acquire</B> and the <B># of revs in reference</B> which determines the number of samples in even angle reference. Click <B>Start</B> to take a one-shot data acquisition of the vibration and tachometer signals. After the acquisition, you can see the extracted even angle references in <B>Even Angle Reference</B>.
    4. Switch to the <B>Remove Slow-roll Errors</B> tab. Click <B>Start</B> to acquire data continuously and view the compensate results. Click <B>Stop</B> in this tab to stop the acquisition.
    <B>ORDER ANALYSIS VIs USED IN THIS EXAMPLE</B>:
    1. SVL Scale Voltage to EU.vi
    2. OAT Digital Tacho Process.vi
    3. OAT Get Even Angle Reference.vi
    4. OAT Convert to Even Angle Signal.vi
    5. OAT Compensate Even Angle Signal.vi
    My question is: How is the synchronization produced at the time of the compensation ? How is it possible to eliminate the errors in a synchronized fashion with respect to the surface of the shaft bearing in mind that I am acquired data at a low rotation speed in order to get the "even angle reference" and then I use it to remove the errors in the vibration signal acquired at normal operation. In this application both operations are made in different acquisitions, therefore the reference of the correction signal is lost. Is it simply compensated without synchronizing ?
    Our application is based on FPGA and we need to clarity those aspects before implementing the procedure.
    Solved!
    Go to Solution.

    Hi CracKatoA.
    Take a look at the link bellow:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=255126&requireLogin=False
    Regards,
    Filipe Silva

  • How to restore deleted playlists to an itouch after syncing with wrong device. Tried to search for device to restore under devices and it completely removed it as a device on itunes. Is there anyway to get the information back?

    To start we have several users and devices on our itunes account....Several weeks ago I was using my itouch to create playlists for a few aerobics classes that I teach.  Right before I was about to unplug the itouch I got a notification that my itouch was full and didnt have any space left.  Since I was done with what I was doing at the time, I unplug my itouch and figured I would delete unwanted songs later to create more room. A week later, I went to sync my itouch into itunes and over the devices it told me that it was named another device and wanted to know if i wanted to sync the information to my itouch I had just plug in.  I had never seen this message before in all the other times I had used it, and at the time I didnt realize that it was giving my device the name of another user in my house. Without realizing it itunes started to sync the new information to my itouch.  I immediately unplugged the usb cable stopping the process.  I then replugged the usb cable in, hoping to get done what I needed to get done on my itouch thinking it might have just been a strange glitch. Also, since I hadn't notice any change on my itouch from the incorrect syncing, I continued to start itunes again.  This time it asked me the same question as before "did I want to sync the information from another ipod?". Since I didnt notice any changes before I just let it do the syncing not realizing at the time that it was earsing all the info I had on my itouch and replacing it with info coming from the other users ipod.
    I contacted Apple and they gave me infomation on how I could go look for my itouch under devices and get the information back.  When I did this my itouch was no longer there under the devices and it was replaced with the new name that itunes had given my itouch.  This device is one of the first generation itouches and has never been backed up that I know of... So my question to you all is...Is there any way of getting my playlists back???? I spend countless hours creating these playlists for my classes and have been completely out of my mind trying to figure out how I can possibly get the infomation back. Please let me know if you think there might be a way to do this!!!     

    The devices that are listed are: 2 under the name of the device that synced incorrectly with mine and then 3 others that are not associated with my itouch. The name of the ipod, before the incorrect sycning is no longer under devices.  It has been replaced with the incorrect one because I can see the serial # of my ipod under the wrong name.
    The playlists that are in my itunes library are from an ipod that I used a few times before I took this one over... Which happens to be the ipod that took on the ID of my itouch.
    Both of these ipods used to be my kids.. I used my sons a few times and then switched to my daughters.  They each had their names attachted to their particular devices and now it just says my sons, which is the ipod that itunes was connecting to when all this happened. The really strange thing is my son doesnt use his ipod any longer and now uses his phone for music...So, it had been a while since that particular device was even synced to itunes!
    I hope this helps!

Maybe you are looking for