Acquire mode average Oscilloscope Agilent DSO-X-2002A

Hi. I’m trying to use the Oscilloscope Agilent DSO-X-2002A with the LabVIEW 2009. My problem it’s about read a waveform for a channel, when I had configured the acquire mode on average. I.E. When I use the example code “Read Waveforms (Single).vi” located in the public data directory of the “Agilent 2000 3000 X-Series” I read the waveforms when the acquire mode is normal (the example code could plot the waveform), but when it’s on average, I don’t obtain anything (the example code couldn't plot the waveform). Maybe there is something that I’m not considering, could you advise me?

Hello,
Does the Vi return some error message after executing? What channel settings are you using on the example?
Have a nice Day!
Felipe Flores
Engenharia de Aplicações
National Instruments Brasil

Similar Messages

  • Acquire mode average Oscillosco​pe Agilent DSO-X-2002​A

    Hi. I’m trying to use the Oscilloscope Agilent DSO-X-2002A with the LabVIEW 2009. My problem it’s about read a waveform for a channel, when I had configured the acquire mode on average. I.E. When I use the example code “Read Waveforms (Single).vi” located in the public data directory of the “Agilent 2000 3000 X-Series” I read the waveforms when the acquire mode is normal (the example code could plot the waveform), but when it’s on average, I don’t obtain anything (the example code couldn't plot the waveform). Maybe there is something that I’m not considering, could you advise me?

    Hello,
    if you're interested in LabVEW, you should better post related questions in the LabVIEW forum here, this one is focused on LabWindows/CVI

  • Acquire data from agilent dso 3104 in avraging mode

    Hi. I’m trying to use the Oscilloscope Agilent DSO-X-3104 A with the LabVIEW 2010. My problem it’s about read a waveform for a channel, when I had configured the acquire mode on average. I.E. When I use the example code “Read Waveforms (Single).vi” located in the public data directory of the “Agilent 2000 3000 X-Series” I read the waveforms when the acquire mode is normal (the example code could plot the waveform), but when it’s on average, I don’t obtain anything (the example code couldn't plot the waveform). Maybe there is something that I’m not considering, could you advise me?

    I am running labview code for DSO "Agilent 2000 3000 X series" (downloaded from http://forums.ni.com/ni/attachments/ni/140/47325/1/agilent_2000_3000_x-series.zip). VI examples: "acquire waveform single" / "acquire waveform continuously", but it only acquires in normal mode. whenever i change to average mode manually or through "configure acquisition" VI, i get the same error message: No data for operation on PC as well as oscilloscope and Query unterminated.
    Pl find attached the error message.
    If i run "read current waveform" VI , even then , averaging mode is not being supported.
    I have not changed the default time out values in the default VI's or sub VI's. Pl advise on what values to take for sampling in 5Gsa/sec and averaging mode in 256 samples DSO setup.
    Attachments:
    error.jpg ‏40 KB

  • Error in acquiring waveform from the agilent 54621A oscillosco​pe .

    error  1074003951 occurs when  acquiring waveform from  the agilent 54621A oscilloscope.
    I have installed
    agilent 546xx series instrument driver
    NI VISA 14.0

    The *IDN command is sent and i have chequed the VISA read it returns the correct string .The error still exists i have attached the block program
    Attachments:
    AGILENT 54621A Acquire Waveform.vi ‏16 KB

  • Acquire data from oscilloscope DPO2024

    I am trying to acquire data from oscilloscope DPO2024 using labview. I am able to do so, but my vi file works only for channel 1. Other than channel 1, it do not work and instead, it changes the setting of oscilloscope as well. Find the vi files attached.
    Any help is much appreciated.
    Solved!
    Go to Solution.
    Attachments:
    data_acquire_oscilloscope1.vi ‏28 KB

    1.  You only need to initialize the scope once.  You not need to branch the VISA Resource wire.  Call the Initialize, Setup Channel 1, and then Setup Channel 2 all chained together.
    2.  Use Build Array to create your array of channels.  The Merge Signals is a completely backwards way to do it.
    3.  You only need to close the instrument once.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • GX640 modded BIOS for Agility 4 SSD in AHCI

    So...I'm having problems with a new Agility 4 SSD and my GX640.
    It's not recognized by the BIOS in AHCI mode, but it is in IDE.
    Is it possible to mod the bios (1656.10F) to make this work?
    Also, is it possible to flash back to stock BIOS if necessary?
    I'll donate once you confirm that this is possible.
    Thanks--
    Greg

    Yes its possible.
    Quote
    Also, is it possible to flash back to stock BIOS if necessary?
    Yep

  • Connection with LabView & 54600B Oscilloscope & Agilent E4438C

    Hi,
        I am trying out an exercise on receiving the data from the 54600B oscilloscope into LabVIEW Analog and Digital Modulations VIs. Currently, i am trying out on ASK modulation and i want to grab the signal/waveform from the scope and display in the ASK modulation exactly the same as ASK modulation graph. And this ASK modulation will be used as SubVIs,which can be seen from the attachment to have a clearer image on the work.Can anyone please help me??This is very important because it is my project work..Thanks Alot!
    Attachments:
    ASK modulation_modify2.zip ‏854 KB

    Hi,
        yes, that's the graph i am talking about. I think you can see it the ranges and position beside the graph belong to it and have their 'default' setting of scales which is autoscale but i cannot see(or display another) the waveform in the graph when i run my exercise. So i have to set the scales manually instead of using the default scales. For a clearer explaination, eg. i set my scope and display a waveform i want, but when i run the exercise, not only the "signal generator information graph" did not display the desired waveform i want in addition, it affect and change the waveform in the scope too (some time too big and scope hang for a few sec or other waveform). that's why i have to set the setting of the "signal generator information graph" manually but i don't know in order to set the value of those ranges and position,what factor or condition i must take into consideration. I did know can change the scale, thanks but i don't know how to set to a correct scales as i have failed for many times in displaying the waveform correctly both in scope and LabVIEW "signal generator information graph".

  • How can I acquire trace data from Agilent(HP)8510c Network Analyser in VB6 using PCI-GPIB and NI-488.2.

    I am developing an application in VB6 for measurements with Agilent (HP)8510C network Analyser using NI-488.2 and National Instrument PCI-GPIB card. I want to take data for the whole 51 points. In HPBASIC which used to be employed for this purpose it is done using OUTPDATA command and the data is in a 2-dimensional array. How can I do this in VB6 with the hardware above.
    kapil

    Hi Kapil:
    Please refer to a previous post on the same topic:
    http://forums.ni.com/ni/board/message?board.id=140&message.id=7758#M7758
    Although this is for C++, the basic functionality should be the same. Since OUTPDATA is from a specific instrument driver, your best bet will be comparing it to the instrument drivers mentioned in the previous post.
    Thank you,
    Emilie S.
    National Instruments
    Applications Engineer

  • Acquiring and Averaging DAQmx Values

    All,
    I am aquiring two voltage signals, one from a differential probe and one from a clamp-on current probe.
    Two questions:
    1.  How do I configure my DAQ device, a USB-6212 in this instance, to aquire one signal on AI 0 and the other signal on AI1?
    2.  Is there an automated way to do the averaging?  My For Loop works, but it is not elegant.
    As always, any help would be greatly appreciated.  Image and LV2009 code attached.
    Thanks!
    Attachments:
    Fluke Voltage and Current.JPG ‏70 KB
    Read and Graph Fluke Voltage and Current.vi ‏18 KB

    To use a different scale for each, wire one DAQmx Create Channel to the next with the same task - not separately as you have done.

  • Test Equipment for Power Supply

    Hi ,
    I want to develop a test software for power supply using LabVIEW which we can use for our mass production.
    We are currently using the following for the development stage.
    1. Digital Multimeter(Topward 1330)
    2.Oscilloscope(Agilent DSO 6054A)
    3.Programmable AC Source(Chroma 6430)
    4. DC electronic Load (Chroma 63030)
    We are using GPIB as the programming interface.We also use NI-VISA, NI-488.2 from LabVIEW to communicate.
    Since I am new to this domain, I need an expert help in programming this software.
    Thanks

    Dennis_Knutson wrote:
    And for follow up questions, please don't post to this board. You have nothing related to NI's pxi chassis/boards.
    p.s. And after the test specification is complete, perform the tests manually. You can't understand a programmatic approach if you don't understand the instruments and their capabilities.
    "You can't automate what you can't do manually" is one of my favorite maxims. 
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Acquire date from agilent dso3104 in avraging mode

    hi
    i am trying to acquire data from agilent dso 3104 x in labview . when i configure my dso in normal mode it is acquiring data but when i configure my dso in avraging mode it is not acquiring data on lab view

    I am running labview code for DSO "Agilent 2000 3000 X series" (downloaded from http://forums.ni.com/ni/attachments/ni/140/47325/1/agilent_2000_3000_x-series.zip). VI examples: "acquire waveform single" / "acquire waveform continuously", but it only acquires in normal mode. whenever i change to average mode manually or through "configure acquisition" VI, i get the same error message: No data for operation on PC as well as oscilloscope and Query unterminated.
    Pl find attached the error message.
    If i run "read current waveform" VI , even then , averaging mode is not being supported.
    I have not changed the default time out values in the default VI's or sub VI's. Pl advise on what values to take for sampling in 5Gsa/sec and averaging mode in 256 samples DSO setup.
    Attachments:
    error.jpg ‏40 KB

  • Error in Agilent 2k3k4k X-Series drivers when using examples that contains "read waveforms.​vi"

    Hi, all
    Something goes wrong when using agilent 2k3k4k drivers. Could anyone help me?
    Agilent DSO-X 2012A oscilloscope
    Drivers are download from:
    http://sine.ni.com/apps/utf8/niid_web_display.down​load_page?p_id_guid=9E84674573AF6AB8E0440021287E6A​...
    Each time when running examples:
    Agilent 2000 3000 X-Series Acquire Waveform.vi
    Agilent 2000 3000 X-Series Acquire Waveform continuously.vi
    Agilent 2000 3000 X-Series Acquire Multiple Waveform.vi
    Errors rise and the oscilloscope is crashed and needed to be shut down and restarted. It seems that the example can't pass the "Read Waveforms.vi" in the Block Diagram. The PrintScreen   is as follows:

    sagha wrote:
    According to the MAX they are correct (IVI driver for the Agilent 33519B downloaded from the NI website). When I run the IVI Initialize block any frequency, amplitude, offset, etc. settings on the function generator are reset to the default values. So, something is being sent to the instrument.
    However, I've also tried adding the General Error Handler block right after the Initializaiton block to cancel the -1073807339 error. Then, I add the IviFgen Configure Standard Waveform [STD] block to set the function generator frequency. The program throws an error that looks like a resource problem:
    "Error -1074130544 occurred at IviFgen IVI Error Converter.vi
    Possible reason(s):
    The session handle is not valid.
    Complete call chain:
        IviFgen IVI Error Converter.vi
        IviFgen Configure Standard Waveform [STD].vi
        <myViName.vi>
    What could be the reason for an invalid session handle? I've followed the NI tutorials on setting up IVI instruments in MAX and in LabVIEW.
    Okay, this is new information.  Nothing in your previous posts mention that the initialztion did anything at all besides return the timeout error.  The invalid session handle is because you closed the session.
    I'm having trouble following your descriptions.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Help needed in drivers of dso7450a setting mode= auto

    Hello
    I need help regarding the setting of option mode=auto in menu of mode coupling button of Agilent DSO 7450A & Quick Measure button how to use these two options  can any one help me out .
    Thanks in advance
    Ali 

    There is no such thing as a 7450 so I'm going to assume that you really meant 7054.
    It seems that is the TRIGWEAUT | NOR) command as documented on page 464 of the programming manual. I cannot find a function that allows you to set that - perhaps because the driver was originally written for a different model. The _ag6000a Default Instrument Setup.vi does set the sweep to normal. You can easily add a function that allows you to change between auto sweep and normal sweep. When you are done, be sure to post the finished function so that others can use it.
    I did not try to find the Quick Measure function but I will tell what I did to find the information about the sweep. First I looked in the operators manual for a description of the scope front panel command. Then I looked in the programming manual for the command that did what the button performed. When I found the command, I opened the VI Tree and did a text search for both 'AUT' and 'SWE'. I looked through all of the VIs that had the text and found none that implemented the command. 
    Message Edited by Dennis Knutson on 03-28-2009 11:38 AM

  • Using the Tag Query's Statistics Mode

    I've tried to come up with the average of tag values over a span of a month two different ways:
    1.  using the Statistics mode
    2.  using the HistoryEvent mode and averaging the resultant data with an average function.
    For most tags the two results are quite similar.  I have one tag however that contains a lot of zero values and for that tag, the Statistics mode average is about 10% higher than the HistoryEvent mode average. It's like the Statistics mode ignores the zero values when doing it's calculations.
    Is this correct?  My tag query is returning data from six tags - does this cause the Statistics mode any heartache?
    David Macindoe

    David,
    Martin K - if you are listening please feel free to correct or confirm the following:
    The PI UDS uses native Statistical method calls to the PI API/SDK, so the results are coming directly from PI.  In this case, xMII is not doing a HistoryEvent call and then doing the average calcs on the raw event records, like it would be if you did it in BLS.
    Regards,
    Jeremy

  • Understanding explain plan output

    Hi,
    Version 11202.
    Bellow is the output of tkprof against a statment which has cpu time = elapsed time =~3000 sec.
    The statment is related to oracle EBS , but the question bellow is regarding the execution plan.
    As you can see in the plan bellow most of the time is spend on the following step :
             0          0          0      TABLE ACCESS BY INDEX ROWID IBY_PMT_INSTR_USES_ALL (cr=44630892 pr=31557 pw=0 time=3075553107 us cost=3 size=95402360 card=2385059)
    2059303280 2059303280 2059303280       INDEX RANGE SCAN IBY_PMT_INSTR_USES_ALL_N2 (cr=13320705 pr=104 pw=0 time=1459328515 us cost=2 size=0 card=8)(object id 14313388)What i am trying to understand is why 2 billions rows (2059303280) has been accessed by the index IBY_PMT_INSTR_USES_ALL_N2
    SQL> select table_name,num_rows,sample_size,last_analyzed from dba_tables where table_name='IBY_PMT_INSTR_USES_ALL';
    TABLE_NAME NUM_ROWS SAMPLE_SIZE LAST_ANAL
    IBY_PMT_INSTR_USES_ALL 2414470 241447 28-JAN-13
    SQL> select table_name,distinct_keys,clustering_factor,num_rows,sample_size,last_analyzed from dba_indexes where index_name='IBY_PMT_INSTR_USES_ALL_N2';
    TABLE_NAME DISTINCT_KEYS CLUSTERING_FACTOR NUM_ROWS SAMPLE_SIZE LAST_ANAL
    IBY_PMT_INSTR_USES_ALL 304515 267170 2407170 240717 28-JAN-13The whole statment and is plan is as followed :
    insert into iby_pmt_instr_uses_all (instrument_payment_use_id,payment_flow,
      ext_pmt_party_id,instrument_type,instrument_id,payment_function,
      order_of_preference,created_by,creation_date,last_updated_by,
      last_update_date,last_update_login,object_version_number,start_date,
      end_date,debit_auth_flag,debit_auth_method,debit_auth_reference,
      debit_auth_begin,debit_auth_end)select iby_pmt_instr_uses_all_s.nextval  ,
      'FUNDS_CAPTURE' ,iep.ext_payer_id ,'BANKACCOUNT' ,eba.ext_bank_account_id ,
      'CUSTOMER_PAYMENT' ,DECODE(cbi.primary_flag,'Y',1,10) ,:b0 ,SYSDATE ,:b0 ,
      SYSDATE ,:b2 ,1 ,cbi.start_date ,cbi.end_date ,'' ,'' ,'' ,'' ,''  from
      iby_external_payers_all iep ,hz_cust_accounts hca ,hz_cust_site_uses_all
      csu ,hz_cust_acct_sites_all cas ,hz_parties hzba ,hz_relationships hzr ,
      hz_code_assignments hcba ,hz_parties hzbb ,hz_organization_profiles hop ,
      hz_code_assignments hcbb ,iby_ext_bank_accounts eba ,
      ra_customer_banks_int_all cbi where
      (((((((((((((((((((((((((((((((((((((((cbi.interface_status is null  and
      cbi.request_id=:b3) and UPPER(cbi.bank_name)=UPPER(hzba.party_name)) and
      hzba.party_id=hop.party_id) and SYSDATE between
      TRUNC(hop.effective_start_date) and NVL(TRUNC(hop.effective_end_date),
      (SYSDATE+1))) and hcba.class_category='BANK_INSTITUTION_TYPE') and
      hcba.class_code='BANK') and hcba.owner_table_name='HZ_PARTIES') and
      hcba.owner_table_id=hzba.party_id) and cbi.bank_home_country=
      hop.home_country) and hzbb.party_id=hcbb.owner_table_id) and
      hcbb.owner_table_name='HZ_PARTIES') and hcbb.class_category=
      'BANK_INSTITUTION_TYPE') and hcbb.class_code='BANK_BRANCH') and
      nvl(hcbb.status,'A')='A') and hzbb.party_id=hzr.subject_id) and
      hzba.party_id=hzr.object_id) and hzr.relationship_type='BANK_AND_BRANCH')
      and hzr.relationship_code='BRANCH_OF') and hzr.status='A') and
      hzr.subject_table_name='HZ_PARTIES') and hzr.subject_type='ORGANIZATION')
      and hzr.object_table_name='HZ_PARTIES') and hzr.object_type='ORGANIZATION')
      and UPPER(cbi.bank_branch_name)=UPPER(hzbb.party_name)) and hzbb.party_id=
      eba.branch_id) and hzba.party_id=eba.bank_id) and eba.bank_account_num=
      cbi.bank_account_num) and eba.currency_code=cbi.bank_account_currency_code)
      and cbi.orig_system_customer_ref=hca.orig_system_reference) and
      iep.cust_account_id=hca.cust_account_id) and iep.party_id=hca.party_id) and
      ((cbi.orig_system_address_ref is null  and iep.org_id is null ) or
      iep.org_id=cbi.org_id)) and ((cbi.orig_system_address_ref is null  and
      iep.org_type is null ) or iep.org_type='OPERATING_UNIT')) and cbi.org_id=
      cas.org_id(+)) and nvl(iep.acct_site_use_id,(-1))=
      decode(cbi.orig_system_address_ref,null ,(-1),csu.site_use_id)) and
      cbi.orig_system_address_ref=cas.orig_system_reference(+)) and
      (csu.site_use_id=(select min(site_use_id)  from hz_cust_site_uses_all hcsua
      where ((hcsua.cust_acct_site_id=cas.cust_acct_site_id and
      hcsua.site_use_code='BILL_TO') and hcsua.status='A')) or csu.site_use_id is
      null )) and cas.cust_acct_site_id=csu.cust_acct_site_id(+)) and  not exists
      (select 'x'  from iby_pmt_instr_uses_all ipi where (((ipi.ext_pmt_party_id=
      iep.ext_payer_id and ipi.instrument_type='BANKACCOUNT') and
      ipi.instrument_id=eba.ext_bank_account_id) and ipi.payment_function=
      'CUSTOMER_PAYMENT')))
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1   3049.58    3080.23      31827   44696023       1587        1175
    Fetch        0      0.00       0.00          0          0          0           0
    total        2   3049.58    3080.23      31827   44696023       1587        1175
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 57  (APPS)
    Number of plan statistics captured: 1
    Rows (1st) Rows (avg) Rows (max)  Row Source Operation
             0          0          0  LOAD TABLE CONVENTIONAL  (cr=44696030 pr=31827 pw=0 time=2870820188 us)
          1175       1175       1175   SEQUENCE  IBY_PMT_INSTR_USES_ALL_S (cr=44695967 pr=31774 pw=0 time=3270855802 us)
          1175       1175       1175    FILTER  (cr=44695960 pr=31774 pw=0 time=3270803657 us)
          1175       1175       1175     NESTED LOOPS ANTI (cr=44695844 pr=31774 pw=0 time=3270739008 us cost=251 size=497 card=1)
          1175       1175       1175      NESTED LOOPS  (cr=64952 pr=217 pw=0 time=2991575 us cost=248 size=457 card=1)
          1175       1175       1175       NESTED LOOPS  (cr=64827 pr=205 pw=0 time=2949382 us cost=245 size=423 card=1)
          1175       1175       1175        NESTED LOOPS OUTER (cr=63494 pr=205 pw=0 time=2921176 us cost=243 size=403 card=1)
          1175       1175       1175         NESTED LOOPS  (cr=63377 pr=205 pw=0 time=2893312 us cost=240 size=391 card=1)
          1175       1175       1175          NESTED LOOPS  (cr=61415 pr=205 pw=0 time=2850064 us cost=236 size=348 card=1)
         47434      47434      47434           NESTED LOOPS  (cr=57058 pr=205 pw=0 time=2565056 us cost=234 size=328 card=1)
         41203      41203      41203            NESTED LOOPS OUTER (cr=42422 pr=0 pw=0 time=581594 us cost=230 size=296 card=1)
         41203      41203      41203             HASH JOIN  (cr=1049 pr=0 pw=0 time=173751 us cost=229 size=277 card=1)
          2333       2333       2333              NESTED LOOPS  (cr=1013 pr=0 pw=0 time=32850 us)
          2333       2333       2333               NESTED LOOPS  (cr=825 pr=0 pw=0 time=22036 us cost=208 size=172 card=1)
           514        514        514                NESTED LOOPS  (cr=691 pr=0 pw=0 time=16378 us cost=206 size=88 card=1)
           514        514        514                 NESTED LOOPS  (cr=588 pr=0 pw=0 time=7190 us cost=95 size=2501 card=41)
           514        514        514                  TABLE ACCESS BY INDEX ROWID HZ_CODE_ASSIGNMENTS (cr=20 pr=0 pw=0 time=1716 us cost=10 size=1681 card=41)
           514        514        514                   INDEX RANGE SCAN HZ_CODE_ASSIGNMENTS_N1 (cr=7 pr=0 pw=0 time=464 us cost=4 size=0 card=164)(object id 464630)
           514        514        514                  TABLE ACCESS BY INDEX ROWID HZ_PARTIES (cr=568 pr=0 pw=0 time=2797 us cost=2 size=20 card=1)
           514        514        514                   INDEX UNIQUE SCAN HZ_PARTIES_U1 (cr=54 pr=0 pw=0 time=1059 us cost=1 size=0 card=1)(object id 421661)
           514        514        514                 TABLE ACCESS BY INDEX ROWID HZ_ORGANIZATION_PROFILES (cr=103 pr=0 pw=0 time=5913 us cost=3 size=27 card=1)
           514        514        514                  INDEX RANGE SCAN BZ_HZ_ORGANIZATION_PROFILE_N1 (cr=76 pr=0 pw=0 time=2873 us cost=2 size=0 card=1)(object id 9378840)
          2333       2333       2333                INDEX RANGE SCAN HZ_RELATIONSHIPS_N2 (cr=134 pr=0 pw=0 time=3962 us cost=1 size=0 card=1)(object id 11581198)
          2333       2333       2333               TABLE ACCESS BY INDEX ROWID HZ_RELATIONSHIPS (cr=188 pr=0 pw=0 time=7476 us cost=2 size=84 card=1)
          1175       1175       1175              TABLE ACCESS FULL RA_CUSTOMER_BANKS_INT_ALL (cr=36 pr=0 pw=0 time=9479 us cost=21 size=123375 card=1175)
         41203      41203      41203             TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCT_SITES_ALL (cr=41373 pr=0 pw=0 time=304952 us cost=1 size=19 card=1)
         41203      41203      41203              INDEX UNIQUE SCAN HZ_CUST_ACCT_SITES_U2 (cr=170 pr=0 pw=0 time=93830 us cost=1 size=0 card=1)(object id 421730)
         47434      47434      47434            TABLE ACCESS BY INDEX ROWID IBY_EXT_BANK_ACCOUNTS (cr=14636 pr=205 pw=0 time=2375333 us cost=4 size=32 card=1)
         47434      47434      47434             INDEX RANGE SCAN IBY_EXT_BANK_ACCOUNTS_N6 (cr=3548 pr=94 pw=0 time=1112297 us cost=2 size=0 card=1)(object id 14313177)
          1175       1175       1175           TABLE ACCESS BY INDEX ROWID HZ_PARTIES (cr=4357 pr=0 pw=0 time=171450 us cost=2 size=20 card=1)
          1203       1203       1203            INDEX UNIQUE SCAN HZ_PARTIES_U1 (cr=3154 pr=0 pw=0 time=107886 us cost=1 size=0 card=1)(object id 421661)
          1175       1175       1175          TABLE ACCESS BY INDEX ROWID HZ_CODE_ASSIGNMENTS (cr=1962 pr=0 pw=0 time=41107 us cost=3 size=43 card=1)
          1175       1175       1175           INDEX RANGE SCAN HZ_CODE_ASSIGNMENTS_U2 (cr=1611 pr=0 pw=0 time=25716 us cost=2 size=0 card=1)(object id 14355645)
          1175       1175       1175         TABLE ACCESS BY INDEX ROWID HZ_CUST_SITE_USES_ALL (cr=117 pr=0 pw=0 time=14875 us cost=3 size=12 card=1)
          1175       1175       1175          INDEX RANGE SCAN HZ_CUST_SITE_USES_N1 (cr=86 pr=0 pw=0 time=10600 us cost=2 size=0 card=1)(object id 464289)
          1175       1175       1175        TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCOUNTS (cr=1333 pr=0 pw=0 time=22634 us cost=2 size=20 card=1)
          1175       1175       1175         INDEX UNIQUE SCAN HZ_CUST_ACCOUNTS_U3 (cr=158 pr=0 pw=0 time=9307 us cost=1 size=0 card=1)(object id 9438627)
          1175       1175       1175       TABLE ACCESS BY INDEX ROWID IBY_EXTERNAL_PAYERS_ALL (cr=125 pr=12 pw=0 time=131366 us cost=3 size=34 card=1)
          1175       1175       1175        INDEX RANGE SCAN IBY_EXTERNAL_PAYERS_ALL_U2 (cr=109 pr=4 pw=0 time=51266 us cost=2 size=0 card=1)(object id 14313089)
             0          0          0      TABLE ACCESS BY INDEX ROWID IBY_PMT_INSTR_USES_ALL (cr=44630892 pr=31557 pw=0 time=3075553107 us cost=3 size=95402360 card=2385059)
    2059303280 2059303280 2059303280       INDEX RANGE SCAN IBY_PMT_INSTR_USES_ALL_N2 (cr=13320705 pr=104 pw=0 time=1459328515 us cost=2 size=0 card=8)(object id 14313388)
          1000       1000       1000     SORT AGGREGATE (cr=116 pr=0 pw=0 time=39211 us)
          1000       1000       1000      TABLE ACCESS BY INDEX ROWID HZ_CUST_SITE_USES_ALL (cr=116 pr=0 pw=0 time=27041 us cost=4 size=22 card=1)
          1000       1000       1000       INDEX RANGE SCAN HZ_CUST_SITE_USES_N1 (cr=85 pr=0 pw=0 time=19027 us cost=3 size=0 card=1)(object id 464289)

    Yoav wrote:
    and  not exists
    (select 'x'  from iby_pmt_instr_uses_all ipi where (((ipi.ext_pmt_party_id=
    iep.ext_payer_id and ipi.instrument_type='BANKACCOUNT') and
    ipi.instrument_id=eba.ext_bank_account_id) and ipi.payment_function=
    'CUSTOMER_PAYMENT')))
    Number of plan statistics captured: 1
    Rows (1st) Rows (avg) Rows (max)  Row Source Operation
    0          0          0  LOAD TABLE CONVENTIONAL  (cr=44696030 pr=31827 pw=0 time=2870820188 us)
    1175       1175       1175   SEQUENCE  IBY_PMT_INSTR_USES_ALL_S (cr=44695967 pr=31774 pw=0 time=3270855802 us)
    1175       1175       1175    FILTER  (cr=44695960 pr=31774 pw=0 time=3270803657 us)
    1175       1175       1175     NESTED LOOPS ANTI (cr=44695844 pr=31774 pw=0 time=3270739008 us cost=251 size=497 card=1)
    1175       1175       1175      NESTED LOOPS  (cr=64952 pr=217 pw=0 time=2991575 us cost=248 size=457 card=1)
    0          0          0      TABLE ACCESS BY INDEX ROWID IBY_PMT_INSTR_USES_ALL (cr=44630892 pr=31557 pw=0 time=3075553107 us cost=3 size=95402360 card=2385059)
    2059303280 2059303280 2059303280       INDEX RANGE SCAN IBY_PMT_INSTR_USES_ALL_N2 (cr=13320705 pr=104 pw=0 time=1459328515 us cost=2 size=0 card=8)(object id 14313388)
    1000       1000       1000     SORT AGGREGATE (cr=116 pr=0 pw=0 time=39211 us)
    1000       1000       1000      TABLE ACCESS BY INDEX ROWID HZ_CUST_SITE_USES_ALL (cr=116 pr=0 pw=0 time=27041 us cost=4 size=22 card=1)
    1000       1000       1000       INDEX RANGE SCAN HZ_CUST_SITE_USES_N1 (cr=85 pr=0 pw=0 time=19027 us cost=3 size=0 card=1)(object id 464289)
    You have a "not exists" subquery that the optimizer has turned into a nested loop anti join.
    For each of the 1175 rows returned by the previous step Oracle does a range scan of what it thinks is the most appropriate index - the figures for cost (2) and card (8) at that line show that something has gone wrong with the optimizer's estimates, and for each of the 1175 prior rows it has acquired an average 1.7M index entries based on the index predicates, then visited the table and discarded resulting row.
    It looks as if the index is a bad choice of index - you need to check the index predicates for the plan - use dbms_xplan to pull it from memory; and check your indexes to see if there is a better one that the optimizer should have chosen
    Regards
    Jonathan Lewis

Maybe you are looking for