Read encoder signal with 9201

Hi
I have a quite uncommon problem. I need to acquire the encoder signal with a NI-9201 (analogue module).
Is this even possible? Of course I saw I that I should use a NI-9401 but my chassis is full...
I already tryed to acquire impulse signals with such a module but they were slower.
Thanks for any help.
Yves

Hi Yves,
when you acquire data from an encoder, do you mean a quadrature encoder or rotary encoder?
This encoder generates a binary or digital signal.
Of course, you can always acquire a digital signal with an analog input module. This isn't recommended and necessary when you can use a pre-built api in the palettes for digital modules.
When there is no free slot you can think about an expension chassis or a single carrier. This depense on your application.
How did you acquired the slower signal until now?
Kind Regards,
Philipp K. | NI-Germany

Similar Messages

  • Write signal with time stamp

    hii...
    I've a student project to read and write data from a continous signal with labVIEW.. I'm going to read the system for 24/7, The reading program already finished.
    The problem is in the writing procces.. I have no idea how to write data to file with low level vi.. I'm new in LabVIEW and I already try some modification to my program but it still don't work as i want.
     I want the writing procces only occur when i press the button and it only run for a few second with constant time stamp.. It just to check if there are any data missing or not.. The system are a fast (It's what make problem bigger).
    I'm getting crazy at all.. If some one could help me i will be very grateful... I'm using LabVIEW 8.5 and PCI 6259...
    Kind Regards,
    Dani
    -Keep Learning-
    Attachments:
    Read Circle Encoder.gif ‏22 KB

    Hi Dani,
    here's the two-loop version...
    When you use the local you wouldn't need the queue at all... But using locals may lead to race conditions (not in your simple vi, but general) - locals don't provide "atomic" data access.
    In Labview the wire is equivalent to variables in text programming languages!
    The vi uses the producer-consumer-scheme (Erzeuger-Verbraucher-Struktur ?): one loop is producing values, the other is consuming them. It's a common scheme in LV programming, you will find examples and a lot of threads here in the forum.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    circle.vi ‏48 KB

  • Problem Counting A and B Encoder Signals on Two Counters.

    Hi All,
    I have an existing LabVIEW program that uses three counters to measure A, B and Z signals of the encoder.  I can read these signals separately if I hook only one of them to the PCI 6602.  If I hook up A and B, I will get intermitten correct reading for signal A.  I will always get the correct reading for signal B.  Is there a problem of trying to measure these signals using separate counters?  This program basically tries to measure the time between the different edges.  There isn't any documentation, so I am not even sure which board this application was written for.  Although, there is an analog input section of this code.  I even tried the counter for the 6502E board.  I get the same problem.  I am not sure if the physical channels constants in the program is correct.  Has anyone run into this problem before?
    Thank you for your input.
    Attachments:
    Main Encoder Tester.vi ‏883 KB

    Hello Van626,
    After looking over your code for measuring a encoder, I would suggest performing this acquistion in a different way. The reason why is that it is not advisable to create and clear or start and stop in a while loop. In order to get around this, here are some ideas I had:
    1.) Use the Counter Input Angular Encoder Task. This task will allow you to record the encoder measurements so that you don't have to program this yourself. I would suggest starting with Measure Angular Position.vi example in LabVIEW. In order to specify the PFI lines for the A, B, Z terminals, there is a channel property node under Counter Input » Encoder for A, B, and Z terminals.
    2.) If you want to record each signal, you have enough counters to do this. There is a VI called DAQmx Connect Terminals that will connect PFI lines together. In doing this, you can connect your three signals to three PFI lines but have them go to multiple counters. I have current tested this with an Angular Encoder task with a Two edge Separation and it works perfectly
    Note: You will need to look at the Device Routes for the PCI-6602 to ensure that you are sending the signal to the correct place. Another caveat about connecting PFI lines together you will have to disconnect them when you are done. If you don't they will always be connected. This can be done by reseting the device using the DAQmx Reset Device.vi or the DAQmx Disconnect Terminals.
    Jim St
    National Instruments
    RF Product Support Engineer

  • Acquire encoder position with Motion and DAQ

    Hi,
    I am trying to acquire an encoder position with Motion. It seems impossible to set the frequency of the acquisition with Motion and I must poll for the position in a do-while loop.
    I have read in a lot of threads that one can use RTSI lines to retrieve encoder position with a DAQ Board though it is acquired with a Motion board. But there are no examples at all about this.
    To sum up, I need to send Encoder Phase A to RTSI0, Encoder PhaseB to RTSI1 (which I already do), retrieve info with a DAQ device and then calculate rpm.
    Christophe
    PS: please don't answer with measure angular position.vi or explain me in what this Vi can help me

    Hi Christophe,
    I'm not sure I understood well what you need. You have the angular position and you need to know the timing, am I right? Can you use an other counter on your card to get the period (or the frequency) of your signal? From that, I think you should be able to calculate the velocity.
    I hope this helps,
    Charlotte F. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...

  • Encoder Speed with NI 9215 module and cDAQ-9172

    I've a NI cDAQ-9172 with the NI9215 analog input module, and I want to estimate the speed with an optical encoder (OMRON E6A2-CW3C). My approach was, making a comparison with a point in the midle of the high of the signal, ie 4V, making this way a perfect square signal with 1of high. After that I use the Tone Measurements and the Timing and Transition Measurements modules to calculate the frequency of the wave form, and this way I'm able to calculate the RPM speed.
    The problem with this solution, is that even with the engine at a constant speed of 746RPM, measured with a stroboscope, Labview give me a high variable values between 730RPM to 760RPM, and I can't solve this problem because I really need an accurate measurement.
    Should I buy for example the NI 9401 module to make this measurement? If so, does any one knows how to build a VI to get the encoder speed?
    In attach I send the VI that I'm using to calculate the speed.
    Thank you for help.
    Attachments:
    Encoder Speed.vi ‏112 KB

    Hi,
    The best way to measure a speed through a quadrature encoder is to use the counters that are inside the cDAQ chassis.
    With the 9172 chassis, you need a digital I/O module (9401) in order to access the counters.
    With the new generation of chassis (9178), you don't need the 9401 because you can connect your encoder signals to the BNC.
    Best regards,
    Thomas B. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Inscrivez-vous gratuitement aux Journées Techniques : de l'acquisition de données au contrôle/com...

  • Quadrature Encoder measurements with PXI-6143 S-Series DAQ

    Has anyone used a S-series PXI-6143 DAQ to take encoder position measurements? I believe there are 2 counters available, if you have any examples of how to access and read from these counters it would be greatly appreciated.

    Hi Bentup,
    Measuring a quadrature encoder on your device is actually going to be a bit different than on an M series device.  The STC-2 chip, which is used in the M series, allows for A and B inputs specifically for encoder signals (used in the Angular Encoder task).  The original STC-1 chip which is used in E series and most S series boards (including your 6143) does not have these same inputs.  Instead, you may must a Count Digital Events task (taking advantage of the up/down line of the counter).  The Angular Encoder task is not supported on STC-1 devices.
    The article that lab_boy linked earlier actually mentions how to use an encoder with an E series device once you scroll down a bit (here's the link again).  This same procedure should apply to your S series--connect the A output of your encoder to the source of the Counter (this is the signal that you are counting).  Connect B to the up/down line of the counter (P0.6 and P0.7 for counter 0 and 1 respectively). 
    The downside with this method is that it is more susceptible to vibrations or noise on the encoder lines. If this is a problem for you, you can look into an external encoder conditioner like the one mentioned in the article.  I hope this helps!
    Best Regards,
    John
    John Passiak

  • Problem reading csv file with special character

    Hai all,
    i have the following problem reading a csv file.
    442050-Operations Tilburg algemeen     Huis in  t Veld, EAM (Lisette)     Gebruikersaccount     461041     Peildatum: 4-5-2010     AA461041                    1     85,92
    when reading this line with FM GUI_UPLOAD this line is split up in two lines in data_tab of the FM,
    it is split up at this character 
    Line 1
    442050-Operations Tilburg algemeen     Huis in
    Line 2
    t Veld, EAM (Lisette)     Gebruikersaccount     461041     Peildatum: 4-5-2010     AA461041                    1     85,92
    Anyone have a idea how to get this in one line in my interbal table??
    Greetz Richard

    Hi Greetz Richard
      Problably character  contains same binary code as line feed + carriage return.
      You can use statement below as workaround.
    OPEN DATASET file FOR INPUT IN TEXT MODE ENCODING UNICODE
    In this case your system must support Unicode encoding
    Kind regards

  • How to measure a current signal with NI 6211?

    How to measure a current signal with NI 6211?

    Hi Clecio,
    This is a charge accelerometer. It is different from the IEPE accelerometers that outputs a voltage signal.
    You need a charge amplifier. Then according to the charge amplifier output we can select an appropriate module to measure the signal.
    It is not possible to measure charge accelerometers with NI 9234 directly.
    Best Regards,
    Rodrigo Schneiater
    Application Engineering
    National Instruments Brazil
    If this information was useful, please click in the 'KUDOS!' beside.

  • Losing Wi-Fi signal with cell signal simultaneously

    I'm in a crap area. I have 1 bar of 1x data where I am located. To counter that I have Wi-Fi. I'm the only user of the Wi-Fi and it's secured as well. My problem is my Wi-Fi connection on my phone disappears completely if I lose that one bar of 1x signal. I am able to reload my web pages while I have no signal with the tiny little no smoking sign at the top of my screen, but as soon as that one bar comes back, I lose all signal on Wi-Fi all over again!! It happens 1,324,501 times a day (that's a sarcastic count) but it leaky does happen extremely frequently. It happened 3 times just trying to your this on my phone. I've already deleted the Wi-Fi settings on my phone multiple times and reboot my router multiple times as well. How can I fix? ?

    My zip code is 28533. It works way better away from this area, I'm on a
    military base with no signal on it so I use Wi-Fi, which doesn't work with
    my phone. I've tried other Wi-Fi networks and they work fine unless I get
    low cell phone reception then the same problem starts to occur. My roommate
    has the same phone but with a different service provider and his phone
    works perfect with the Wi-Fi, as does my laptop and my 3Ds too. It's just
    my phone that acts foolish.
    On Nov 21, 2013 8:20 PM, "Verizon Wireless Customer Support" <

  • Boosting o2 Wifi signal with Airport Express

    Dear all,
    I had read that one could boost our o2 Wifi signal with the Airport Express. I don't seem to be able to do it! Can anyone help.
    Detsky

    It is possible if the wireless network is created by another AirPort Express (AX), an AirPort Extreme base station (AEBS), or a Time Capsule. Otherwise it is not possible.

  • BUG: ADF BC read-only VO with no Key attrs + af:table

    Hello all,
    I've got a bug to report - quite easily reproducable with the HR demo schema. To see it:
    1). Create a new application from the ADF BC + Faces template
    2). Create a read-only VO, use "SELECT employee_id, first_name from employees" and order by "employee_id" - take the defaults for everything - do not set any key attributes.
    3). Create an AM, add the VO to it's data model. Turn off AM pooling in the configuration.
    4). Create a JSPX page. Drag-drop the VO from the data control palette as an ADF read-only table - with selection
    5). Bind the actionlistener of the "submit" button to a backing bean method that just system.out.println's something.
    Now, run the app. Try selecting an employee from the first page (records 1-10) and clicking submit - it works. Now, scroll to the second set of records, select one and click submit - no message appears - the action listener is never called. No errors are thrown.
    Workaround: ensure the VO has employee_id selected as a key attribute.
    My code is at the bottom for reference.
    Cheers,
    John
    untitled1.jspx:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <afh:html>
          <afh:head title="untitled1">
            <meta http-equiv="Content-Type"
                  content="text/html; charset=windows-1252"/>
          </afh:head>
          <afh:body>
            <af:messages/>
            <h:form>
              <af:table value="#{bindings.emp1.collectionModel}" var="row"
                        rows="#{bindings.emp1.rangeSize}"
                        first="#{bindings.emp1.rangeStart}"
                        emptyText="#{bindings.emp1.viewable ? 'No rows yet.' : 'Access Denied.'}"
                        selectionState="#{bindings.emp1.collectionModel.selectedRow}"
                        selectionListener="#{bindings.emp1.collectionModel.makeCurrent}">
                <af:column sortProperty="EmployeeId" sortable="false"
                           headerText="#{bindings.emp1.labels.EmployeeId}">
                  <af:outputText value="#{row.EmployeeId}">
                    <f:convertNumber groupingUsed="false"
                                     pattern="#{bindings.emp1.formats.EmployeeId}"/>
                  </af:outputText>
                </af:column>
                <af:column sortProperty="FirstName" sortable="false"
                           headerText="#{bindings.emp1.labels.FirstName}">
                  <af:outputText value="#{row.FirstName}"/>
                </af:column>
                <f:facet name="selection">
                  <af:tableSelectOne text="Select and">
                    <af:commandButton text="Submit" actionListener="#{abc.click}"/>
                  </af:tableSelectOne>
                </f:facet>
              </af:table>
            </h:form>
          </afh:body>
        </afh:html>
      </f:view>
    </jsp:root>abc.java:
    import javax.faces.event.ActionEvent;
    public class abc
      public abc()
      public void click(ActionEvent actionEvent)
        System.out.println("click");
    }emp.xml (View Object):
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <ViewObject
       Name="emp"
       OrderBy="employee_id"
       BindingStyle="OracleName"
       CustomQuery="true"
       ComponentClass="model.empImpl"
       UseGlueCode="false" >
       <SQLQuery><![CDATA[
    select employee_id, first_name
    from employees
       ]]></SQLQuery>
       <DesignTime>
          <Attr Name="_isExpertMode" Value="true" />
          <Attr Name="_version" Value="10.1.3.39.84" />
          <Attr Name="_codeGenFlag2" Value="Access|Coll|VarAccess" />
       </DesignTime>
       <ViewAttribute
          Name="EmployeeId"
          IsUpdateable="false"
          IsPersistent="false"
          IsNotNull="true"
          Precision="6"
          Scale="0"
          Type="oracle.jbo.domain.Number"
          ColumnType="NUMBER"
          AliasName="EMPLOYEE_ID"
          Expression="EMPLOYEE_ID"
          SQLType="NUMERIC" >
          <DesignTime>
             <Attr Name="_DisplaySize" Value="22" />
          </DesignTime>
       </ViewAttribute>
       <ViewAttribute
          Name="FirstName"
          IsUpdateable="false"
          IsPersistent="false"
          Precision="20"
          Type="java.lang.String"
          ColumnType="VARCHAR2"
          AliasName="FIRST_NAME"
          Expression="FIRST_NAME"
          SQLType="VARCHAR" >
          <DesignTime>
             <Attr Name="_DisplaySize" Value="20" />
          </DesignTime>
       </ViewAttribute>
    </ViewObject>appModule.xml:
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE AppModule SYSTEM "jbo_03_01.dtd">
    <AppModule
       Name="AppModule"
       ComponentClass="model.AppModuleImpl" >
       <DesignTime>
          <Attr Name="_isCodegen" Value="true" />
          <Attr Name="_version" Value="10.1.3.39.84" />
          <Attr Name="_deployType" Value="0" />
       </DesignTime>
       <ViewUsage
          Name="emp1"
          ViewObjectName="model.emp" >
       </ViewUsage>
    </AppModule>bc4j.xcfg:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig>
       <AppModuleConfigBag>
          <AppModuleConfig name="AppModuleLocal">
             <DeployPlatform>LOCAL</DeployPlatform>
             <JDBCName>local_hr</JDBCName>
             <jbo.ampool.doampooling>false</jbo.ampool.doampooling>
             <jbo.project>Model</jbo.project>
             <jbo.ampool.dynamicjdbccredentials>false</jbo.ampool.dynamicjdbccredentials>
             <AppModuleJndiName>model.AppModule</AppModuleJndiName>
             <ApplicationName>model.AppModule</ApplicationName>
          </AppModuleConfig>
       </AppModuleConfigBag>
       <ConnectionDefinition name="local_hr">
          <ENTRY name="JDBC_PORT" value="1521"/>
          <ENTRY name="ConnectionType" value="JDBC"/>
          <ENTRY name="HOSTNAME" value="localhost"/>
          <ENTRY name="DeployPassword" value="true"/>
          <ENTRY name="user" value="hr"/>
          <ENTRY name="ConnectionName" value="local_hr"/>
          <ENTRY name="SID" value="STGY"/>
          <ENTRY name="password">
             <![CDATA[{904}05DB46A9C39F51D1A4814423FFD9297C71]]>
          </ENTRY>
          <ENTRY name="JdbcDriver" value="oracle.jdbc.OracleDriver"/>
          <ENTRY name="ORACLE_JDBC_TYPE" value="thin"/>
          <ENTRY name="DeployPassword" value="true"/>
       </ConnectionDefinition>
    </BC4JConfig>

    Hi,
    reproduces for me. It appears that the parameter is not applied properly when executing the query.
    Frank

  • Worse signal with Airport Graphite after Leopard upgrade

    I just upgraded my MacBook Pro to Leopard. Since then, I havent been able to get a full signal with my Airport Graphite. I've read the posts here about Leopard and Airport graphite's inability to be detected by the airport utility program. The same thing has happened to me. I tried resetting my airport base station but even that i couldnt do. Please help

    that does make sense, that it could be the old ones.
    BUT - people are having tons of wireless problems with NEW airport extremes,
    airport express, and other manufacturer's wireless routers, too. There are numerous posts on the forums about all kinds of wireless issues with Leopard.
    http://www.pcworld.com/article/id,139140/article.html

  • Better estimation of phase difference between two signals with variable frequency!

    Hello LabView Gurus, 
    Being a power engineer and having just a little knowledge of signal processing and labview, I have been pulling my hair out for the last couple of days to get a better estimation of phase difference between two signals.
    We have two analog voltage signals; 1. sine wave (50Hz ± 1Hz) and 2. a square wave with exactly half of sine wave frequency at any time.
    At the starting point of operation (and simulation/acquisition) both signals will have no phase difference. However, the square wave's frequency changes unpredictably for a just a few millisecond but then it gets synchronized with sine wave's frequency again. This means that the square wave will be phased out from its original position. The task of the labview is to find the phase difference between the two signals continuously.
    My approach to determine the phase difference is to measure the time when sine wave crosses zero amplitude and the time when the very next square wave changes amplitude from zero volts to +ve voltage (I have a 0.5volts threshold just to avoid any dramas from small line noise). The difference between these times is then divided by the time period and multiplied by 360 to get this phase difference in angles. 
    As this part is just a small block of a big project, I can only allow 5000Hz sampling rate each for both signals. I read 500 samples (which means I read data from 5 cycles of sine wave and 2.5 cycles of square wave).
    Now the problem is, as long as the frequency of sine wave stays constant at exactly 50Hz, I get a good estimation of the phase difference but when the frequency changes even a little (and it will happen in the real scenario i.e 50Hz ± 1Hz  and the square wave's frequency is dependent of sine wave's frequency), the estimation error increases.
    I have attached my labview program. From front panel, you can set the phase of square wave (between -180 and 0) and you should see the labview's calculated phase in the indicator box named 'Phase'. Then you can press 'Real Frequency' switch that would cause the frequency to change like it would in real operation.
    You can observe that the estimation error increases after you push the button. 
    All I need to do is to reduce this estimation error and make it as close to the actual phase difference as possible. Any help would be greatly appreciated.
    I am using LabView 2009 for this task.
    The application is for electric machines and the stability/performance of machines under different faults.
    Thank you for reading this far!
    Regards,
    Awais
    Attachments:
    v603.png ‏320 KB
    v603.vi ‏186 KB

    Jeff Bohrer wrote:
    Basic math gives me a bit of pause on this approach.  You are sampling at 50 times the frequency of interest so you get 50 samples per cycle.  your phase resolution is 1/50th cycle or 7.2 degrees +/- noise.  You will need to samlpe faster to reduce phase resolution or average multiple readings (at a time cost that is signifigant)
    Jeff- (Hardly Working)
    I am sampling at 100 times the sine wave's frequency and 200 times the square wave's frequency.  Increasing the sampling rate completely solves my problem. But since I am acquiring several other inputs, I cannot afford a sampling rate higher than 5kHz.
    F. Schubert wrote:
    I'm not a signal processing expert, but here my basic understanding.
    If you simulate sampling with 5kHz and a frequency of 50 Hz (and both are 'sync' by design), you always get an exact 5 periods. Any variation of your signals frequency gives you a propability to get 4 or 6 'trigger' events. That's an up or down of 20%!
    The one measure to reduce such problems is using 'window functions'. They don't fit your current approach (counting instead of a DSP algorithm), so this needs to be reworked as well.
    My approach would be to use the concept of a Locki-In amplifier. You need to phaseshift your ref-signal by 90°. Then multiply your measurement signal with the ref signal and the phase shifted ref signal. The obtained values for x/y coordinates of a complex number. Calculate the theta of the complex number (with the LV prim). Feed this in a low pass filter.
    The trick on this is, that the square wave has harmonics in it, in this you are interested in the second harmonic which is the sine wave.
    To get rid of the effect that the sync between sampling rate and ref signal frequency gives an error, you then can use the window I mentioned above (place it before the lock-in).
    For a design that really plays well, use a producer-consumer design pattern to get the calculations done in parallel with the DAQ.
    I suggest you to check on wikipedia for some of the keywords I mentioned. Go also for the external links which lead to great tutorials and AppNotes on the signal processing basics.
    Sorry, it's not a simple solution I offer and we will have quite some conversation on this forum if you follow this path. Maybe someone else knows a simpler way.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml
    An interesting view. the sine wave can indeed be looked as a second harmonic of the square wave. I will implement your idea and get back to you as soon as I get some results. But since I have very limited knowledge of signal processing, it might take me a while to get my hear around the solution you mentioned.

  • Read Node Attribute with XML DOM.

    Hello, I have a XML File like this:
    <?xml version="1.0" encoding="ISO-8859-15"?>
    <Datenexport>
    <Codeliste Nr="1">
    <Entry>
    <Code>J</Code>
    <Decodierung_DE>JA</Decodierung_DE>
    <Decodierung_EN/>
    </Entry>
    <Entry>
    <Code>N</Code>
    <Decodierung_DE>NEIN</Decodierung_DE>
    <Decodierung_EN/>
    </Entry>
    </Codeliste>
    <Codeliste Nr="3">
    <Entry>
    <Code>??</Code>
    <Decodierung_DE>Code noch festzulegen</Decodierung_DE>
    <Decodierung_EN>Code to be defined</Decodierung_EN>
    </Entry>
    I read the File with DOM and it works fin.
    This is a sample of my code:
    begin
    INDOMDOC := DBMS_XMLDOM.NEWDOMDOCUMENT(xml_doc.GETclobVAL());
    l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(indomdoc),'/Datenexport','xmlns:xiz="http://www.bvl.bund.de/Schema/2010/xiz"');
    FOR cur IN 0 .. dbms_xmldom.getLength(l_nl) - 1
    LOOP
    l_n := dbms_xmldom.item(l_nl, cur);
    l_nl2 := dbms_xmldom.getchildnodes(l_n);
    lv_value := dbms_xmldom.getnodename(dbms_xmldom.getfirstchild(l_n));
              FOR cur2 IN 0 .. dbms_xmldom.getLength(l_nl2) - 1
              LOOP
              l_n2 := xmldom.ITEM(l_nl2, cur2);
              nodename_val := dbms_xmldom.getnodename(l_n2);
              dbms_output.put_line('NodenameAntrag: '||nodename_val);
              lv2_value := dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(l_n2));
              dbms_output.put_line('NodeValue: '||lv2_value);
              IF nodename_val = 'Codeliste' THEN number_val := dbms_xmldom.????????????????;
    Now, i need to read the number of the "Codeliste" (<Codeliste Nr="1">).
    But i haven´t find the right function.
    Could anbody help me?

    Still not using XMLTable for this? ;)
    OK, using DOM, for example :
    SQL> set serveroutput on
    SQL>
    SQL> declare
      2    doc       xmltype;
      3    indomdoc  dbms_xmldom.domdocument;
      4    l_nl      dbms_xmldom.DOMNodeList;
      5    l_n       dbms_xmldom.DOMNode;
      6    lv_value  varchar2(30);
      7  begin
      8    doc := xmltype('<?xml version="1.0" encoding="ISO-8859-15"?>
      9  <Datenexport>
    10  <Codeliste Nr="1">
    11  <Entry>
    12  <Code>J</Code>
    13  <Decodierung_DE>JA</Decodierung_DE>
    14  <Decodierung_EN/>
    15  </Entry>
    16  <Entry>
    17  <Code>N</Code>
    18  <Decodierung_DE>NEIN</Decodierung_DE>
    19  <Decodierung_EN/>
    20  </Entry>
    21  </Codeliste>
    22  <Codeliste Nr="3">
    23  <Entry>
    24  <Code>??</Code>
    25  <Decodierung_DE>Code noch festzulegen</Decodierung_DE>
    26  <Decodierung_EN>Code to be defined</Decodierung_EN>
    27  </Entry>
    28  </Codeliste>
    29  </Datenexport>');
    30 
    31 
    32    indomdoc := dbms_xmldom.newdomdocument(doc);
    33 
    34    l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(indomdoc),'/Datenexport/Codeliste');
    35 
    36    FOR cur IN 0 .. dbms_xmldom.getLength(l_nl) - 1 LOOP
    37       l_n := dbms_xmldom.item(l_nl, cur);
    38       --lv_value := dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(l_n));
    39       dbms_xslprocessor.valueOf(l_n, '@Nr', lv_value);
    40       dbms_output.put_line('Nr : '||lv_value);
    41    END LOOP;
    42 
    43    dbms_xmldom.freeDocument(indomdoc);
    44 
    45  end;
    46  /
    Nr : 1
    Nr : 3
    PL/SQL procedure successfully completed

  • H264 encoding issue with FlashPlayer 11

    Hi,
    When encoding live in h264 with the FP 11  then playing it live on another client (through FMS r) the video sometimes (1/3 of times) has major skips or jerks. It's almost as if the video goes back to some older keyframes and then returns to live. Same experience with non-h264 produces smooth video.
    If the server (FMS ) records the video, the replay looks smooth, which is strange because I would have assumed the FP was not encoding well with H264.
    Has anyone had this issue? please reply
    Thank you.

    Hi,
    When encoding live in H264 with the FP 11  then playing it live on another client (through FMS r) the video sometimes (1/3 of times) has major skips or jerks. It's almost as if the video goes back to some older keyframes and then returns to live. Same experience with non-h264 produces smooth video.
    If the server (FMS ) records the video, the replay looks smooth, which is strange because I would have assumed the FP was not encoding well with H264.
    Has anyone had this issue? please reply
    Thank you.

Maybe you are looking for

  • FPM Form Scripting - How to call a web dynpro application as pop up

    Hi All, I want to call a web dynpro application as a pop up from FPM form scripting. Like click on button -Maintain Approval Routing in a FPM form i want to open a web dynpro pop up.. Thanks In Advance.

  • I have the f4500 all in one printer need to know how to mirror my image

    i have the f4500 all in one printer need to know how to mirror the image in easy terms

  • Could not activate Internal Concurrent Manager

    Hi all, I downloaded ebiz suite from edelivery and installed it on my stand alone xp system, giving a random domain name during installation (and editing the etc/hosts file before that). For some reason I couldn't activate ICM in windows services fol

  • Frustrating: PS5 desaturates my pictures!

    Hi all, I'm running Win7 with the Dell U2710 monitor. I've calibrated it, and for a while everything was pure joy, until suddenly Bridge and Photoshop choosed to desaturated all of my images! All of my files are only appearing "native" or what to say

  • WebDynpro border

    Dear experts, I'am working with the web dynpro explorer for abap and when I start the application and the internet-explorer apears all applications have a 10 or 15px margin at the top and left. Is it possible to deactivate or edit this margin? best r