Please help me assign channel names

Hi Im trying to log select data when any of 24 signals rises above 5 V which I have done with Greater or Equal Express VI. I'm having a hard time getting this data to my file via Write to Measurement File. A waveform plot that I have connected to this signal has no problem extracting the channel names from the signal. However they aren't as easy to get into my data file. I have been searching quite a bit and I know I need to convert to array to get names then back to dynamic for the file making. I'm not having any luck with this approach.  I have quite a few dummy channels involved and I thought about extracting channel names from mx, but obviously I'm only interested in the selected signals of specific channels that have specific voltages.  
Thanks.
Attachments:
need help channel names.png ‏32 KB

Hi nwiman,
I looked a little into your code and I want to point a few things out to you.  I think you now have the Write to Measurement File almost worked out correctly.  Firstly, I want to let you know you are using a DAQmx task, and because we don't have you MAX configuration, we don't know what that is.  I chose to simulate a USB-6351 to get some analog inputs, it is titled Dev1 in my MAX.  Also, to avoid a buffer overflow error from DAQmx while it is waiting for the user to determine the file path, I used a File Dialog express VI to get the path before the While Loop starts.  Lastly I unchecked "Ask user to chose file" in the properties of Write to Measurement File and chose "append to file.  I also want to point out that your code has Tab constants, but the Write to Measurement file is set up for Comma delimited. To show you the functionality of the write to measurement file, I wired the signal after the DAQmx read to the write to Measurement File, and it works how I think you would expect it to.  I recommend using charts for your output signals and when they look like you would expect them, wire them into Write to Measurement File. 
To run the snippet I have attached, you must simulate a USB-6351 in MAX.  Follow this link to add the simulated device to MAX, once it is in MAX you should not need to create a task or anything, just make sure it is named "Dev1".
Regards,
Chris
National Instruments
Applications Engineer
Attachments:
modified.png ‏555 KB

