Fetch command in NI-Scope

Hello all,
I am using LV 8.2.1, Windows Xp, PXI-5122.  I am trying to acquire a signal after receiving a trigger, process the data, and then display.  I am acquiring 2048 points after the trigger, then FFT for display.  This is done continuously until enough (usually 512 data sets) are acquired to make an image. The method I am using has been designed from the NI-SCOPE multi-record example vi.  It is working but extremely slow.  The data is acquired quickly but the processing is slow.  Currently the vi acquires all the data than fetchs individual data sets (2048 pts) for processing.  Is there a way to acquire all of the data in an array format and process the array rather than each column of data?  I have attached a screenshot of what I am currently doing and any help in speeding up the data acquisition and fetching would be greatly appreciated.
Thanks in advance,
Azazel
Azazel
Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
Attachments:
Screen Shot.jpg.JPG ‏137 KB

In order to open everything correctly you need NI-Scope to be installed.  I have attached all vi's.
Thanks,
Azazel
Azazel
Pentium 4, 3.6GHz, 2 GB Ram, Labview 8.5, Windows XP, PXI-5122, PCI-6259, PCI-6115
Attachments:
RemoveZeroes_1D.vi ‏12 KB
Main Program.vi ‏1766 KB
Cal file_2.vi ‏41 KB

