Retrieving mapping from IVI logical name to full driver session name.

MAX, of course, lets you set up "Driver Sessions" with full names, and then "logical names" which are shortcuts to the full driver session. How can I retrieve the actual driver session that the logical name maps to? I can get the handle to the logcal name list via the IVI library, but I can't find any function that lets me retrieve further information about the logical name. Is this available in the "Configuration Server C API"?

What I want is, as I said, the mapping between the logical name and the session. This must be available, since the IVI drivers use it to go from a logical name to the attached session! One would think that it would be a single function call.
I'm doing this because in my program I can select which of a number of drivers (Newport motion controllers, in this case) a particular GUI control is attached to. The full session name is long, and there are - of course - sessions that have nothing to do with motion controllers. In the control list (a ring control) I use the logical names, which are shorter. However I want to also list the full session name elsewhere. Since I can't go from the session name to the logical name, that mapping isn't stored anywhere, I must go the other way around.
Ok, I think I figured it out. This could really be documented better!
Also, this whole thing could really be in the .ivi library configuration store section, which encapsulates a few of these calls, but not all of them.
//include section
#include <IviConfigServer.h>    //IVI configuration store
//done once at program startup. Note: this gets a copy, you don't have to dispose of ConfigStoreHandle afterwards.
static IviConfigStoreHandle ConfigStoreHandle = NULL;
Status = Ivi_GetConfigStoreHandle (&ConfigStoreHandle);
//This is the pain in the butt.    
ViStatus Status;
IviLogicalNameCollectionHandle LogicalNameCollectionHandle = NULL;
IviLogicalNameHandle LogicalNameHandle = NULL;
IviSessionHandle SessionHandle;
ViChar         ControllerSessionName[MAX_Controller_Name_LEN];  
ViChar         ControllerDescriptor[MAX_DESCRIPTOR_LEN];
ViChar         ControllerDescription[MAX_Controller_Name_LEN];
//get the configuration store logical name collection (what you see in MAX under "Logical Names")
Status = IviConfig_GetConfigStoreLogicalNameCollection (
    ConfigStoreHandle,
    &LogicalNameCollectionHandle);
//how many logical names are there in the collection?
Status = IviConfig_GetLogicalNameCount (
    LogicalNameCollectionHandle,
    &IVI_ItemCount);