Similar Messages

  • Hello. i have a musical keyboard which is yamaha psr e433 and i want to connect it to my macbook pro. please help me give the name of the connector so i can use it for my band. thank you. your help is much appreciated.

    hello. i have a musical keyboard which is yamaha psr e433 and i want to connect it to my macbook pro. please help me give the name of the connector so i can use it for my band. thank you. your help is much appreciated.

    hello. i have a musical keyboard which is yamaha psr e433 and i want to connect it to my macbook pro. please help me give the name of the connector so i can use it for my band. thank you. your help is much appreciated.

  • Please help with assigning user to a group in AD using dbms_ldap

    Dear gurus of Apex and LDAP!
    Please help me a bit.
    I managed to create any user in AD from Apex using dbms_ldap package and set many of his attributes. But I cannot set that my user belongs to specific group, let's say MY_GROUP. I guess the name of attribute for group is 'member' or 'memberOf', so I tried them both in the same way as I've done for other attributes:
    v_vals(1) := 'MY_GROUP';
    DBMS_LDAP.populate_mod_array(v_array, DBMS_LDAP.MOD_ADD, 'member', v_vals);
    I've got LDAP client/server error: CONSTRAINT violation. 000020B5: AtrErr: DSID-031516FC, #1: 0: 000020B5:
    DSID-031516FC, problem 1005 (CONSTRAINT_ATT_TYPE), DATA 0, Att 1f (MEMBER)
    v_vals(1) := 'MY_GROUP';
    DBMS_LDAP.populate_mod_array(v_array, DBMS_LDAP.MOD_ADD, 'memberOf', v_vals);
    I've got LDAP client/server error: DSA IS unwilling TO perform. 0000209A: SvcErr: DSID-031A0929, problem 5003 (WILL_NOT_PERFORM), DATA 0
    After that I've tried to extend group name to string, which is shown in LDAP browser for attribute 'memberOf' (when I've added it manualy):
    v_vals(1) := 'CN=MY_GROUP,OU=GROUPS,OU=Allianz,DC=allianz,DC=com';
    DBMS_LDAP.populate_mod_array(v_array, DBMS_LDAP.MOD_ADD, 'member', v_vals);
    I've got LDAP client/server error: OBJECT CLASS violation. 0000207D: UpdErr: DSID-03150913, problem 6002 (OBJ_CLASS_VIOLATION), DATA 0
    v_vals(1) := 'CN=MY_GROUP,OU=GROUPS,OU=Allianz,DC=allianz,DC=com';
    DBMS_LDAP.populate_mod_array(v_array, DBMS_LDAP.MOD_ADD, 'memberOf', v_vals);
    LDAP client/server error: DSA IS unwilling TO perform. 0000209A: SvcErr: DSID-031A0929, problem 5003 (WILL_NOT_PERFORM), DATA 0
    I've also tried some other variants (without 'CN=' and without 'OU=GROUPS,OU=Allianz'), but still no success.
    Search of this forum and even google didn't help either :(
    Please, help me to find the correct syntax for it or tell me if it's not possible.
    Thanx in advance,
    Vladimir

    Vladimir ,
    firstly the attributes member and memberOf are special attributes in AD having a set of predefined values. Hence an error will be thrown if you try to assign them values like 'MY_GROUP'. There are two basic solutions to this problem : Either you define an OU in your AD which will act as your 'MY_GROUP'. This is a quick fix solution and is not robust at all. The other solution is to add your own property in the tree , something like 'roleCode', you can then assign it any value you want.
    But the problem now is, AD does not allow addition of new attributes in the structure. You have to use ADAM in for this and you can specify a common linking mechanism between AD and ADAM now such as email address can act as the link between both the directories.
    Hope this helps
    Shantanu

  • Help, Ni-Daq channel names and labview program error 10001?

    Can anyone please help me, I have inherited a role that I know nothing about. I have managed to get an NT pc to now recognise the SC-2345 board, set up and configure two channels and test them in Measurement and Automation program, this I managed after getting error 10401 and looking within these message boards which are very good.
    I have then started a labview program, previously written by ex-employee, and now get error 10001, after trawling the FAQ and forums I think that I have a naming error in the virtual channels created, how do I find out what the channels should be named within the Labview program, do I need to load an editor etc and then open a config file?
    Sorry if this seams like a simple error, but I am trying to learn the software from a book that is a little tattered.
    Regards

    Hi,
      error 10001 can be caused by a few things including an incorrect scanning order.
    If you'd like to post your code back onto here (or if it's large, ftp it to ftp.ni.com/incoming and let use know the name of the zip file you've packaged it into), then we can see what the DAQ section is supposed to be doing and hopefully provide some clues as to where to look for the information / why the error is occuring.
    The first thing to do is go back to Measurement and Automation explorer and try setting up a global task that refers to the channels you're interested in.
    This removes the programming side of things, since you select from drop down lists, to verify that you can communicate correctly with the hardware at the rates and across the channels that you want.
    These links is going to be your best learning point for getting up an running with the program.
    http://digital.ni.com/public.nsf/allkb/DD52ABD7C15F0B15862562910074F09E
    http://zone.ni.com/devzone/cda/tut/p/id/3116
    http://zone.ni.com/devzone/cda/tut/p/id/4656
    In terms of LabVIEW, there's several I/O controls you can use which will list the hardware channels you have configured or the global tasks you have created in Measurement and Automation explorer. (see the last link above)
    Another option is to look at our Alliance Partners if you need things configured and up and running in a hurry.
    http://www.ni.com/alliance
    If you just need a little pointer on getting kicked off, then you could see if you local sales engineer is available to go through things with you for an hour if they're in your area at a convenient time (for the UK / Ireland, please call in on 01635 572410 and ask to go through to sales), or we do offer start-up assistance (but that's something you need to purchase) to get a day's onsite assistance with getting your hardware up and running and starting you off with advice / examples on your application (note this is an effort based thing rather than a results based guarantee)
    Finally you could consider coming on one of our courses on LabVIEW and / or Data Acquisition to learn more about the software / hardware and be better prepared to handle the implementation yourself.
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    Message Edited by SachaE on 03-23-2007 11:49 AM
    // it takes almost no time to rate an answer

  • Can you please help me change the name of my device in iPhoto?

    I am trying to find out a way to change my new sony dsc-h70 camera from "no name" to it's proper name in iphoto. I've googled it, but cannot find any information other than you can change the name in Finder. I cannot figure out how to do this and have been working on it for half an hour in Finder with no luck. Everything works the way it is supposed to, photo's import, etc., I'd just really like to change the name. Can someone please send me step by step instructions? Thanks

    Take the memory card out of the camer and put it in a card reader.  When it mounts on the desktop select it and try to change the name.  However, that might make it incompatible with the camera.  You'll just have to try and see.
    OT

  • Please help with assignement

    ok so i have this assignment and im nearly 80 % done. here's what i have to do: Play a number guessing game. This game is to have the computer pick a number
    between 1 and 30. Take this number, and pass it into a method that allows for the user
    to guess it. Let the computer tell the user to pick a higher or lower number if they guess
    wrong. If the guess is right, use another method to pick one of 3 random responses
    congratulating them.
    here is my code so far:
    import java.awt.*;
    import hsa.Console;
    public class CPTaa
        static Console c; // The output console
        public static void main (String[] args)
            c = new Console ();     
    int dice1, dice2, dice4, dice5, num;
                        double dice3;
                        dice1 = (int) (Math.random () * 100) + 1;
                        c.print (dice1);
                        dice2 = 0;
                        num = 100;
                        for (int i = 0 ; i < num ; i++)
                            c.print ("Enter a number from 1 to 100: ");
                            dice2 = c.readInt ();
                            if (dice2 > dice1)
                                c.print ("Smaller ");
                            if (dice2 < dice1)
                                c.print ("Higher ");
                            if (dice1 == dice2)
                                c.print ("You got it right");
    }i need to do the 3 random congratulations part

    ok so i have this assignment and im nearly 80 % done.
    here's what i have to do: Play a number guessing
    game. This game is to have the computer pick a
    number
    between 1 and 30. Take this number, and pass it into
    a method that allows for the user
    to guess it. Let the computer tell the user to pick a
    higher or lower number if they guess
    wrong. If the guess is right, use another method to
    pick one of 3 random responses
    congratulating them.
    Follow your specs and create some methods. Do not cram everything into the main method. Also the specs say from 1 to 30 but you have 1 to 100.

  • Please Help me in Assigning New Id for Different persons

    version 11g
    please Help me in assiging new person id for dirrerent persons if there middle name is different
    I listed Out Three Scenarios in the below example. Please help me out
    WITH NAMES AS(
    /* Scenario1 -- Three dirrerent people so assign Three diffrrent ID,
                      keeping 1 id as is and assign two new ids from sequence*/
    SELECT 47540310 ID , 'WO' LAST_NAME , 'ROBERT' FIRST_NAME , 'C' MIDDLE_NAME FROM DUAL UNION ALL 
    SELECT 47540310 ID , 'WO' LAST_NAME , 'ROBERT' FIRST_NAME , 'W' MIDDLE_NAME FROM DUAL  UNION ALL 
    SELECT 47540310 ID , 'WO' LAST_NAME , 'ROBERT' FIRST_NAME , 'X' MIDDLE_NAME FROM DUAL  UNION ALL 
      /* Scenario2 NULL can be equal to any value if there is only one value to equate with
        In the below case we have two values that can equate with null so assign three diffrent ids */
    SELECT 47540300 ID , 'AMATUZIO' LAST_NAME , 'ALBERT' FIRST_NAME , 'J' MIDDLE_NAME FROM DUAL UNION ALL 
      SELECT 47540300 ID , 'AMATUZIO' LAST_NAME , 'ALBERT' FIRST_NAME , NULL MIDDLE_NAME FROM DUAL  UNION ALL
    SELECT 47540300 ID , 'AMATUZIO' LAST_NAME , 'ALBERT' FIRST_NAME , 'L' MIDDLE_NAME FROM DUAL  UNION ALL
      /* Scenario3 NULL can be equal to any value if there is only one value to equate with
        In the below case we have ONE VALUE  that can equate with null so DONT ASSIGN ANY IDS*/
    SELECT 17540300 ID , 'AMARONE' LAST_NAME , 'JOSEPH' FIRST_NAME , 'J' MIDDLE_NAME FROM DUAL UNION ALL  
    SELECT 17540300 ID , 'AMARONE' LAST_NAME , 'JOSEPH' FIRST_NAME , NULL MIDDLE_NAME FROM DUAL
    Select * from names
    o/P Required
    ID    LAST_NAME    FIRST_NAME    MIDDLE_NAME
    47540310    WO      ROBERT          C
    99999990    WO      ROBERT          W                   -- New Sequence Number
    99999991     WO      ROBERT         X                   -- New Sequence Number
    47540300    AMATUZIO    ALBERT    J
    99999992    AMATUZIO    ALBERT                          -- New Sequence Number
    99999993    AMATUZIO    ALBERT    L                     -- New Sequence Number
    17540300    AMARONE    JOSEPH    J
    17540300    AMARONE    JOSEPH    Thanks
    Edited by: new learner on Jun 7, 2012 2:12 PM

    I don't understand what this line is doing:
    FIRST_VALUE (fn_get_person_id) -- sequence for the functionI have the impression that the only difference with my query is to select distinct values not to consider duplicates. Correct me if I'm wrong.
    To me this one should give the same result as your query:
    WITH NAMES AS ( /* Scenario1 -- Three dirrerent people so assign Three diffrrent ID, keeping 1 id as is and assign two
    new ids from sequence*/
                   SELECT   47540310 ID,
                            'WO' LAST_NAME,
                            'ROBERT' FIRST_NAME,
                            'C' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   47540310 ID,
                            'WO' LAST_NAME,
                            'ROBERT' FIRST_NAME,
                            'C' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   47540310 ID,
                            'WO' LAST_NAME,
                            'ROBERT' FIRST_NAME,
                            'W' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   47540310 ID,
                            'WO' LAST_NAME,
                            'ROBERT' FIRST_NAME,
                            'X' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   /* Scenario2 NULL can be equal to any value if there is only one value to equate with
                     In the below case we have two values that can equate with null so assign three diffrent ids */
                   SELECT   47540300 ID,
                            'AMATUZIO' LAST_NAME,
                            'ALBERT' FIRST_NAME,
                            'J' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   47540300 ID,
                            'AMATUZIO' LAST_NAME,
                            'ALBERT' FIRST_NAME,
                            NULL MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   47540300 ID,
                            'AMATUZIO' LAST_NAME,
                            'ALBERT' FIRST_NAME,
                            'L' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   /* Scenario3 NULL can be equal to any value if there is only one value to equate with
                     In the below case we have ONE VALUE  that can equate with null so DONT ASSIGN ANY IDS*/
                   SELECT   17540300 ID,
                            'AMARONE' LAST_NAME,
                            'JOSEPH' FIRST_NAME,
                            'K' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   17540300 ID,
                            'AMARONE' LAST_NAME,
                            'JOSEPH' FIRST_NAME,
                            'Y' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   17540300 ID,
                            'AMARONE' LAST_NAME,
                            'JOSEPH' FIRST_NAME,
                            NULL MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   17540300 ID,
                            'AMARONE' LAST_NAME,
                            'JOSEPH' FIRST_NAME,
                            'M' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   17540300 ID,
                            'AMARONE' LAST_NAME,
                            'JOSEPH' FIRST_NAME,
                            'M' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   99999999 ID,
                            'LO' LAST_NAME,
                            'CHRISTY' FIRST_NAME,
                            NULL MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   99999999 ID,
                            'LO' LAST_NAME,
                            'CHRISTY' FIRST_NAME,
                            'M' MIDDLE_NAME
                     FROM   DUAL
                   UNION ALL
                   SELECT   99999999 ID,
                            'LO' LAST_NAME,
                            'CHRISTY' FIRST_NAME,
                            'M' MIDDLE_NAME
                     FROM   DUAL),
    sel_names AS (  SELECT id
                              , last_name
                              , first_name
                              , middle_name
                              , COUNT (middle_name) OVER (PARTITION BY id ORDER BY middle_name) cnt
                              , ROW_NUMBER () OVER (PARTITION BY id  ORDER BY middle_name) rown
                           FROM (SELECT DISTINCT * FROM names) -- use SELECT DISTINCT here to remove duplicates
                       ORDER BY 1, 2, 3, 4
    SELECT 8888888 new_id, id, last_name, first_name
         , middle_name
      FROM sel_names
    WHERE cnt > 1 AND rown > 1;As you can see I have only replace the the table with an inline view using SELECT DISTINCT *
                           FROM (SELECT DISTINCT * FROM names) -- use SELECT DISTINCT here to remove duplicatesFor the new id I have put a dummy value 888888, you may use a function or a sequence according to your needs.
    Regards.
    Al

  • All Emails Sent to Verizon Email Addresses Are Blocked - Please Help

    Hello,
    Email messages that our company sends to Verizon recipients are being blocked by the anti-spam system. I have copied a sample failure message below. I have submitted whitelist requests several times, but get automated messages in return saying the IP is dynamically assigned (see below). Our IP address is static, not dynamically assigned. No spam is going out from the system, and we are not on any of the blacklists. Our emails to [email protected] and [email protected] are also being blocked, so I have found nowhere else to turn for assistance.
    Can you please help or assign an agent to help us in this matter? We have many customers who are not receiving their online purchases or responses to their requests for assistance from us because Verizon is blocking all emails to them from our servers. We certainly don't want to have to post to our online store that we cannot sell to or assist anyone with a Verizon email address.
    The mail server in question is: *******
    IP address: ******
    Your help would be greatly appreciated.
    Thank you,
    TraciG
    MailEnable: Message Delivery Failure.
    Reason: ME-E0193: [629A7226243B4A9D90F818B13EEF69C2.MAI] Message Delivery Failure.
    Your message addressed to the target domain (verizon.net) could not be delivered because the mail server responsible for this domain returned a permanent error.
    The server returned:
    571 Email from ****** is currently blocked by Verizon Online's anti-spam system. The email sender or Email Service Provider may visit http://www.verizon.net/whitelist and request removal of the block. 141223
    After investigation, Verizon Online Security has determined that e-mail from your IP address will not be allowed access to the Verizon Online e-mail domain due to one or more of the following reasons:
    Your IP has been blocked because of spam issues or because your ISP indicates that it is dynamically assigned
    Once you have addressed any security-related issues on your network, you should  contact Verizon Online Security via this form. At that time, we will work with you to restore normal e-mail traffic or to take other action as we deem appropriate.
    Sincerely,
    Verizon Online Security
    http://www2.verizon.net/policies
    [email protected]
    Solved!
    Go to Solution.

    Hi TraciG,
    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you. Please go to your profile page for the forum and look at the top of the middle column where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under "My Support Cases" you will find a link to the private board where you and the agent may exchange information. The title of your post is the link. This should be checked on a frequent basis, as the agent may be waiting for information from you before they can proceed with any actions. To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe". Please keep all correspondence regarding your issue in the private support portal.

  • I bought macbook pro used one because i wanna start to develop ios apps and i need Mavericks if it is a possible my mac is 10.6 please help me apple

    i bought macbook pro used one because i wanna start to develop ios apps and i need Mavericks if it is a possible my mac is 10.6 please help me apple
    Model Name: MacBook Pro
      Model Identifier: MacBookPro5,5
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.26 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 1.07 GHz
      Boot ROM Version: MBP55.00AC.B03
      SMC Version (system): 1.47f2
      Serial Number (system): W8******66D
      Hardware UUID: *****
      Sudden Motion Sensor:
      State: Enabled
    <Edited By Host>

    Back up your data, check your applications for compatibility, and download Yosemite from the Mac App Store.
    (121877)

  • Query Performance Please Help

    Hi can any body tell me how do I improve the performance of this query.This query takes forever to execute.
    PLEASE HELP
    select substr(d.name,1,14) "dist",
    sum(r.room_net_sq_foot) "nsf",
    sum(r.student_station_count) "sta",
    sum(distinct(r.cofte)) "fte"
    from b_fish_report r,
    g_efis_organization d
    where substr(r.organization_code,-2,2) = substr(d.code,-2,2) and
    d.organization_type = 'CNTY' and
    r.room_satisfactory_flag = 'Y' and
    substr(d.code,-2,2) between '01' and '72'
    -- rownum < 50
    group by d.name, r.organization_code
    order by d.name
    It has nonunique Indexes on Organization code
    Thanks
    Asma.

    Asma,
    I tried your SQL on my tables T1 and T2. Indexes are on C1,C2,C3 and N1,N2,N3. The data in T1 and T2 are shown below with the explain plan (also called EP) listed. You really need to do an explain plan (free TOAD is easiest to do this in) and respond showing your EP results.
    By simply changing the optimizer mode to RULE I was able to get it to use indexes on both T1 and T2.
    T1 data
    C1     C2     C3     N1     N2
    001     Y     AAA     1     11
    002     Y     BBB     2     22
    003     Y     CCC     3     33
    111     N     DDD     4     44
    222     N     EEE     5     55
    333     Y     FFF     6     66
    070     Y     GGG     7     77
    071     N     HHH     8     88
    072     Y     III     9     99
    TEST     TEST     TEST     10     100
    T2 data
    C1     C2     C3     N1     N2
    001     CNTY     AAA     1     11
    002     CNTY     BBB     2     22
    003     CNTY     CCC     3     33
    111     XXX     DDD     4     44
    222     XXX     EEE     5     55
    333     CNTY     FFF     6     66
    070     CNTY     GGG     7     77
    071     XXX     HHH     8     88
    072     CNTY     III     9     99
    TEST     TEST     TEST     10     100
    This is the results when I run the SQL based on this data ...
    dist     nsf     sta     fte
    AAA     1     11     10
    BBB     2     22     20
    CCC     3     33     30
    FFF     6     66     60
    GGG     7     77     70
    III     9     99     90
    --[SQL 1] : with CHOOSE as the optimizer mode, which is normally the DEFAULT if no hint is specified
    select /*+ CHOOSE */
    substr(d.c3,1,14) "dist",
    sum(r.n1) "nsf",
    sum(r.n2) "sta",
    sum(distinct(r.n3)) "fte"
    from t1 r, t2 d
    where substr(r.c1,-2,2) = substr(d.c1,-2,2) and
    d.c2 = 'CNTY' and
    r.c2 = 'Y' and
    substr(d.c1,-2,2) between '01' and '72'
    group by d.c3, r.c1
    order by d.c3
    This is what the EP shows for your SQL (which will probably be the same for you once you do an EP on your actuall sql) ...
    SELECT STATEMENT Optimizer=CHOOSE (Cost=4 Card=1 Bytes=37)
    SORT (GROUP BY) (Cost=4 Card=1 Bytes=37)
    NESTED LOOPS (Cost=2 Card=1 Bytes=37)
    TABLE ACCESS (FULL) OF T1 (Cost=1 Card=1 Bytes=12)
    TABLE ACCESS (BY INDEX ROWID) OF T2 (Cost=1 Card=1 Bytes=25)
    INDEX (RANGE SCAN) OF I_NU_T2_C2 (NON-UNIQUE)
    Notice the FULL table scan of T1 which you don't want, and neither C1 index is getting used (I've explained why below).
    --[SQL 2] : only changed the hint to RULE ...
    select /*+ RULE */
    substr(d.c3,1,14) "dist",
    sum(r.n1) "nsf",
    sum(r.n2) "sta",
    sum(distinct(r.n3)) "fte"
    from t1 r, t2 d
    where substr(r.c1,-2,2) = substr(d.c1,-2,2) and
    d.c2 = 'CNTY' and
    r.c2 = 'Y' and
    substr(d.c1,-2,2) between '01' and '72'
    group by d.c3, r.c1
    order by d.c3
    SELECT STATEMENT Optimizer=HINT: RULE
    SORT (GROUP BY)
    NESTED LOOPS
    TABLE ACCESS (BY INDEX ROWID) OF T2
    INDEX (RANGE SCAN) OF I_NU_T2_C2 (NON-UNIQUE)
    TABLE ACCESS (BY INDEX ROWID) OF T1
    INDEX (RANGE SCAN) OF I_NU_T1_C2 (NON-UNIQUE)
    Though the C2 index is getting used (your r.c2 = 'Y' part in the where clause) the main problem your having here is the JOIN column (C1 in both tables) is not getting used. So the join you have ...
    where substr(r.c1,-2,2) = substr(d.c1,-2,2)
    isn't using an index and you want it too. There are 2 solutions to correct this..
    Solution #1
    The first is to make a function-based index for data. Since your doing SUBSTR on C1 that C1 index does not contain that partial information so it will not use it. Below is the syntax to make a function based index for this partial data ...
    CREATE INDEX I_NU_T1_C1_SUBSTR ON T1 (SUBSTR(C1,-2,2));
    CREATE INDEX I_NU_T2_C1_SUBSTR ON T2 (SUBSTR(C1,-2,2));
    or also this way if it's still not using the above indexes ...
    CREATE INDEX I_NU_T1_C1_SUBSTR ON T1 (SUBSTR(C1,-2,2),C1);
    CREATE INDEX I_NU_T2_C1_SUBSTR ON T2 (SUBSTR(C1,-2,2),C1);
    Solution #2
    The second solution is to make another column in both table and place this 2 digit information in it, and then index this new column. That way the join will look like ...
    where r.c_new_column = d.c_new_column
    and
    r.c_new_column between '01' and '72'
    also with this new column the BETWEEN clause at the end you will not need the substring as well. Also remember BETWEEN on character values is different than numbers.
    Final Notes
    I just tried creating the functional index and I can't get it to be used it for some reason (I might not have the right amount of data), but I really think that is your best option here. As long as it uses the functional index you won't have to change your code. You might want to try using INDEX() in the hint to get it to be used, but hopefully it will use it right away. Try all 4 types of optimizer modes (CHOOSE, RULE, ALL_ROWS, FIRST_ROWS) in your primary hints to see if it will use the new function-based index.
    You really do need to get explain plan going. Even if you make these functional indexes you won't know if its going to be using them until you look at the EP results. You can do EP manually (the SQL of how to produce the results is in OTN, though I find free TOAD is by far the easiest) and you will still need to have run the utlxplan.sql script. Oracle I do think has some GUI tools, maybe in OEM, that have explain plan built in as well.
    I hope this helps ya,
    Tyler D.

  • I downloaded the Mac Guard malware today. Then downloaded Apple update to remove it. But it was compromised for like 3 hours. Do I need to cancel all my credit cards now? I'm so freaked out! Please help.

    I downloaded the Mac Guard malware this am. Then downloaded Apple update to remove it this afternoon. But it was compromised for like 3 hours. Do I need to cancel all my credit cards now? I'm so freaked out! Please help.

    If you supplied name, card number, expiry etc. then your details are already available for sale/abuse and you should cancel at once.

  • Skype Account Blocked With 146$ Credit Please Help

    My SKype Account got blocked this morning please help me i have 146$ Skype Credit On  It I DOnt Want It TO Be Wasted Or If There Is any way i can transfer that credit to my anathor skype account ...
    please help me
    my skype name is tootsch

    tootsch wrote:
    My SKype Account got blocked this morning 
    Please file with Customer Support.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • How to generate file name dynamically in receiver FIle adapter? Please help

    Dear Experts,
       I have a scenario where I need to generate output file with the name dynamically pulled from the XI payload.
       In receiver File communication channel I don't see any option where we can specify the XML path for the file name.
       For example:
       If my inbound XML structure (inbound interface) is like below:
       <filename>file123.txt</filename>
       <RootNode>
             <Element1>Product123</Element1>
       <RootNode>
      From this I need to pick the filename value and generate the output file with the same value.
      How can I achieve this? Please help!
    Thanks & Regards
    Gopal
    Edited by: gopalkrishna baliga on May 3, 2011 1:10 PM

    Gopal,
    You can use DynamicConfiguration class for this.
    You need to write UDF for this and with input of filename you want to set and map this UDF to the top level node.
    Refer the below famous blog from Micheal:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    You can also use Variable substitution to get value from payload, search SDN on this.
    --Divyesh Vasani

  • Please Help. Problem Assigning Datasource

    I created a test Master data Infoobject abc_xxx and loaded data and then after testing deleted it. Now when I am trying to assign  a new datasource to an existing Infosource from where I loaded data into the test Infoobject , I am getting error message that there there is no InfoProvider or data target named abc_xxx.
    Could anybody please help me out here?
    Thanks in advance.

    I am getting error message that there "there is no InfoProvider or data target named abc_xxx(name of Infoobject)"
    If you are not trying to use this infoobject, the above message should not appear at all.
    Please follow the following steps to assign a source system.
    1. Goto Source Systems and check the source system u want to use is in Active state.
    2. right-click on ur InfoSource -> Assign Datasource
    3. from the drop-down, selet ur source system
    4. choose a datasource if the source is r/3
    5. modify/change transfer structure/comm structure/transfer rules
    6. save n activate.
    Hope this helps.

  • Compressor only exporting left audio channel in AIFF! Please help!!

    Hi, I just realized that the files that I have been exporting using compressor have been only exporting the left channel of audio. I am not sure what the problem is and would appreciate any help anyone could give me, as I'm on a big deadline and need to solve this ASAP.
    The way I've been doing it, is I right click on the sequence name in Final Cut Pro and select Export > Export Using Compressor. Then I selected the DVD Best Quality 90 Minutes option. The AIFF file that is created seems to only have audio in the left channel. The original files themselves are definitely stereo, and play both channels in Final Cut.
    I really don't understand. The Inspector within Compressor shows this information for the AIFF file:
    File Extension: aiff
    Estimated file size: unknown
    Audio Encoder: 16-bit Integer (Big Endian), Stereo (L R), 48.000 kHz
    It says Stereo, so I don't know what the problem is! Please help!!!

    Glad I could help.
    Sorry for being a bit unclear, and actually misguiding you a bit on the reference files. Reference files are referring to the original media/render files. As long as you do not change the actual media/render files, you should be able to do changes to your FCP project. If you have not rendered before you export a QuickTime Movie reference file of your sequence, it will render on the fly and put the render files inside the reference file with the audio.
    I would recommend reading more about self-contained files and reference files in the Final Cut Pro User Manual -> Volume IV -> Part III -> Exporting QuickTime Movies -> Choosng the Type of QuickTime Movie to Export
    From the manual:
    Choosing the Type of QuickTime Movie to Export
    You can create two kinds of QuickTime movies with the Export QuickTime Movie command—a self-contained movie or a reference movie.
    Self-contained movie: A self-contained movie contains the video and audio media— all of the data used to create your movie is within a single file. This single file can be safely and easily copied to another computer without worrying that you need other files to play it back.
    Reference movie: A reference movie is a very small file that contains pointers, or references, to all of the captured clips used in your sequence. The actual media is located in the original media files. If you rendered your transitions and effects before creating the reference movie, then there are pointers to your render files as well. Otherwise, all of your transitions and effects are rendered using the current level of compression, and then embedded inside the resulting reference movie, increasing its size. All audio tracks, mixing levels, cross fades, and audio filters are rendered and the resulting stereo or mono audio tracks are embedded in the reference movie.
    Exporting a reference movie saves time, since you don’t have to wait for every frame of your edited sequence to be duplicated. It also saves hard disk space, since pointers to other files require little space. Reference movies are particularly useful when outputting your sequence for compression using a third-party compression utility.
    However, reference movies are not very useful as a means of delivering video files to other people. If you give someone a reference movie, you must also give them the original video files associated with that movie, which can be complicated since you may not know where all the referenced media is stored on disk.
    In general, exporting reference movies increases the risk that the movie may not play back. Reference movies are best used when you have short-term uses for the exported movie file, and you only plan to use them on the system you exported them to.

Maybe you are looking for

  • Basic Output program need some help...Please

    import java.io.*; class FileOutputDemo public static void main(String args[]) int one=1, two=2, three=3;      FileOutputStream out; // declare a file output object      PrintStream p; // declare a print stream object      try           // Create a ne

  • Problem of my iPod with speaker/charger

    I have bought a new charger and a pair of new speakers. I plug the charger to my iPod, it can charge my iPod. But when I want to play with the games in my iPod when charging, the monitor of the iPod doesn't work!! This problem also occurs when I plug

  • BI Java SDK in BI 7.0: Read Time out when executing MDX Statements

    Hi all, we´ve implemented some functions with the BI JAVA SDK which gets informations out of our BI via the SOAP / XMLA  Service. For some Queries this is not working and the following exception occurs on Java Side: --- snip ---      Caused by: java.

  • I'm generating an actionsript app with Flash, but I can't get the effects to display properly

    When I publish the app as CPU, the effects display, but the video runs choppy. When I generate it as GPU, the video runs fine, but no of the effects display.

  • You suck verizon & HTC

    In so many ways verizon and HTC are being corporate monsters who don't care to tick off its customers any longer, and this needs to end. I hope everybody will read this and help towards stopping verizons corrupt practices, please post your horror sto