Similar Messages

  • Read entire IMAP message with one FETCH command

    Is there any way to have JavaMail read an entire IMAP message with a single FETCH command (similar to the way Outlook works)? This is needed because the mail server I'm using does not correctly support the FETCH BODYSTRUCTURE command.
    Thanks in advance.

    Of course you should get a new mail server. There's so many to choose
    from, including many free options, why put up with one that doesn't care
    enough to implement the IMAP spec correctly?
    If you're stuck, use the MimeMessage copy constructor to copy the IMAP
    message to a new MimeMessage object, then access all the data through
    the MimeMessage object. The entire message will be fetched from the
    server in one FETCH command.

  • [Scopes] Execute command in specific scope

    Hello fellow Powershell users,
    I am currently looking for a way to execute a command in a specific scope of my choice. While some commands offer a choice in how they do that, many do not. Any ideas on how to do this?
    Background:
    I occasionally find it useful or necessary to affect items on another scope. With Variables that's not an issue, but with items like Aliases or Functions that's not quite as simple, since the standard provider cmdlets only appear to work within the current
    scope (And that allscope option on Aliases is a joke - you can remove-item them all day long without affecting them in a parent scope, which es exactly what the documentation suggests should work).
    That situation got me thinking, and knowing generally on how to do this would be great.
    Cheers,
    Fred
    There's no place like 127.0.0.1

    Hi Matt,
    sure I can:
    Remove-Item Alias:\ri
    This will delete the Alias from the current scope, but not globally. I know of no way to specify scope on PSDrive stored variables and functions / commands will by default affect content in the current scope (yeah, I was a bit inprecise in my
    terminology there).
    The concrete mater at hand is that I'm busy writing a module that creates extended Aliases (Predefined parameters, added aliases for parameters, constrained Validate-Sets ... stuff like that). So I'm trying to implement a Force parameter that will replace
    current aliases with the "new one" (I actually compile it as a function and real Aliases take precedence over functions ... and any changes I make to the aliases revert once the command ends and the user returns to the parent scope).
    Anyway, since I don't want to be fighting that same battle the next time I have trouble with scopes, I got wondering whether there's a way to choose on the function side which scope it affects, instead of finding an individual way each time a problem occurs...
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • GPIB command for acquire simultaneous 2 scope channels?

    I am a new GPIB programmer, and I want to acquire 2 signals simultaneous from a HP54111D oscilloscope (HP) via a gpib bus.
    I can acquire a channel and after the other. do you
    know the gpib command to acquire 2 channels simultaneous and transfer data ?

    Hello,
    If you uses LabVIEW or LabWindows/CVI IDEs the best way to control your instrument is to use the instrument drivers provided on our site:
    http://search.ni.com/query.html?lk=1&col=alldocs&nh=500&rf=3&ql=&pw=595&qp=%2BContentType%3AInstrumentDriver&qt=HP+54111&layout=IDNet
    If for some reason you must use GPIB commands the best for you is to request from HP the set of commands for your scope.
    I assume that you have some commands for configuration of your scope then you can enable ch1 and ch 2. then when you acquire data your scope will probablely fill a memory buffer (record) with your signals data. so i think that there is only one function for one channel and two channel. When using two channel tha data will probably be interleaved in your record i
    .e (ch1[0],ch2[0],...ch1[n],ch2[n]) .
    Hopes this helps
    Regards
    Salissou ISSA
    Applications Engineer
    NI France

  • FETCH don't works.

    Hi,
    I' ve a dynamic cursor that opens normally in a pl/sql code. However, when I'm debugin it the fetch command don't works. Nothing ocurrs. The next line never is executed.
    I executed the cursor sql separatelty and it works fine.
    I create a new script isolating this cursor and the fetch works fine.
    Can someone give me an idea?
    Thanks
    Leonardo Luiz

    My code:
    function OpenEstornoDocumentacao(carga in out nocopy Processo,iMotivo in pls_integer) return refcursor is
    begin
    declare
    sqlstm varchar(4000);
    EstornoDocumentacao refcursor;
    regChurning ChurningAtivacao;
    begin
    begin
    dbglog(' Cursor EstornoDocumentacao');
    sqlstm :=
    'select a.num_sequencial, a.num_telefone, a.dat_movimento, ' ||
    ' a.cod_ponto_venda, a.cod_mat_funcionario, a.cod_pro_ser, null ' ||
    'from ( ' ||
    ' select m.num_sequencial, m.num_telefone, m.dat_movimento, ' ||
    ' m.cod_ponto_venda, m.cod_mat_funcionario, m.cod_pro_ser, m.cod_sub_canal ' ||
    ' from comis_dir.movimento_venda m, tcdoc.vw_tcdoc_varejo_comissiona@dl_oltp d ' ||
    ' where m.dat_movimento >= :DataReferenciaMotivo ' ||
    ' and m.dat_movimento < :DataReferencia ' ||
    -- Pós-pago e Controle
    ' and m.cod_pro_ser in (17,1013) ' ||
    ' and m.cod_sub_canal = :CodSubCanal ' ||
    ' and m.num_telefone = d.num_telefone ' ||
    -- ********** incluir um filtro para o motivo ou descrição '
    ' and trunc(m.dat_movimento) = trunc(d.dat_ativacao) ' ||
    -- Não corporativo
    ' and m.cod_sub_canal not in (7,6,15,16) ' ||
    ' union ' ||
    ' select m.num_sequencial, m.num_telefone, m.dat_movimento, ' ||
    ' m.cod_ponto_venda, m.cod_mat_funcionario, m.cod_pro_ser, m.cod_sub_canal ' ||
    ' from comis_dir.movimento_venda m, tcdoc_corp.vw_tcdoc_corp_comissiona@dl_oltp d ' ||
    ' where m.dat_movimento >= :DataReferenciaMotivo ' ||
    ' and m.dat_movimento < :DataReferencia ' ||
    -- Pós-pago e Controle
    ' and m.cod_pro_ser in (17,1013) ' ||
    ' and m.cod_sub_canal = :CodSubCanal ' ||
    ' and m.num_telefone = d.num_telefone ' ||
    -- *********** incluir um filtro para o motivo ou descrição
    ' and m.dat_movimento = d.dat_ativacao ' ||
    -- Corporativo
    ' and m.cod_sub_canal in (7,6,15,16) ' ||
    ' ) a , comis_dir.sub_canal sc, comis_dir.produto_servico ps ' ||
    ' where a.cod_sub_canal = sc.cod_sub_canal ' ||
    ' and a.cod_pro_ser = ps.cod_pro_ser ' ||
    ' and sc.cod_empresa = ps.cod_empresa ' ||
    ' and ' ||
    ' (( (ps.cod_pro_ser in (17,1013) ' ||
    ' and sc.cod_empresa = 1) ' ||
    ' or (ps.cod_pro_ser in (1572,1540) ' ||
    ' and sc.cod_empresa = 2) ) ' ||
    ' or ' ||
    ' ( (ps.cod_pro_ser_pai in (17,1013) ' ||
    ' and sc.cod_empresa = 1) ' ||
    ' or (ps.cod_pro_ser_pai in (1572,1540) ' ||
    ' and sc.cod_empresa = 2) )) ';
    open EstornoDocumentacao
    for sqlstm
    using
    carga.motivos(iMotivo).dataReferencia,
    add_months(carga.motivos(iMotivo).dataReferencia,1),
    carga.CodSubCanal,
    add_months(carga.motivos(iMotivo).dataReferencia,1),
    carga.DataInicio,
    carga.CodSubCanal;
    -- HERE IS MY PROBLEM !!!!!!!
    fetch EstornoDocumentacao into regChurning;
    dbglog('Mês : ' || carga.motivos(iMotivo).dataReferencia ||
    ' - ' || add_months(carga.motivos(iMotivo).dataReferencia,1) ||
    ' - ' || carga.CodSubCanal
    exception
    when others then
    raise_application_error(-20001,'Erro obtendo os registros de estorno de documenatação. ' || sqlerrm);
    end;
    return EstornoDocumentacao;
    end;
    end OpenEstornoDocumentacao;

  • DHCP Scope in Use 100%

    Hi all,
    I have DHCP server High Availability running on Windows Server 2012 R2.
    Today, one of my DHCP scope is 100% in use.
    But when i total IP leases and IP reservation on that scope from DHCP GUI, total hostname that get IP is less than 460.
    When i get IP address usage on that scope using command get-dhcpserverv4lease -scope id 10.1.12.0 -alllease, there is +- 460 hostname that get IP address from that scope.
    I found that some hostname is BADADDRESS or the DHCP session is expired, i try to remove that hostname from IP leases, but it didn't work. (Remove-dhcpserverv4lease -ipaddress x.x.x.x)
    When i check from DHCP GUI, that scope always 100% in use and Computer cannot get IP Address from that DHCP scope again.
    Can you help me resolve this issue?
    Thanks before!
    Best Regards,
    Henry Stefanus

    Hi Henry,
    >>I found that some hostname is BADADDRESS or the DHCP session is expired
    BADADDRESS means that the IP address is used by other computer. Please check if any computer has configured static IP address.
    >>Can you help me resolve this issue?
    Use scope extension to expand the address range for the current scope.
    Reduce the lease duration and decrease the cleanup interval. This can help to speed the reclaiming of expired scope IP addresses.
    For detailed information, please refer to the link below:
    https://technet.microsoft.com/en-us/library/dd380166(v=ws.10).aspx
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Fetch out of Sequence error isn't returned when doing a single fetch

    Hi all,
    As per my understanding, if we fetch all the rows from a sys_refcursor into a collection, within the pl/sql block, then it doesn't return any row to the calling program. Instead a fetch out of sequence error is encountered. This worked well. However, when I use a single fetch statement(in case the sys_refcursor contains a single row), I do not encounter "Fetch Out Of Sequence" error. It would be really helpful if anyone could please explain this behaviour.
    Below is a sample code snippet that I ran in PL/SQL Developer:
    CREATE OR REPLACE PROCEDURE test_cur_1(in_dept_id VARCHAR2,
    out_cursor OUT SYS_REFCURSOR) IS
    temp_count NUMBER;
    temp_rec dept%ROWTYPE;
    BEGIN
    --This piece of code runs into a "Fetch Out Of Sequence" error, when trying to open up the sys_refcursor.
    OPEN out_cursor FOR
    SELECT *
    FROM dept
    WHERE dept_id = in_dept_id;--dept_id is the primary key
    LOOP
    EXIT WHEN out_cursor%NOTFOUND;
    FETCH out_cursor
    INTO temp_rec;
    dbms_output.put_line('department name: '||temp_rec.dept_name);
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    OPEN out_cursor FOR
    SELECT SQLCODE||'->'||SQLERRM FROM dual;
    END;
    CREATE OR REPLACE PROCEDURE test_cur_2(in_dept_id VARCHAR2,
    out_cursor OUT SYS_REFCURSOR) IS
    temp_count NUMBER;
    temp_rec dept%ROWTYPE;
    BEGIN
    --This piece of code does not run into a "Fetch Out Of Sequence" error. Instead the output sys_refcursor opens up for no rows to display.
    OPEN out_cursor FOR
    SELECT *
    FROM dept
    WHERE dept_id = in_dept_id;--dept_id is the primary key
    FETCH out_cursor
    INTO temp_rec;
    dbms_output.put_line('department name: '||temp_rec.dept_name);
    EXCEPTION
    WHEN OTHERS THEN
    OPEN out_cursor FOR
    SELECT SQLCODE||'->'||SQLERRM FROM dual;
    END;
    Appreciate all your time!

    When you loop through a cursor, Oracle does not know how many rows there will be in the cursor until it has fetched them all, and it cannot know it has fetched them all until it does one last fetch after getting the last row to find that ti gets nothing back. In psuedo code the fetch command works something like:
    open cursor
    cursor%notfound := null;
    -- This is the fetch phase
    ask sql engine to give me a row
    if I got one then
       cursor%notfound := false;
       populate variables/record with values
    else
       cursor%notfound := true;
    end if;
    -- end fetch phase
    go onto next command in the pl/sql blockSo, in your first procedure you fetch the last row of the cursor then go back to the top of the loop. Since Oracle does not know at this point that the last row has already been fetched so, out_cursor%notfound is still false, so it does another fetch at which point it now "knows" that the last row is fetched so notfound becomes true and your loop exits, returning control to the caller. At this point, presumably the caller attempts to fetch from the cursor. Since the cursor handle is already pointing past the last row you get the fetch out of sequence.
    In your second procedure, you fetch a single row from the cursor. You know that the cursor is pointing at the "last" row since you are querying based on the PK, but Oracle does not know that yet. You now return that cursor to the caller who does one more fetch which moves the pointer past the end of the cursor. The caller "sees" no rows, but that is because your procedure already fetched the rows, but did not "check" for the last row.
    John

  • "UID fetch 1:*" vs. "FETCH 1:285 (UID)"

    Hi there
    First of all: is there any difference (apart from the syntax) between both commands? I was told that the first one should be faster but I don't get JavaMail to send this command. Maybe I'm doing wrong. In principle I am using the following code:
    IMAPFolder fz = (IMAPFolder) zStore.getDefaultFolder().getFolder("inbox");
    fz.open(Folder.READ_ONLY);
    Message[] msgs = fz.getMessages();
    FetchProfile fp = new FetchProfile();
    fp.add(UIDFolder.FetchProfileItem.UID);
    fz.fetch(msgs, fp);Does JavaMail have the capability to send the UID FETCH command at all? I mean, is it supported?

    They do different things.
    The first fetches data for messages using UIDs to identify the messages.
    The second fetches the UIDs for messages, using message sequence numbers to identify messages.
    If you want to work with UIDs, see the UIDFolder interface, which is implemented by IMAP folders.
    Different servers will have different performance characteristics, but I believe most servers are faster
    when using message sequence numbers.

  • Massive IMAP problem, multiple iPhones - constant spinning wheel

    A friend has had problems using email on his iPhone since he got it, and now after a couple of months of no problems, mine has started doing the same thing.
    The problem started for him on a UK 1.1.2 firmware iPhone with an IMAP account. If you start from scratch, manually setup an IMAP account, it will connect and get your messages. However later, you will find that the iPhone email program is constantly showing the spinning wheel at the top of the screen (showing activity), not the symbol at the bottom of the screen. Worse, the battery rapidly runs down (because it is doing constant data transfers), and worse new emails do not reliably get through. This happens whether you are using GPRS, EDGE, or WiFi (does not make a difference). This problem still happens with 1.1.3 firmware. There is so much data transfer happening (or trying to happen) that the phone actually gets quite warm.
    This week after a couple of months of owning my own iPhone with 1.1.3 firmware has also started doing the same thing. My main IMAP account is on a totally different server, running a different server application to my friends. However it also seems to happen with GMail accounts (using IMAP).
    I am currently at home and I can see my WiFi (AirPort Extreme) base-station showing lots of activity and I know that no other WiFi devices are active so it is purely the iPhone. Turning off the email account stops the problem (and I can then see the WiFi activity stop as well) but that is hardly a solution. Also setting it to manual polling for email helps but again is not a proper solution. It is so bad that sending emails is very difficult as well.
    Even though at the iPhone end nothing seems to be coming through, one can see the iPhone as a connected user at the server end (I have access to the servers, obviously not for Gmail though).
    My friend has swapped his phone four times at the Apple Store and still has the problem, and as I said mine has started as well. Turning off and on does not help, resetting network settings does not help.
    Apple Mail on a Mac (running both Leopard and Tiger), and other IMAP clients have no problems with the same IMAP accounts (for both of us).
    Other Internet access like Web, Stock Widget, Weather Widget, even the iTunes WiFi store work fine. It is just email that is broken.

    Pdobry wrote:
    The problem is that Mail app in iPhone is trying to download message headers via FETCH command and does not handle properly response from IMAP server which does not support partial download of email headers. It starts asking for the headers in the infinite loop which quickly drains out the battery
    More recent testing by myself reveals it is getting stuck on some messages when doing the 'message peek' to get the summary of an email. It gets the subjects fine (as the first pass) but then gets stuck on some emails when doing the second pass to get the summary. Apple Mail on a Mac does not (as far as I am aware) do a message peek so does not have this problem.
    The two different makes of server I have seen this problem with do support this message peek command in that at least some of the time it is working with the iPhone.
    I was able to get a debug level log which shows entries like this
    \[02/Apr/2008 23:56:17\]\[48699904\] {imaps} Peek FETCH executed on message 0000ba58 in folder [email protected]/INBOX
    \[02/Apr/2008 23:56:17\]\[48699904\] {imaps} Sent 1 fetch responses
    \[02/Apr/2008 23:56:18\]\[48699904\] {imaps} Command 293 UID FETCH 47704 BODY.PEEK\[2.HEADER\]<1177.15207>
    \[02/Apr/2008 23:56:18\]\[48699904\] {imaps} Peek FETCH executed on message 0000ba58 in folder [email protected]/INBOX
    \[02/Apr/2008 23:56:18\]\[48699904\] {imaps} Sent 1 fetch responses
    \[02/Apr/2008 23:56:18\]\[48699904\] {imaps} Command 294 UID FETCH 47704 BODY.PEEK\[2.HEADER\]<1177.15207>
    The above shows two repetitions but it keeps on (and on, and on). Other occasions show this does work for other messages. If I deliberately arrange to get the iPhone to connect to get the latest messages I can see it get stuck on a particular message, and then even if I turn it off and back on and reconnect it will get stuck on the same message. If repeated on a later date then the contents of the inbox will have changed and the message it gets stuck on will be different.
    As it seems to be linked to specific messages it was not a surprise that when this is tried on a practically empty email account the problem does not occur.
    This has happened with multiple different makes of mail server (well at least two), multiple email accounts, multiple users, and multiple different iPhones (one person had his swapped four times). It does not happen with 'ordinary' IMAP client software, only with the iPhone.
    Even if one for arguments sake assumes the mail server is at fault and is sending the iPhone garbage, the iPhone should only try a single specific email a maximum number of times (for example five), and then give up. This would prevent it draining the battery so fast and trying to cook itself (by constantly running its transmitter).

  • DBIF_RSQL_INVALID_CURSOR : Error extracting records in RSA3 for 2LIS_02_ITM

    Hi
    I'm extracting the data in R/3 system using tcode RSA3 for transaction datasource (2LIS_02_ITM). When i extracted the transaction data , it was giving time out error. Then i went into debug mode to find the error. While debugging the code it gave me a DBIF_RSQL_INVALID_CURSOR short dump.
    NOTE : Data extraction is working for all 02 transaction data like 2LIS_02_SCL , 2LIS_02_S012. It s failing for only 2LIS_02_ITM only.
    I have pasted the eror message below for reference. Urgent help required.
    From
    Bobby
    ERROR MESSAGE DUMP for DBIF_RSQL_INVALID_CURSOR
    Runtime Errors         DBIF_RSQL_INVALID_CURSOR
    Except.                CX_SY_OPEN_SQL_DB
    Date and Time          09.04.2008 12:47:09
    Short text
    Invalid interruption of a database selection.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLMCEX" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Unable to perform database selection fully.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
    in
    procedure "MCEX_BW_LO_API" "(FUNCTION)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    One of the database selections included a database Commit.
    The selection was then supposed to continue. Before a
    database commit, however, all outstanding database selections
    must be concluded.
    Possible causes in the application program:
    While a read process from a database cursor is taking place
    (within a loop SELECT/LOOP/EXEC SQL or before a FETCH command),
    one of the following statements is used:
    - MESSAGE (apart from MESSAGE S...)
    - COMMIT WORK
    - ROLLBACK WORK
    - BREAK-POINT
    - WAIT
    - CALL FUNCTION ... DESTINATION (synchronous RFC)
    - CALL FUNCTION ... STARTING NEW TASK
    - RECEIVE RESULTS
    - CALL DIALOG
    - CALL SELECTION-SCREEN
    - CALL TRANSACTION
    - CALL SCREEN, or any other statement that results in the display of a
    new screen
    Whenever a program runs in debugging mode, a "COMMIT WORK" can
    possibly be triggered during database selection. This abnormal
    termination can also occur in debugging mode even with a correct
    program.
    A "COMMIT WORK" during debugging may be due to the following reasons:
    1. A program or screen was regenerated during debugging
    and updated in the database.
    2. Each user needs a separate process in debugging mode, but
    the number of available processes is restricted. If this
    limit is exceeded, each debugging step then requires a
    "COMMIT WORK".
    The error occurs in a statement in which the table "MC02M_0ITMSETUP " is
    accessed.
    Missing RAISING Clause in Interface
    Program                                 SAPLMCEX
    Include                                 LMCEXU06
    Row                                     1
    Module type                             (FUNCTION)
    Module Name                             MCEX_BW_LO_API
    Trigger Location of Exception
    Program                                 SAPLMCEX
    Include                                 LMCEXU06
    Row                                     220
    Module type                             (FUNCTION)
    Module Name                             MCEX_BW_LO_API
    Source Code Extract
    Line
    SourceCde
    190
    at end of fieldnm.                   "PI 2000.2 SP_353722
    191
    if not <fs_field> in cond_select_tab.
    192
    cond_select = false.
    193
    refresh cond_select_tab.         "PI 2000.2 SP_353722
    194
    exit.
    195
    endif.
    196
    refresh cond_select_tab.             "PI 2000.2 SP_353722
    197
    endat.                               "PI 2000.2 SP_353722
    198
    endloop.
    199
    if cond_select eq true.
    200
    append &2 to e_t_data.
    201
    add 1 to counter.
    202
    endif.
    203
    endloop.
    204
    if s_maximum_size le counter.
    205
    exit.
    206
    endif.
    207
    else.
    208
    close cursor g_cursor.
    209
    s_flg_no_more_data = true.
    210
    exit.
    211
    endif.
    212
    enddo.
    213
    END-OF-DEFINITION.
    214
    end macro *****
    215
    216
    CASE s_estruc.
    217
              extractstruc   internal table    setup table
    218
    *-- MM-PUR
    219
    sel 'MC02M_0HDR'   mc02m_0hdr_tab    mc02m_0hdrsetup.
    >>>>>
    sel 'MC02M_0ITM'   mc02m_0itm_tab    mc02m_0itmsetup.
    221
    sel 'MC02M_0SCL'   mc02m_0scl_tab    mc02m_0sclsetup.
    222
    sel 'MC02M_0SGR'   mc02m_0sgr_tab    mc02m_0sgrsetup.
    223
    sel 'MC02M_0SCN'   mc02m_0scn_tab    mc02m_0scnsetup.
    224
    sel 'MC02M_0CGR'   mc02m_0cgr_tab    mc02m_0cgrsetup.
    225
    sel 'MC02M_0ACC'   mc02m_0acc_tab    mc02m_0accsetup.
    226
    *-- Application '03' (Inventory Management)
    227
    sel 'MC03BF0'      mc03bf0_tab       mc03bf0setup.
    228
    sel 'MC03BX0'      mc03bx0_tab       mc03bx0setup.
    229
    sel 'MC03UM0'      mc03um0_tab       mc03um0setup.
    230
    *-- Application '04'
    231
    sel 'MC04P_0MAT'   mc04p_0mat_tab    mc04p_0matsetup.
    232
    sel 'MC04P_0ARB'   mc04p_0arb_tab    mc04p_0arbsetup.
    233
    sel 'MC04P_0COM'   mc04p_0com_tab    mc04p_0comsetup.
    234
    sel 'MC04PE0MAT'   mc04pe0mat_tab    mc04pe0matsetup.
    235
    sel 'MC04PE0ARB'   mc04pe0arb_tab    mc04pe0arbsetup.
    236
    sel 'MC04PE0COM'   mc04pe0com_tab    mc04pe0comsetup.
    237
    *-- Application '05' (Quality Management)
    238
    sel 'MC05Q1_0INSP' mc05q1_0insp_tab  mc05q1_inspsetup.
    239
    sel 'MC05Q2_0INSP' mc05q2_0insp_tab  mc05q2_inspsetup.

    Hi Bobby,
    Did you already find a solution for this 'issue'?
    I encounter the same problem. In my humble opinion this has nothing to do with the difference between structures.
    When loading data in normal modus, there is no problem. When loading in debug, there is an error.
    I also tested with other data sources and the same issue occurs there while nothing has changed.
    If someone knows how to solve this issue, please reply.
    Thanks!
    Kind regards,
    Bart

  • Problem Multiple record navigation in oracle forms

    I retrieve multiple records using cursor fetch command in the select query i have given condition to retrieve details of employee no.
    For example if we are giving an input as empno:100 then it retrieves two records of same emp no(100).It displays 2/3 records in the task bar when i navigate using push buttons it displays an empty record in the interface provided.(ie 3/3 records).How to avoid third unknown record displaying in the interface.

    most likely the problem is during the population of the block using the query.
    i assume that you are creating one additional record after the last record from your query..
    so this must be either with the CREATE_RECORD or NEXT_RECORD problem in the loop.so you should check in the loop first if the record exists, then do CREATE_RECORD or NEXT_RECORD.

  • Free case issue - very limited info of cases :(

    Very limited info/spec/images are available for various cases for iPhone 4. It is pathetic that companies don't bother to publish more info when they are reaping millions by selling their cases. It wouldn't take more than an hour to publish more info online. Unhappy with this lethargic behaviour.
    I guess Apple should pressurize some of these companies.
    If any one can give info/inside story/pics/review about following, it would be great!!
    1 Incase smoke & clear - Does smoke have plastic material or rubber? What about scratches?
    2 belkin shield micra (except that single image which keeps floating everywhere)
    3 Griffin motif diamond/smoke - has anyone used it?
    Pixelskin HD has very good videos on youtube and hence so many people might have opted for it.

    The MimeMessage constructor you're using needs to copy the entire message from the server.  It uses the Message.writeTo method, writing the message content into a pipe that is read by the constructor.  It was a bug in previous releases that the writeTo method wasn't fetching the data in chunks, as it does in other cases.  Setting partialfetch=false will revert to the old behavior for writeTo, and for all other accesses of the message content.
    It looks like both 1.4.4 and 1.5.1 are fetching the message content using a single FETCH command when you set partialfetch=false, according to your message.  If they're both sending the same commands to the server, I can't explain why it would be fast in one case and slow in the other.
    I did similar testing using my Exchange 2010 server.  Fetching a similar size message took less than 20 seconds.  Setting partialfetch=false brought it down to less than 5 seconds.  Something's clearly wrong in your environment, but I don't know what.
    Finally, I'm sure you understand that you only need to use that MimeMessage copy constructor in special circumstances, and you should probably avoid using it unless it's absolutely necessary.  Even in the best case it's wasting time and memory.

  • Spooling from PL/SQL Block

    Hi,
    Is it possible to do spooling from a pl/sql block.The spool cannot be the first command because I want to give the spool file name in a loop and each time the spool name should change based on the value.
    I tried all possiblities,but I couldn't can anyone give me some idea on how to do this.
    I cannot use UTL_FILE option ,because the client agreed only for spooling.
    Is it possible to write the spool data is excel format..
    Please find below an example of my requirement..
    DECLARE
    CurSor Cur_Designation IS
    Select Designation from tbl_Designation;
    N_Desig Cur_Designation%RowType;
    Cursor Cur_Emp(Desig Number) IS
    Select Emp_no,Emp_name
    From Employee Where Emp_Designation = Desig;
    N_Emp Cur_Emp%RowType;
    BEGIN
    Open Cur_Designation ;
    Loop
    Fetch Cur_Designation INTO N_Desig;
    EXIT WHEN Cur_Designation %NOTFOUND;
    --Here I want to give the spool file name
    Spool --Should be designation name
    Open Cur_Emp(N_Desig.Designation);
    Loop
    Fetch Cur_Emp INTO N_Emp ;
    EXIT WHEN Cur_Emp %NOTFOUND;
    -- All employee details I need to come to log file
    End Loop;
    Close Cur_Emp;
    End Loop;
    Close Cur_Desingnation;
    End;
    Please advice me how to do this..
    Thanks,
    Bindu

    << I cannot use UTL_FILE option ,because the client agreed only for spooling. >>
    << I want to use it in a PL/SQL Block.I have some variables to declare and some cursors to be used.
    So where should I use the spool command.
    I tried to given after a fetch command ,but it is not working. >>
    you can't use SPOOL inside PLSQL
    you may use dbms_output calls in PLSQL
    so create a procedure test2 instead of sqlscript test2 and you will be fine
    rem =========== procedure test2 ================
    create or replace
    procedure test2 (p_param number) is
    begin
                 dbms_output.enable (1000000);
                 dbms_output.put_line('A' || chr(9) || 'B' || chr(9) || 'C' ) ;
                 FOR i_rec in (select a,b.c from xyz where a = p_param) LOOP
                     dbms_output.put_line (to_char(a) || chr(9) || b || chr(9) || c ) ;
                 END LOOP ;
    end ;
    REM ====================================================                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Limited remote administration

    I'm not sure how to appropriately title this, nor how to approach it.
    Basically the situation is like so:
    I have a server, which is host to a variety of services; from httpd, to remote gui's for specific tasks on the server; I have remote and local access to all of this, and all of the information stored on the server, including client files, server configuration, and super user.
    I have a partner, who only needs access to specific portions of the server.
    For example,
    My partner needs to be able to access /srv/folder/, preferably as his home directory, though not a gotcha really. This person also needs to be able to remotely execute specific commands, within the scope of the services he requires access to, i.e. sudo systemctl start/stop/restart service
    I know I can easily limit him via sudoers by creating a new group, and telling sudo to allow users of said group to execute the above commands.
    However, how can I limit the scope of the filesystem he is able to access, I don't want him having access to anything outside of /srv/folder, other than potentially a home folder with limited storage.
    Furthermore, how can I limit the availability of commands, for example, lets say he shouldn't need more than:
    cp
    mv
    rm
    mkdir
    ls
    tmux
    How can I restrict access to this level?
    Most of the access will be via ssh obviously.
    Mostly, this is to avoid as much potential human error as possible. I trust myself with the server, but I'm not sure I trust the expertise of my colleague, as Linux is somewhat foreign to him. Backup systems are in place, and everything is redundant, but I shouldn't need to rely on backups, and training shouldn't take place on a live system.

    Effectively, yes.
    I don't want them able to browse around system files and such freely, nor modify them or use them.
    A small set of applications under /usr/bin and a quota'd $HOME as well as access to /srv/folder (multiple occurences here, but not all /srv directories)
    I didn't figure it would be horrendously easy either... maybe it would be possible by aliasing all `unavailable` commands to
    echo "This user is not permitted to use that command."
    or something along those lines.
    I've done some reading, and aside from what I suggested above, it seems the only other possible routes are a chroot jail and similar other options. I may try the chroot option and see if that jails him well enough to $home, and then see about making $HOME /srv/, and then explicitly add this user to a restricted group, which will only have r/w access to particular directories. Then, by limiting the restricted group to only execute specific commands via sudoers, I think it should effectively accomplish preventing any uneccesary damage.
    Last edited by Xaero252 (2013-01-12 23:17:48)

  • Hi All, Problem related to transaction FAGLL03

    Hi All
    I am using transaction FAGLL03 but when i am executing this transaction quantity field is not getting populated.
    There is a FETCH command in FM FAGL_GET_ITEMS_BSIS which retrieves data from the following 2 tables :
    BSIS
    FAGLFLEXA  (This table has a field MSL which should have the billed quantity, but it’s zero)
    The result of the above JOIN shows MSL with ZERO quantity. Hence, please can you check if there is any user-exit in transaction VF01 (Billing document create) which we can use to populate the quantity in FAGLFLEXA-MSL.

    Hi sre,
    It is better to copy f2 to DR or Credit memo request
    for that you have to maintain copy requirement 21
                                               Billing doc.header 52                         
                                               Bill.bus.header data 103
                                               Bill.header partner  3
    and for item you maintain copy requirement 303
    from dr. or credit memo request you can able to do Document type  G2 and L2
    i think this may give some idea
    regards
    bvdv

Maybe you are looking for

  • Long running threads (Jasper Reports) and AM-Pooling

    Hi, we are developing quite large application with ADF an BC. We have quite a lot of reports generated through Jasper that take quite long time to complete. The result is a PDF document that user gets on the UI so he can download it over download lin

  • How to pass internal table to form routine..?

    Gurus, I am creating a custom Function module in which i have declared few perform statements and passing internal table to it..but when i declare the form it gives me error that the internal table is unknown...Can u please suggest me what am i doing

  • How to set date formate dd/mm/yyyy from portal.

    Dear Experts, We are implementing ESS/MSS, my query is under ESS applications, date format is showing mm/dd/yyyy, then iam trying to change  user language is English (United Kingdom), from portal end, then its showing dd/mm/yyyy. My query is that is

  • Default Report run error in BPC

    Hi BPC gurus, I am new to this space and I am totally unaware of how to tackle the issue. Your help is greatly appreciated. We have SAP BPC for MS installed on a single machine.It is SAP BPC 10 SP11. Everything was working fine till last evening but

  • Smtp auth required

    Hi As of today I am getting an alert for thunderbird saying. The mail server responded: SMTP Auth required for message submission on port 587. Can anyone tell me how I fix this. My tech guys say there should be a tick box in thunderbird saying the se