//For each logical name, find the corresponding session name   
for (i = 1; i <= IVI_ItemCount; i++) {
    Status = IviConfig_GetLogicalNameItemByIndex (
            LogicalNameCollectionHandle,
            i,
            &LogicalNameHandle);
    //get the session name for this logical name
    Status = IviConfig_GetLogicalNamePropertyViString (
            LogicalNameHandle,
            IVICONFIG_VAL_LOGICAL_NAME_NAME,
            MAX_Controller_Name_LEN,
            ControllerDescriptor);
    //get the description for this logical name
    Status = IviConfig_GetLogicalNamePropertyViString (
            LogicalNameHandle,
            IVICONFIG_VAL_LOGICAL_NAME_DESCRIPTION,
            MAX_Controller_Name_LEN,
            ControllerDescription);
    //get the handle for the ession attached to this logical name
    Status = IviConfig_GetLogicalNameSessionReference (
            LogicalNameHandle,
            &SessionHandle);
    //get the name of the session (what I really wanted in the first place)
    Status = IviConfig_GetSessionPropertyViString (
            SessionHandle,
            IVICONFIG_VAL_CONFIG_COMPONENT_NAME,
            MAX_DESCRIPTOR_LEN,
            ControllerSessionName);                

Similar Messages

  • Updating Virtual Names in NISE Driver Session

    I have created a Driver Session in MAX for my VXI Chassis Slot 3 cards. In this Driver Session on the "Virtual Names" tab, I am entering some virtual names that will correspond to the names on our Interface panel -- i.e. the panel of pins that the outside world sees. In other words, the default virtual name M0CH1COM may become SW1_CH1_COM -- or whatever. I plan to go and create a Virtual Device after this, and when I load the IVI switches for this driver session into the Virtual Device, I will see my virtual names in the IVI Channel column instead of the default physical names.
    Suppose I have a great number of these virtual names to enter for a particular driver session, and at this point I only want to enter half of the virtual names into the Driver Session. Once I am convinced that our system is stable, then I will enter the rest of the virtual names into the Driver Session. Is there any way in NISE to get the "last half" of the virtual names from the Driver Session into the Virtual Device that I have created already? I can see where I would have built hardwires, routes, route groups, etc. in the existing Virtual Device, but I'm not sure I know of a way to get the updated Driver Session info into the existing virtual device?
    A simpler case of this would be if someone just forgot to enter a virtual name or two into a driver session. They might get further down the road in development, and find that they overlooked a few virtual names. Is there any way for them to go back, enter in those new virtual names, and have the Virtual Device recognize these virtual names?
    When I tried to do this -- I could not find a way to get the new virtual names to be recognized by the existing Virtual Device. The only way I found to make it work was to create a new virtual device -- and doing this will cause me to lose my "custom" info in the virtual device.
    Any ideas?
    Harv

    Harv,
    I guess this question is related to your previous post.
    When you enter virtual channel names in the driver session, the IVI specific driver is supposed to pass these names to NISE. If this is the case, then NISE will show the virtual channels and not the physical channel names. The virtual channel names need to be created before importing a switch in a NISE virtual device.
    If you forgot to name a few channels in the driver session and already created a NISE virtual device you will not be able to go back and give virtual channel names to the remaining channels.
    Let's assume that your new driver has the exact same topology, connections, channel number etc than the old driver but some channel names are different. CH0 is now name Channel0 and CH1 is now Channel1.
    What you could do is export you configuration into an xml file, open the xml file with a text editor (notepad), search for the CH0 and CH1 and replace them with Channel0 and Channel1 respectively. You also need to point to the new IVI specific driver. Now, Create a new NISE virtual device by importing the changed xml file. When you open this new NISE virtual device, it should see that the channels names (Channel0 and Channel1) correspond to the names in the new ivi specific driver and you should not have a problem using it. You would not have to redo your entire configuration.
    This will work if ONLY the channel names have changed. If anything else have changed this would not work and you would have to create a new NISE virtual device.

  • Retrieving data from two CRM data sources having same field name.

    Hello Experts,
    I am extracting data from 0CRM_OPPT_H(Opportunties) and 0CRM_SALES_ACT_1 (Activities), in both data sources we have a comman field "DESCRIPTION_UC".which is the field for both Opportunity Description and Activity Description.
    In BW "0CRM_DESCR" is the same object which is mapped to both opportunity and Activity descriptions field"DESCRIPTION_UC".
    Data is retriving fine in both Infoproviders.
    Our Requirement is to populate both above said Activity and Opportunity descriptions in the report, to achive this we need to create a multiprovider and populate the data.Plz help me how to assaign the objects in the multiprovider.
    Thanks
    Satya

    Hi,
    In Characteristics tab.
    u find the identification tab.
    Go there and click on both infoproviders corresponding to both info providers.....
    One needs to clearly understand that there are different approaches in identification of KFs and Chars in a MP.
    KFs, if they are identical by meaning, must be selected from EXACTLY ONE INFOPROVIDER.
    CHARs must be selected in EACH INFOPROVIDER involved.
    For example, I have a Char COUNTRY in my MP. And in the infoproviders I have Chars such as SENDING COUNTRY, DESTINATION COUNTRY, TRADING COUNTRY, COUNTRY OF GOODS ORIGIN, COUNTRY OF TRANSPORT. I need to identify which country in infoprovider will be treated as a COUNTRY in the MP. And such identification should be set for each Char in MP for each infoprovider.
    If there is no data for COUNTRY in one of the providers (or COUNTRY is not properly identified in MP) then data from this infoprovider will come into MP query as NOT ASSIGNED or not come at all.
    You can search these forums for something like ‘no data in multiprovider’. You’ll find a lot of threads concerning this problem. In most cases the reason of this exactly what was said – wrong identification of chars in MP or absence of char values in some infoproviders.
    Check this link for more info
    Identification in Muticube
    Hope this helps u..
    Best Regards,
    VVenkat
    Edited by: Venkata Narayana Jakkampudi on Dec 24, 2008 12:37 PM
    Edited by: Venkata Narayana Jakkampudi on Dec 24, 2008 12:41 PM

  • Can I retrieve files from a Time Capsule data hard-drive if I completed a simple-erase on it?

    I have a 2TB Time Capsule. I stored files on the hard drive within the Time Capsule. I did a quick-erase of the hard drive (Time Capsule) via Airport Utility on my MacBook Pro and forgot the files were on it. Is there anyway I can retrieve these files? The Time Capsule's 2TB capacity was hardly used at all, I used it for Time Machine but apart from that I just stored some files on it. Thank you in advance if you could help.

    As per Bob's comment.. BUTT.. big fat one.
    The disk has to be out of the TC to do it. You need to directly access the disk so you need to remove the disk (voiding warranty) and place it in a usb holder and plug into a computer. If you are very careful pulling up the rubber mat. Using lots of heat from heat gun or hair dryer with half the inlet blocked.. and carefully pull up the mat leaving the label last and not stetching it.. the mat should go back with nobody knowing.. !!
    http://www.ifixit.com/Guide/Replacing-Apple-Time-Capsule-HDD/2750/1
    I hope you stopped using the TC immediately. Any new files will overwrite the old ones.
    I went through this exercise recently to help a customer with a dead WD hard disk in their Gen 4 TC.. The data partition had lost format. Using just the demo of data rescue 3.. as I could not find a demo of Disk Warrior and I refuse to pay for something that offers no refund.. $100 is not too much if it works.. but it is expensive if you get nothing. But it will very likely work. Certainly the files were still available and correctly named.. but the demo does not allow much of a test.. but still looked hopeful. Customer wanted the hard disk changed wanted to do the recovery herself.. which is fine.
    BTW if you have a choice find a tool that allows you to copy the files... you might need to buy another USB disk so you have a suitable target that is big enough. It is possible to repair a drive and so just recover the files.. the fast erase simply wipes the allocation table. Files should not be affected.. but any changes to the disk are permanent and if it goes bad will make it even more difficult to recover.. It can take a long time to copy files off but is safest route.
    TC is a backup target.. the whole idea of backup is having at least 2 locations for your files.. by placing files on the TC.. there is no automated backup.. the disk could have died and you will lose everything.. this is kind of a warning.. don't do it.

  • Failed to retrieve data from the database.---- Error code:-2147482925

    Hi,
    I am  getting random error while generating a PDF report in Crystal Report XI R2.
    The error details are
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Impossibile r
    Error in File C:\WINDOWS\TEMP\{11834722-3B8E-4DFF-B7B6-B3D52DF904C1}.rpt:
    Failed to retrieve data from the database.---- Error code:-2147482925 Error code
    name:failed
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputControlle
    r.export(Unknown Source)
    at ps_emxCrystalReportUtil_mxJPOZsBymAAAAAEAAAAD.getReport(ps_emxCrystal
    ReportUtil_mxJPOZsBymAAAAAEAAAAD.java:488)
    at ps_emxCrystalReportUtil_mxJPOZsBymAAAAAEAAAAD.ps_storeReportWithoutCh
    eckin(ps_emxCrystalReportUtil_mxJPOZsBymAAAAAEAAAAD.java:183)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    Please help me.
    Thanks in advance
    -Abhi

    Not enough info.
    The exception just states there were problems retrieving data from your data source.
    Sincerely,
    Ted Ueda

  • Retrieving Data from database to combobox

    Hi
    Can anyone help in retrieving data from database to combobox..
    All the names of employees and their designations are stored in database.so i want retrieve them in other page.
    both designation and names of employees are comboboxes.
    after loading tha page i need to get all the designations which are stored in database in first combobox and when i select a particular designation i need get all tha names of employees of that designation in other combobox.this has to be done using jsp and ajax.
    please can anyone give me the code for this using Ajax and Jsp.

    Hello Friend try this code
    dbdata.jsp
    <%@page language="java" import="java.sql.*"%>
    <html>
    <%
    Class.forName("..........");
    Connection n=DriverManager.getConnection ("....","...","...");
    Statement st=con.createStatement();
    ResultSet rs=st.executeQuery("select ename from emp");
    %>
    <body>
    <form>
    <select>
    <%
    while(rs.next())
    %>
    <option><%=rs.getString("ename")%></option>
    <%
    %>
    </select>
    </form>
    </body>
    </html>

  • IVI logical name as Variant

    Hi,
    Another problem with LV 7.11:
    I have a 'VI caller' that opens a VI by name or Ref, sets its controls using 'Invoke Method - Set Control Value [Variant], runs the VI and gets all display results. Worked fine up to now.
    Today I ran into a problem when I was calling an IVI-based functional generator like NIs example 'IviFgen [ARB] - Generate Arb Wfm.vi'. This has a control named 'FG Device Handle' which is of the type IVI-Class.IviFGen.hp33120a and has the logical name 'FGen'. When I convert this value 'FGen' into Variant, it is represented as a numeric value, e.g. 0x05568858. If I use the string 'FGen', it is converted to '"FGen"'. Both values are NOT ACCEPTED by Set Control Value [Variant] when applied to the apropriate control of the 'IviFgen [ARB] - Generate Arb Wfm.vi'.
    What can I do?
    Greetings from Germany!
    Uwe

    Hello!
    I tried to use the VI as SubVI and it worked without any exception.
    To use it as top level VI called dynamically, you can simply replace the IVI Logical Name Control with a normal string control where you write the logical name.
    IVIFGen initialize.vi accept also a String for the logical name.
    So you can use the Set Control Value (Variant) to transfer the string to the control.
    Best regards
    Ken

  • How do i map from file name to the device it resides on

    hi
    i need to find a way to map from a file name to the disk device it resides on( so i can do ioctl to that device ).
    i know that stat(2) returns a dev_t value, but i don't know how to translate from that dev_t to the device name( e.g. /dev/dsk/c0d0... )
    THANKS
    Gabriel

    thanks for the reply,
    i'm using a similar mechnisem on linux - using getmntent(3) to find the longest prefix of the filename realpath(3).
    i was actually looking for a mechnisem similar to the devname(2) syscall on the BSD os. with this call the kernel do all the work for you simply by mapping from dev_t( which the kernel stored in the indoe) to the device name by keeping a simple mapping table.
    if this mechinsem doesn't exists i will have to (eventually) duplicate the kernel work(namei) and create my own mapping.
    THX
    gabriel

  • Identifying Full Font Family Names from Acrobat "Properties"

    I routinely update PDFs where the originator is unavailable to question about typography issues. The problem I'm having currently, and continue to have, is that Acrobat (on V8) identifies font names differently from say...the Adobe Store.
    For instance, currently I'm editing a PDF that uses fonts from the "HelveticaNeue" family. I don't have this font, so if I go over to the Adobe store and try to find it, I get multiple types of "HelveticaNeue" font, and none of them are exactly what Acrobat provides as the name.
    For instance:
    Acrobat says: HelveticaNeue-Black
    Adobe store offers:
    Helvetica Neue Std Black
    Helvetica Neue 93 Black
    Helvetica Neue 95 Black
    and so on and so forth
    But NO "HelveticaNeue-Black" is in the list.
    Neither the spelling of the Acrobat font family, or the actual full name seem to match anything in the Adobe store.
    So, does anyone know a way to figure out exactly which font family Acrobat has in the PDF?
    Thanks in advance.

    Chris Souther asked:
    "Does anyone know a way to figure out exactly which font family
    Acrobat has in the PDF?"
    PDF's may include individual fonts, not families. For the most part,
    the font names shown are the actual font names. Or, more precisely,
    the PS Font Names.
    I'm looking at an older Type 1 font right now that has the following
    names in its name table (or at least the ones I can see in FontLab):
    Family Name: Helvetica Neue
    Weight: Black
    Style Name: Regular
    PS Font Name: HelveticaNeue-Black
    Full Name: Helvetica 95 Black
    Menu Name: Helvetica 95
    Fond Name: Helvetica 95
    To prevent conflicts, Adobe did some name modification when they
    created OpenType versions of fonts:
    The OTF version of the same font shows:
    Family Name: Helvetica 95 Black
    Weight: Heavy
    Style Name: Regular
    PS Font Name: HelveticaNeue-Black
    Full Name: Helvetica Neue 95 Black
    Menu Name: Helvetica 95 Black
    Fond Name: Helvetica 95 Black
    It appears that either one of these might be the one used in your PDF
    - and they should be interchangeable.
    Just to confuse things further, the fontnames for embedded subsets may
    be preceded by random 6-letter-and-a-plus-sign strings like HFTRDS+,
    or in some cases where the PDF isn't produced by Adobe Acrobat,
    TrueType fonts might have peculiar names like TT493875.
    Note that with the exception of a small "webfonts' collection Adobe
    has never produced Truetype fonts. If, as you indicated in another
    gorup, you need to install these fonts, you need them in T1 or OpenType.
    - Herb

  • Resource Name, IVI Logical Name, Driver session on MAX

    Inside MAX, we can set Device Name, Logical Names, and Driver Sessions. Can I setup those on LabWindows or LabView? or you have C# wrapper to do this?

    Hi Gary,
    Unfortunately there is no function in LabVIEW that does any IVI setup.  All of the configurations for your driver sessions and logical names need to be set in MAX, and saved.  So while you can change the driver session a logical name uses, you can only do this through MAX.
    Kind regards,
    Sheela Sujeeun
    Applications Engineer
    National Instruments UK

  • Configure IVI Logical Name to use different Driver Session programmatically

    Hi,
    Is it possible to change the Driver Session associated with an IVI Logical Name in Labview ?
    thanks,
    Gary. 

    Hi Gary,
    Unfortunately there is no function in LabVIEW that does any IVI setup.  All of the configurations for your driver sessions and logical names need to be set in MAX, and saved.  So while you can change the driver session a logical name uses, you can only do this through MAX.
    Kind regards,
    Sheela Sujeeun
    Applications Engineer
    National Instruments UK

  • IOS6.0 - New Map from Apple is wrong capital's name KYLV (correct KYIV or KIEV).

    iOS6.0 - New Map from Apple is wrong capital's name KYLV (correct KYIV or KIEV capital of Ukraine).
    Where is the Numbers of buildings? where is contour of buildings?
    Please come back the App Google Maps!!!

    Tell Apple:
    Launch Maps.
    Tap the page curl at the bottom right.
    Tap the text that says Report a Problem above the Print button, middle right.
    Tap the type of problem you want to report.
    Tap Next.
    Choose the search result, street label, etc. that's giving you the problem.
    Tap Next.
    Add any comments, if asked.
    Tap Send.

  • Persistent mapping from BT hardware to hci name

    I want a stable mapping from bluetooth hardware to hciX under /sys/class/bluetooth, similar to how wlanX maps to wifi chips.
    I wrote a udev rule. The rule is matching correctly by vender/product. But how do i actually change the name? With wlan, i can simply specify NAME="wlan0". Thanks!
    SUBSYSTEM="bluetooth", ATTRS{idVendor}=="foo", ATTRS={idProduct}="bar", RUN+="some_no_op_script.sh"

    I tried that. The name is only recognized by hciconfig. not bdaddr, hcitool or other commands. For example, i can't do
    hcitool -i theNewName scan
    I have to do
    hcitool -i hci1 scan

  • Retrieve data from oracle table, table name passed in runtime into JSP

    Hello All,
    I am new to JSP, i have a requirement,
    I need to retrieve data from oracle table, here table is passed at random. how to get the data displayed in JSP page.
    can any one help me in that
    thanks

    1) Learn SQL.
    2) Learn Java.
    3) Learn JDBC.
    4) Learn DAO.
    5) Learn HTTP.
    6) Learn HTML.
    7) Learn JSP/Servlet.
    8) Learn JSTL.
    9) Apply learned things and develop.
    Whenever you stucks, please come back and post the specific coding/technical problem here.

  • Unable to retrieve data from XML Type

    Hi All,
    I have table which has Column of type XMLType
    XML Data is loaded in the table.
    But when iam trying to extract not able to retrieve the data
    Following is the select query i am using
    SELECT CL.XMLDATA.EXTRACT('/ServiceType/entityName/text()').getStringVal() "entityname" FROM CL_DATA_SERVICE_TEMPLATE CL;
    Any help / pointer will help me a lot... Thanks in advance
    Sample XML File:
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <ServiceType xmlns="http://www.bmiasia.com/tBos/service_1_0">
    <entityName>bmiasia.app.irb.servicetemplate12</entityName>
    <systemVersion>4</systemVersion>
    <displayName>
    <bundle />
    <key>AG-EVC</key>
    </displayName>
    <description>AG-EVC GROUP: AG-EVC</description>
    <category entityName="bmiasia.app.service.category.ServiceRootCategory.AG_-_EVC_Services">
    <operation>ADD</operation>
    </category>
    <entityMetaInfo name="bmiasia.app.irb.servicetemplate12.NC_PRODUCT_ID">
    <type entityName="1"></type>
    </entityMetaInfo>
    <entityMetaInfo name="bmiasia.app.irb.servicetemplate12.NC_GL_PRODUCT_CODE">
    <type entityName="2"></type>
    </entityMetaInfo>
    <entityMetaInfo name="bmiasia.app.irb.servicetemplate12.NC_GL_PROFIT_CENTRE">
    <type entityName="3"></type>
    </entityMetaInfo>
    <entityMetaInfo name="bmiasia.app.irb.servicetemplate12.NC_SERVICE_CODE">
    <type entityName="4"></type>
    </entityMetaInfo>
    <entityMetaInfo name="bmiasia.app.irb.servicetemplate12.RSP_EU_CUST_REF">
    <type entityName="5"></type>
    </entityMetaInfo>
    <entityMetaInfo name="irbPkClass">
    <type entityName="com.convergys.geneva.j2ee.product.ProductPK"></type>
    </entityMetaInfo>
    <entityMetaInfo name="irbId">
    <type entityName="12"></type>
    </entityMetaInfo>
    <extensionProperty name="hasAddress" value="true"></extensionProperty>
    <parent>
    <itemkey>AllServiceTemplate</itemkey>
    <name>AllServiceTemplate</name>
    <targetEntity entityName="bmiasia.app.service.template.AllServiceTemplate"></targetEntity>
    <number>0</number>
    </parent>
    <group>NORMAL</group>
    <siu>
    <itemkey>L2_OPTION</itemkey>
    <operation>ADD</operation>
    <name>L2_OPTION</name>
    <required>true</required>
    <source>INTERNAL</source>
    <displayName>
    <key>L2 Option</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>L3_OPTION</itemkey>
    <operation>ADD</operation>
    <name>L3_OPTION</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>L3 Option</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>QPEVPL_SERVICE_ID</itemkey>
    <operation>ADD</operation>
    <name>QPEVPL_SERVICE_ID</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>QP EVLP Service ID</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>QPEVPL_LAG_ID</itemkey>
    <operation>ADD</operation>
    <name>QPEVPL_LAG_ID</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>QP EVLP LAG ID</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>CO_NAME</itemkey>
    <operation>ADD</operation>
    <name>CO_NAME</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Aggregation Layer / Co Layer</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_SALUTAION</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_SALUTAION</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installation Salutation</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_LASTNAME</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_LASTNAME</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installlation Last Name</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_FIRSTNAME</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_FIRSTNAME</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installation First Name</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_TELEPHONE</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_TELEPHONE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installation Telephone</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_MOBILE</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_MOBILE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installation Mobile</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_EMAIL</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_EMAIL</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installlation Email</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>INSTALL_NOTIFICATION</itemkey>
    <operation>ADD</operation>
    <name>INSTALL_NOTIFICATION</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Installation Notification</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_SALUTAION</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_SALUTAION</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Salutation</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_LASTNAME</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_LASTNAME</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Last Name</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_FIRSTNAME</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_FIRSTNAME</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical First Name</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_TELEPHONE</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_TELEPHONE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Telephone</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_MOBILE</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_MOBILE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Mobile</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_EMAIL</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_EMAIL</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Email</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>TECHNICAL_NOTIFICATION</itemkey>
    <operation>ADD</operation>
    <name>TECHNICAL_NOTIFICATION</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Operational / Technical Notification</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>SERVICE_ACTIVATION_PERIOD</itemkey>
    <operation>ADD</operation>
    <name>SERVICE_ACTIVATION_PERIOD</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Service Activation Period</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>REJECT_CODE</itemkey>
    <operation>ADD</operation>
    <name>REJECT_CODE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Rejection Reason</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>APPLICATION_ACCEPTED</itemkey>
    <operation>ADD</operation>
    <name>APPLICATION_ACCEPTED</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Application Accepted</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.BooleanCheckSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>APPLICATION_REJECTED</itemkey>
    <operation>ADD</operation>
    <name>APPLICATION_REJECTED</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Application Rejected</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.BooleanCheckSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>APPROVAL_CODE</itemkey>
    <operation>ADD</operation>
    <name>APPROVAL_CODE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Approval Code</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>PROCESSED_BY</itemkey>
    <operation>ADD</operation>
    <name>PROCESSED_BY</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Processed By</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>ACTUAL_RFS_DATE</itemkey>
    <operation>ADD</operation>
    <name>ACTUAL_RFS_DATE</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Actual RFS Date</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.DateSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>DISCLAIMER</itemkey>
    <operation>ADD</operation>
    <name>DISCLAIMER</name>
    <required>false</required>
    <source>INTERNAL</source>
    <displayName>
    <key>Disclaimer</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>NC_PRODUCT_ID</itemkey>
    <operation>ADD</operation>
    <name>NC_PRODUCT_ID</name>
    <required>false</required>
    <source>EXTERNAL</source>
    <displayName>
    <key>NC Product ID</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>NC_GL_PRODUCT_CODE</itemkey>
    <operation>ADD</operation>
    <name>NC_GL_PRODUCT_CODE</name>
    <required>false</required>
    <source>EXTERNAL</source>
    <displayName>
    <key>NC GL Product Code</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>NC_GL_PROFIT_CENTRE</itemkey>
    <operation>ADD</operation>
    <name>NC_GL_PROFIT_CENTRE</name>
    <required>false</required>
    <source>EXTERNAL</source>
    <displayName>
    <key>NC GL Profit Centre</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>NC_SERVICE_CODE</itemkey>
    <operation>ADD</operation>
    <name>NC_SERVICE_CODE</name>
    <required>false</required>
    <source>EXTERNAL</source>
    <displayName>
    <key>EUC ID</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.common.StringSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAttribute"></mapping>
    <scope>PRODUCT</scope>
    </siu>
    <siu>
    <itemkey>bmiasia.app.irb.servicetemplate54</itemkey>
    <operation>ADD</operation>
    <name>bmiasia.app.irb.servicetemplate54</name>
    <required>false</required>
    <source>INTERNAL</source>
    <equalsProvider>bmiasia.app.service.spi.AddSvcSIUEqualsProvider</equalsProvider>
    <displayName>
    <key>CIR Per 250Mbps CoS A</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.AdditionalServiceSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAdditionalService"></mapping>
    <scope>SERVICE</scope>
    <outSvcAttr>true</outSvcAttr>
    </siu>
    <siu>
    <itemkey>bmiasia.app.irb.servicetemplate55</itemkey>
    <operation>ADD</operation>
    <name>bmiasia.app.irb.servicetemplate55</name>
    <required>false</required>
    <source>INTERNAL</source>
    <equalsProvider>bmiasia.app.service.spi.AddSvcSIUEqualsProvider</equalsProvider>
    <displayName>
    <key>CIR Per 250Mbps CoS B</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.AdditionalServiceSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAdditionalService"></mapping>
    <scope>SERVICE</scope>
    <outSvcAttr>true</outSvcAttr>
    </siu>
    <siu>
    <itemkey>bmiasia.app.irb.servicetemplate56</itemkey>
    <operation>ADD</operation>
    <name>bmiasia.app.irb.servicetemplate56</name>
    <required>false</required>
    <source>INTERNAL</source>
    <equalsProvider>bmiasia.app.service.spi.AddSvcSIUEqualsProvider</equalsProvider>
    <displayName>
    <key>CIR Per 250Mbps CoS C</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.AdditionalServiceSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAdditionalService"></mapping>
    <scope>SERVICE</scope>
    <outSvcAttr>true</outSvcAttr>
    </siu>
    <siu>
    <itemkey>bmiasia.app.irb.servicetemplate57</itemkey>
    <operation>ADD</operation>
    <name>bmiasia.app.irb.servicetemplate57</name>
    <required>false</required>
    <source>INTERNAL</source>
    <equalsProvider>bmiasia.app.service.spi.AddSvcSIUEqualsProvider</equalsProvider>
    <displayName>
    <key>CIR Per 250Mbps CoS D</key>
    </displayName>
    <type entityName="bmiasia.app.siulib.siu.AdditionalServiceSIU"></type>
    <mapping entityName="bmiasia.app.service.oo.ServiceAndAdditionalService"></mapping>
    <scope>SERVICE</scope>
    <outSvcAttr>true</outSvcAttr>
    </siu>
    <defaultWorkflowInfo>
    <workflow entityName="bmiasia.app.irb.servicetemplate12_Workflow"></workflow>
    <cancelFlow entityName="bmiasia.app.irb.servicetemplate12_CancelFlow"></cancelFlow>
    </defaultWorkflowInfo>
    <source>EXTERNAL</source>
    <additionalServices entityName="bmiasia.app.irb.servicetemplate54">
    <operation>ADD</operation>
    <name>CIR Per 250Mbps CoS A</name>
    </additionalServices>
    <additionalServices entityName="bmiasia.app.irb.servicetemplate55">
    <operation>ADD</operation>
    <name>CIR Per 250Mbps CoS B</name>
    </additionalServices>
    <additionalServices entityName="bmiasia.app.irb.servicetemplate56">
    <operation>ADD</operation>
    <name>CIR Per 250Mbps CoS C</name>
    </additionalServices>
    <additionalServices entityName="bmiasia.app.irb.servicetemplate57">
    <operation>ADD</operation>
    <name>CIR Per 250Mbps CoS D</name>
    </additionalServices>
    <defaultWorkflowDefinition>
    <installSoEntityName>bmiasia.app.template.serviceorder.Installservicetemplate12SO</installSoEntityName>
    <changeSoEntityName>bmiasia.app.template.serviceorder.Modifyservicetemplate12SO</changeSoEntityName>
    <removeSoEntityName>bmiasia.app.template.serviceorder.Removeservicetemplate12SO</removeSoEntityName>
    <workflow>
    <entityName>bmiasia.app.irb.servicetemplate12_Workflow</entityName>
    </workflow>
    <cancelFlow>
    <entityName>bmiasia.app.irb.servicetemplate12_CancelFlow</entityName>
    </cancelFlow>
    </defaultWorkflowDefinition>
    </ServiceType>

    Hi !!
    Now when iam extracting the data for the above xml, using the below query
    SELECT extractvalue(VALUE(p),'/itemkey/*') Name, extractvalue(VALUE(p),'/required/*') Required FROM CL_DATA_SERVICE_TEMPLATE w, TABLE(XMLSEQUENCE(EXTRACT(xmldata,'/ServiceType/siu','xmlns="http://www.bmiasia.com/tBos/service_1_0"'))) p
    I am expecting the output to be something like below
    Name | Required
    L2_OPTION | true
    L3_OPTION | false
    but iam getting the required number of rows but all blank
    Lets take it as O/P should be 20 Rows, then iam getting 20 Rows.... But all are blank
    What is wrong in the query ?
    Can some one point it out

Maybe you are looking for