VISA TCP/IP wait after query

Hi 
I found an issue with the driver to MSO-X 2014A TCP/IP scope which was sending the status request too early after the previous query was issued. 
I have modified the vis, but I was wondering if there is a VISA property node which specifies the wait time after each VISA write is executed?
In that case I could set it upfront and do not worry about the other vis. 
thanks

pawel wrote:
OK, thanks to all. I was just wondering if I can go shortcut, but I guess not.
thanks
The *opc? command IS a shortcut!  Adding it on to the end of a SCPI command turns the previous command into a query.  When the command is done, it sends a "1" (or something similar - I've found different vendors have different interpretations of what a "1" is) to the output buffer that you read so your application only waits exactly as long as it needs to before sending the next command.  You have to look in your programmer's guide to see which of your commands supports this feature.
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.

Similar Messages

  • Strange behaviour after querying a friendly device name

    Hi,
    I have observed some very strange behaviour after querying the friendly name of an audio capturing device. This is my code:
    #include "stdafx.h"
    #include <mmdeviceapi.h>
    #include <Functiondiscoverykeys_devpkey.h>
    int main(int argc, char *argv[]) {
        HRESULT hr = CoInitializeEx(0, COINIT_APARTMENTTHREADED);
        if(FAILED(hr)) throw;
        IMMDeviceEnumerator *pIMMDeviceEnumerator = 0;
        hr = CoCreateInstance(__uuidof(MMDeviceEnumerator), 0, CLSCTX_INPROC_SERVER, __uuidof(IMMDeviceEnumerator), (LPVOID *) &pIMMDeviceEnumerator);
        if(FAILED(hr)) throw;
        IMMDeviceCollection *pIDeviceCollection = 0;
        hr = pIMMDeviceEnumerator->EnumAudioEndpoints(eCapture, DEVICE_STATE_ACTIVE, &pIDeviceCollection);
        if(FAILED(hr)) throw;
        IMMDevice *pIMMDevice = 0;
        hr = pIDeviceCollection->Item(0, &pIMMDevice);
        if(FAILED(hr)) throw;
        IPropertyStore *pIPropertyStore = 0;
        hr = pIMMDevice->OpenPropertyStore(STGM_READ, &pIPropertyStore);
        if(FAILED(hr)) throw;
        PROPVARIANT propVariant;
        PropVariantInit(&propVariant);
        pIPropertyStore->GetValue(PKEY_Device_FriendlyName, &propVariant);
        PropVariantClear(&propVariant);
        pIPropertyStore->Release();
        pIMMDevice->Release();
        pIDeviceCollection->Release();
        pIMMDeviceEnumerator->Release();
        CoUninitialize();
        return -1;
    Please ignore the strange error handling, it's just to make the example code short.
    The problem is the return value (as can be seen in the output window of Visual Studio after running the program or using "echo %errorlevel%" in cmd.exe). Certainly, one would expect to get -1. However, I get 0 instead of -1. What makes this
    really strange is that -1 is properly returned when the line "pIPropertyStore->GetValue..." is commented out. Why does this have any effect on the return value of the process? I have observed this on two different Window 7 machines with different
    soundcard configurations. However, I did another test on a Windows 8.1 machine, where everything worked correctly.
    Can anyone explain what's going on here?
    Thanks,
    Holger

    OK, here's what's going on.
    Everything goes fine until main() exits.
    At that point, mmdevapi.dll's DllMain is called with lpReserved set to a non-NULL value, which is to say, "don't bother to clean up."
    mmdevapi.dll decides to clean up anyway (for shame) and calls into some SetupAPI.dll functions.
    SetupAPI.dll is waiting on a critical section, but at that point ntdll.dll kicks in and says "you know what, the process is shutting down, and this is the last thread, so I can guarantee you this critical section will never be set." ntdll.dll then
    terminates the process, and main()'s exit code is lost.
    Matthew van Eerde

  • Conditionally disabling record updation after query

    Dear members
    I've a single record block and I wanna conditionaly disable records updation after query has fetched data. Problem is that if I disable the record updation in Post-Query trigger then it checks the condition for the very first fetched record and it the condition is true, then Updation is disabled for all the fetched records, even if the next records dont meet the condition. I'm using forms-10g. Can u give a better solution??? thanx.

    you have to use SET_ITEM_INSTANCE_PROPERTY to modify only one record:
    BEGIN
        IF ... <your_condition> THEN
            SET_ITEM_INSTANCE_PROPERTY('YOUR_BLOCK.YOUR_ITEM1', UPDATE_ALLOWED, PROPERTY_FALSE);
        ELSE
            SET_ITEM_INSTANCE_PROPERTY('YOUR_BLOCK.YOUR_ITEM1', UPDATE_ALLOWED, PROPERTY_TRUE);
        END IF;
    END;

  • Combo Box in Portal Form resets after query

    Hello all,
    I have a portal form based on Stored Procedure. In it I have a Location combo box and Query button in addition to few text items. Users can select location from the drop down list and hit Query button to view the values in for the text items. The query part is working fine. But after query the Location resets to Null (as the LOV which feeds the combo box can have Null). We would like to keep the location they chose to query up even after the query results. Any help is appreciated.
    The Location item is in the parameters of the Stored Procedure. Initially it was IN, later I changed to IN OUT but there is no change in functionality.
    I also removed the ability to accept NULL for the LOV which feeds Location Combo box but now it is displaying the first location on the list after the query, which is even worse.
    Thanks in advance,
    Manohar

    You're catching Exceptions in empty catch() blocks. There might have been an exception, but you won't know if the catch block doesn't do anything.
    Try something like this:
    catch(SQLException e){
        System.err.println( "Problem with db query"+e.getMessage() );
        e.printStackTrace( System.err );
    }in order to see what's going wrong with your code.

  • Linux VM KVP IP can't be shown on Hyper-V Manager after querying its KVP/IP information on Hyper-V host several times

    Hello
    [Sorry for asking the same question in the wrong place/forum of "Hyper-V"]
    I am using a CentOS 6.5 VM (Linux kernel 2.6.32-431) and (generation 2) CentOS 7 VM (Linux
    kernel 3.10.0-123) with Hyper-V KVP daemon installed,
    and I periodically query its IP (via using WMI or Powershell to query its KVP information) to manage it.
    However, after querying its IP (KVP) for several times, its IP can’t
    be queried or shown on Hyper-V Manager anymore (Windows VM is ok without this problem).
    And here is the vmIntegrationService status of my CentOS 7 VM for the references.
    PS C:\Users\Administrator> (Get-VM -name G2_CentOS7).vmIntegrationService
    VMName     Name                    Enabled PrimaryStatusDescription SecondaryStatusDescription
    G2_CentOS7 Time Synchronization    True    OK
    G2_CentOS7 Heartbeat               True    OK
    G2_CentOS7 Key-Value Pair Exchange True    OK                       The protocol version of the component installed ...
    G2_CentOS7 Shutdown                True    OK
    G2_CentOS7 VSS                     True    No Contact
    G2_CentOS7 Guest Service Interface False   OK
    I attached a simple KVP query Powershell script as
    the follows, and this problem can be reproduced in couple minutes if you run two instances with this script at the same time.
    $VMName = $args[0]
    write-host "$VMName"
    filter Import-CimXml
    $CimXml = [Xml]$_
    $CimObj = New-Object -TypeName System.Object
    foreach ($CimProperty in $CimXml.SelectNodes("/INSTANCE/PROPERTY"))
    if ($CimProperty.Name -eq "Name" -or $CimProperty.Name -eq "Data")
    $CimObj | Add-Member -MemberType NoteProperty -Name $CimProperty.NAME -Value $CimProperty.VALUE
    $CimObj
    $CimObj = $null
    for ($i=1 ; $i -le 10000 ; $i++) {
    $a = Get-Date
    write-host "$i - Time: " $a.ToLocalTime()
    $vm = Get-WmiObject -Namespace root\virtualization\v2 -Query "Select * From Msvm_ComputerSystem Where ElementName='$VMName'"
    $vm.ElementName
    $vmkvp = Get-WmiObject -Namespace root\virtualization\v2 -Query "Associators of {$vm} Where AssocClass=Msvm_SystemDevice ResultClass=Msvm_KvpExchangeComponent"
    $vmkvp.GuestIntrinsicExchangeItems | Import-CimXml
    Actually, if your CentOS VM (has LIS) installed with KVP daemon running well,
    my test script will show more than 4 keys (include NetworkAddressIPv4 or NetworkAddressIPv6 keys).
    However, while the KVP daemon becomes problematic, it will only show a few keys
    (ex. 4~6 keys) and at this moment, Hyper-V Manager also can't show IP address of it anymore and you may need to reboot the CentOS VM to recover it.
    For example (KVP in 252 time is good, but KVP in 253 and 254 times become problematic)
    252 - Time:  8/26/2014 7:19:42 PM
    G2_CentOS7
    localhost                                                   FullyQualifiedDomainName
    3.1                                                         IntegrationServicesVersion
    10.1.145.190;192.168.122.1                                  NetworkAddressIPv4
    fe80::215:5dff:fe91:b902                                    NetworkAddressIPv6
    3.10.0-123.el7.x86_64                                       OSBuildNumber
    0                                                           OSDistributionData
    0                                                           OSDistributionName
    199168                                                      OSKernelVersion
    7                                                           OSMajorVersion
                                                                OSMinorVersion
    CentOS Linux                                                OSName
    129                                                         OSPlatformId
    3.10.0                                                      OSVersion
    x86_64                                                      ProcessorArchitecture
    253 - Time:  8/26/2014 7:19:42 PM
    G2_CentOS7
    localhost                                                   FullyQualifiedDomainName
    3.1                                                         IntegrationServicesVersion
    10.1.145.190;192.168.122.1                                  NetworkAddressIPv4
    0                                                           OSDistributionData
    0                                                           OSDistributionName
    199168                                                      OSKernelVersion
    129                                                         OSPlatformId
    254 - Time:  8/26/2014 7:19:44 PM
    G2_CentOS7
    0                                                           OSDistributionData
    0                                                           OSDistributionName
    199168                                                      OSKernelVersion
    129                                                         OSPlatformId
    I
    found the following patches and gave them a try, but the
    problem still remains after applying these patches and the (generation 2) Ubuntu 14.04 with Linux kernel 3.13 also has this problem.
     - Patch "Drivers:
    hv: util: Fix a bug in the KVP code" has been added to the 3.14-stable tree
     - Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code
    But (generation 1) Ubuntu 14.04 VM with Linux kernel 3.17 doesn't encounter this problem after querying its KVP/IP information on Hyper-V host several times.
    Does anyone know what changes between Linux kernel 3.13 and 3.17 fix this issue?
    Thanks,
    Paul

    Hi Dexuan and Mike,
    Thanks for your help!
    I did the patch with rpmbuild on CentOS 6.5 (with kernel 2.6.32-431).
    However, the second patch cannot patch on CentOS6.5 since there is no target_cpu in such version.
    So we are patching that with the following similar patch but this issue still occurs. (also replace ko in initrd)
    https://lists.ubuntu.com/archives/kernel-team/2014-August/047725.html
    Can you tell me if any patch I could miss or any suggestion?
    Thanks for your time.

  • Go_item(:detail.item) after query(F7) in master, frm-40737

    Dear friends,
    I have a master block and a detail block. When the master block ist queried, I want to go to a disticnt item in detail block, if there are records. Therefore I tried to put code in the post_query of the detail_block, which caused error frm-40737:
    if :evm_jn_lief_artikel_lagort.lagort_id is null then
    go_item('evm_a_liefrant.liefrant_uk');
    else
    go_item('lieferschein.belegnr')
    end if;
    error message says, that I cannot call the restricted procedure go_item in post_query.
    okay, but where can I put this code that it is called automatically after query?
    Thanks
    Silke

    Thank you I tried it, principally it works, but there is a problem left. This is my code in key_exeqry of detail:
    execute_query;
    message('execute_query, lagort_id: ' || :evm_jn_lief_artikel_lagort.lagort_id);
    message('execute_query, lagort_id: ' || :evm_jn_lief_artikel_lagort.lagort_id);
    if :evm_jn_lief_artikel_lagort.lagort_id is null then
         -- keine Artikel am lagerort
         go_item('evm_a_liefrant.liefrant_uk');
         message('evm_a_liefrant.liefrant_uk');
         message('evm_a_liefrant.liefrant_uk');
    else
         go_item('lieferschein.belegnr');
         message('lieferschein.belegnr');
         message('lieferschein.belegnr');
    end if;     
    When t´here are records in the detail block else is choosen, but forms doesn't go the item!
    The 'old' item (from where F8 was pressed) stays activated.

  • My apps are all waiting after 7.1.1 update

    All my apps are waiting after the 7.1.1 update.  I have signed out of everything and held the home button and sleep button.  That did not work, any other ideas?

    You can try and sync with your usual computer.
    Don't open new discussion; tap on "Reply"

  • How can I stop Firefox from asking me whether to share my location every time I visit a new page, after I've repeatedly answered Never Share My Location?

    How can I stop Firefox from asking me whether to share my location every time I visit a new page, after I've repeatedly answered Never Share My Location?

    You can also manage all permissions on the about:permissions page via the location bar.<br />
    Use "All Sites" to set the defaults.
    You can open about:xxxx pages via the location bar like you open a website.<br />
    Firefox uses the about: protocol to access internal Firefox (setting) pages.
    *http://kb.mozillazine.org/About_protocol_links

  • "Variable applied"display  after query execution  through WAD incorrect

    Hi ,
    In my queries i provide varible entries for  0FISCPER, 0FISCVARNT along with other variables.In the query i dispplay the values for the variables applied.When i run these queries through 2004s WAD  if i were to select 0FISCPER = 01/08/2007 and 0FISCVARNT = AK after query execution the variable applied displays - 
    <b>0FISCPER = AK/01/08/2007
    0FISCVARNT = #</b>.
    It works fine on 3.5 templates.We are on SP9.We have a sandbox also and i tested it out in sandbox  and have no problem there.
    Is anyone facing the same issue?
    Regards,
    Shiva

    Not much experience in WAD but I think there should be a query in BEx Query Designer.
    There you can choose that characteristics which takes time. Select "Advanced" tab from right hand side.
    Under "Filter Value Selection During Query Execution"  you will get 4 options.
    BTW if you have a query on DSO then creating index ( secondary) on the affected characteristics would also resolve your problem
    Regards
    Anindya

  • Go_block doesn't wait after execute query.

    Hi All,
    I have an issue with go_block and execute query sequence. I have a code
    snippet which is in a program unit called form key-exeqry trigger. As per
    the expected behaviour the cursor should wait on the block for user input.
    But it just shows the block with the details and moves to the next code
    after execute-query. I added few debug messages in when-new-block-instance
    and pre-query triggers for the block, but none of them get executed.
    This block is being displayed through an another flow and there it waits .
    Please help!!
    Thanks in advance
    Ashok
    if l_cnt >0 then
    message('condition matched');pause;
         l_where := 'acct_no = 1114';
         go_block('sel_acct');
         clear_block(no_validate);
    set_block_property('sel_acct',DEFAULT_WHERE,l_where);
    execute_query;
         message('after sel_acct');pause;

    > As per the expected behaviour the cursor should wait on the block for user input.
    You are confusing Enter_Query with Execute_Query.
    If you change your Execute_Query to Enter_Query, the process will stop and allow the user to enter query values. However, your next line,
    message('after sel_acct');pause;
    will never execute.
    But, you should NOT code the Enter_Query command in a process called by Key-Exeqry, since the user needs to press Key-Exeqry after he enters query values. Your process above should be initiated by a Key_EntQry trigger instead.

  • Buffer busy waits after cnanging lob storage  to oracle securefiles

    Hi Everyone
    I need help resolving a problem with buffer busy waits in for a lob segment using securefiles for storage.
    During the load the application inserts a record into a table with the lob segment and update the record after, populating lob data. The block size on the table space holding the lob is 8 kb and the chunk size on the lob segment is set to 8kb. The average size of the lob record is 6 kb and the minimum size is 4.03 KB. The problem occurs only when running a job with a big number of relatively small inserts (4.03 Kb) in to the lob column . The table definition allow in-row storage and the ptcfree set to 10%. The same jobs runs without problem when using basicfiles storage for the lob column.
    According to [oracle white paper |http://www.oracle.com/technetwork/database/options/compression/overview/securefiles-131281.pdf] securefiles have a number of performance enhancements. I was particular interested to test Write Gather Cache as our application does a lot of relatively small inserts into a lob segment.
    Below is a fragment from the AWR report. It looks like all buffer busy waits belong to a free list class. The lob segment is located in an ASSM tablespace and I cannot increase freelists.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning option
    Host Name        Platform                         CPUs Cores Sockets Memory(GB)
    DB5              Microsoft Windows x86 64-bit        8     2              31.99
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:      1259 01-Apr-11 14:40:45       135       5.5
      End Snap:      1260 01-Apr-11 15:08:59       155      12.0
       Elapsed:               28.25 (mins)
       DB Time:              281.55 (mins)
    Cache Sizes                       Begin        End
    ~~~~~~~~~~~                  ---------- ----------
                   Buffer Cache:     2,496M     2,832M  Std Block Size:         8K
               Shared Pool Size:     1,488M     1,488M      Log Buffer:    11,888K
    Load Profile              Per Second    Per Transaction   Per Exec   Per Call
    ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------
          DB Time(s):               10.0                0.1       0.01       0.00
           DB CPU(s):                2.8                0.0       0.00       0.00
           Redo size:        1,429,862.3            9,390.5
       Logical reads:          472,459.0            3,102.8
       Block changes:            9,849.7               64.7
      Physical reads:               61.1                0.4
    Physical writes:               98.6                0.7
          User calls:            2,718.8               17.9
              Parses:              669.8                4.4
         Hard parses:                2.2                0.0
    W/A MB processed:                1.1                0.0
              Logons:                0.1                0.0
            Executes:            1,461.0                9.6
           Rollbacks:                0.0                0.0
        Transactions:              152.3
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                               Avg
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    buffer busy waits                 1,002,549       8,951      9   53.0 Concurrenc
    DB CPU                                            4,724          28.0
    latch: cache buffers chains      11,927,297       1,396      0    8.3 Concurrenc
    direct path read                    121,767         863      7    5.1 User I/O
    enq: DW - contention                209,278         627      3    3.7 Other
    ?Host CPU (CPUs:    8 Cores:    2 Sockets: )
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
           38.7       3.5       57.9
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:      40.1
                  % of busy  CPU for Instance:      95.2
      %DB time waiting for CPU - Resource Mgr:       0.0
    Memory Statistics
    ~~~~~~~~~~~~~~~~~                       Begin          End
                      Host Mem (MB):     32,762.6     32,762.6
                       SGA use (MB):      4,656.0      4,992.0
                       PGA use (MB):        318.4        413.5
        % Host Mem used for SGA+PGA:        15.18        16.50
                                                                 Avg
                                            %Time Total Wait    wait    Waits   % DB
    Event                             Waits -outs   Time (s)    (ms)     /txn   time
    buffer busy waits             1,002,549     0      8,951       9      3.9   53.0
    latch: cache buffers chain   11,927,297     0      1,396       0     46.2    8.3
    direct path read                121,767     0        863       7      0.5    5.1
    enq: DW - contention            209,278     0        627       3      0.8    3.7
    log file sync                   288,785     0        118       0      1.1     .7
    SQL*Net more data from cli    1,176,770     0        103       0      4.6     .6
    Buffer Wait Statistics                DB/Inst: ORA11G/ora11g  Snaps: 1259-1260
    -> ordered by wait time desc, waits desc
    Class                    Waits Total Wait Time (s)  Avg Time (ms)
    free list              818,606               8,780             11
    undo header            512,358                 141              0
    2nd level bmb          105,816                  29              0
    -> Total Logical Reads:     800,688,490
    -> Captured Segments account for   19.8% of Total
               Tablespace                      Subobject  Obj.       Logical
    Owner         Name    Object Name            Name     Type         Reads  %Total
    EAG50NSJ   EAG50NSJ   SYS_LOB0000082335C00            LOB    127,182,208   15.88
    SYS        SYSTEM     TS$                             TABLE    7,641,808     .95
    Segments by Physical Reads            DB/Inst: ORA11G/ora11g  Snaps: 1259-1260
    -> Total Physical Reads:         103,481
    -> Captured Segments account for  224.4% of Total
               Tablespace                      Subobject  Obj.      Physical
    Owner         Name    Object Name            Name     Type         Reads  %Total
    EAG50NSJ   EAG50NSJ   SYS_LOB0000082335C00            LOB        218,858  211.50
    ....Best regards
    Yuri Kogun

    Hi Jonathan,
    I was puzzled by the number of logical reads as well. This hasn't happened when the lob was stored as a basic fille and I assumed that the database is able to store the records in-row when we switched to securefiles. With regards to ASSM, according to the documentation this is the only option when using securefiles.
    We did have high number of HW-enqueue waits in the database when running the test with basic files and had to set 44951 event
    alter system set EVENTS '44951 TRACE NAME CONTEXT FOREVER, LEVEL 1024' There are 2 application servers running 16 jobs each, so we should not have more than 32 sessions inserting the data in the same time but I need to check wheter jobs can be brocken to smaller peaces. I that case the number of concurrent session may be bigger. Each session is configured with bundle size of 30 and it will issue commit every 30 inserts.
    I am not sure how exactly the code does insert, as I've been told it should be straight insert and update I will be able to check this on Monday.
    Below is the extract from the AWR reports with top SQL, I could not find any SQL related to the $TS table in the report. The query to the V$SEGMENT_STATISTICS was executed by me during the job run.
    ?SQL ordered by Elapsed Time          DB/Inst: ORA11G/ora11g  Snaps: 1259-1260
    -> Resources reported for PL/SQL code includes the resources used by all SQL
       statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    -> %Total - Elapsed Time  as a percentage of Total DB time
    -> %CPU   - CPU Time      as a percentage of Elapsed Time
    -> %IO    - User I/O Time as a percentage of Elapsed Time
    -> Captured SQL account for   91.3% of Total DB Time (s):          16,893
    -> Captured PL/SQL account for    0.1% of Total DB Time (s):          16,893
            Elapsed                  Elapsed Time
            Time (s)    Executions  per Exec (s)  %Total   %CPU    %IO    SQL Id
             7,837.5        119,351          0.07   46.4   28.3     .7 2zrh6mw372asz
    Module: JDBC Thin Client
    update JS_CHANNELDESTS set CHANNELID=:1, DESTID=:2, CHANNELDESTSTATUSDATE=:3, ST
    ATUS=:4, BINOFFSET=:5, BINNAME=:6, PAGECOUNT=:7, DATA=:8, SORTORDER=:9, PRINTFOR
    MAT=:10, ENVELOPEID=:11, DOCID=:12, CEENVELOPEID=:13, CHANNELTYPE=:14 where ID=:
    15
             7,119.0        115,997          0.06   42.1   23.1     .2 3vjx93vur4dw1
    Module: JDBC Thin Client
    insert into JS_CHANNELDESTS (CHANNELID, DESTID, CHANNELDESTSTATUSDATE, STATUS, B
    INOFFSET, BINNAME, PAGECOUNT, DATA, SORTORDER, PRINTFORMAT, ENVELOPEID, DOCID, C
    EENVELOPEID, CHANNELTYPE, ID) values (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :
    11, :12, :13, :14, :15)
                85.6              2         42.80     .5   98.3     .0 cc19qha9pxsa4
    Module: SQL Developer
    select object_name, statistic_name, value from V$SEGMENT_STATISTICS
    where object_name = 'SYS_LOB0000082335C00011$$'
                35.0        111,900          0.00     .2   74.3    7.6 c5q15mpnbc43w
    Module: JDBC Thin Client
    insert into JS_ENVELOPES (BATCHID, TRANSACTIONNO, SPOOLID, JOBSETUPID, JOBSETUPN
    AME, SPOOLNAME, STEPNO, MASTERCHANNELJOBID, SORTKEY1, SORTKEY2, SORTKEY3, ID) va
    lues (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12)
                34.9        111,902          0.00     .2   63.0    2.6 a0hmmbjwgwh1k
    Module: JDBC Thin Client
    insert into JS_CHANNELJOBPROPERTIES (NAME, VALUE, CHANNELJOBID, ID) values (:1,
    :2, :3, :4)
                29.2            950          0.03     .2   95.9     .1 du0hgjbn9vw0v
    Module: JDBC Thin Client
    SELECT * FROM JS_BATCHOVERVIEW WHERE BATCHID = :1
    ?SQL ordered by Executions            DB/Inst: ORA11G/ora11g  Snaps: 1259-1260
    -> %CPU   - CPU Time      as a percentage of Elapsed Time
    -> %IO    - User I/O Time as a percentage of Elapsed Time
    -> Total Executions:       2,476,038
    -> Captured SQL account for   96.0% of Total
                                                  Elapsed
    Executions   Rows Processed  Rows per Exec   Time (s)   %CPU    %IO    SQL Id
         223,581         223,540            1.0       22.4   63.7     .0 gz7n75pf57c
    Module: JDBC Thin Client
    SELECT SQ_CHANNELJOBPROPERTIES.NEXTVAL FROM DUAL
         120,624         120,616            1.0        8.1   99.0     .0 6y3ayqzubcb
    Module: JDBC Thin Client
    select batch0_.BATCHID as BATCHID0_0_, batch0_.BATCHNAME as BATCHNAME0_0_, batch
    0_.STARTDATE as STARTDATE0_0_, batch0_.PARFINDATE as PARFINDATE0_0_, batch0_.PRO
    CCOMPDATE as PROCCOMP5_0_0_, batch0_.BATCHSTATUS as BATCHSTA6_0_0_, batch0_.DATA
    FILE as DATAFILE0_0_, batch0_.BATCHCFG as BATCHCFG0_0_, batch0_.FINDATE as FINDA
         119,351         227,878            1.9    7,837.5   28.3     .7 2zrh6mw372a
    Module: JDBC Thin Client
    update JS_CHANNELDESTS set CHANNELID=:1, DESTID=:2, CHANNELDESTSTATUSDATE=:3, ST
    ATUS=:4, BINOFFSET=:5, BINNAME=:6, PAGECOUNT=:7, DATA=:8, SORTORDER=:9, PRINTFOR
    MAT=:10, ENVELOPEID=:11, DOCID=:12, CEENVELOPEID=:13, CHANNELTYPE=:14 where ID=:
    15
         116,033         223,892            1.9        8.0   92.2     .0 406wh6gd9nk
    Module: JDBC Thin Client
    select m_jobprope0_.CHANNELJOBID as CHANNELJ4_1_, m_jobprope0_.ID as ID1_, m_job
    prope0_.NAME as formula0_1_, m_jobprope0_.ID as ID4_0_, m_jobprope0_.NAME as NAM
    E4_0_, m_jobprope0_.VALUE as VALUE4_0_, m_jobprope0_.CHANNELJOBID as CHANNELJ4_4
    _0_ from JS_CHANNELJOBPROPERTIES m_jobprope0_ where m_jobprope0_.CHANNELJOBID=:1
         115,997         115,996            1.0    7,119.0   23.1     .2 3vjx93vur4d
    Module: JDBC Thin Client
    insert into JS_CHANNELDESTS (CHANNELID, DESTID, CHANNELDESTSTATUSDATE, STATUS, B
    INOFFSET, BINNAME, PAGECOUNT, DATA, SORTORDER, PRINTFORMAT, ENVELOPEID, DOCID, C
    EENVELOPEID, CHANNELTYPE, ID) values (:1, :2, :3, :4, :5, :6, :7, :8, :9, :10, :
    11, :12, :13, :14, :15)
         115,996         115,996            1.0       15.9   75.0    4.5 3h58syyk145
    Module: JDBC Thin Client
    insert into JS_DOCJOBS (CREATEDATE, EFFDATE, JURIST, LANG, IDIOM, DD, DDVID, USE
    RKEY1, USERKEY2, USERKEY3, USERKEY4, USERKEY5, USERKEY6, USERKEY7, USERKEY8, USE
    RKEY9, USERKEY10, USERKEY11, USERKEY12, USERKEY13, USERKEY14, USERKEY15, USERKEY
    16, USERKEY17, USERKEY18, USERKEY19, USERKEY20, REVIEWCASEID, ID) values (:1, :2
         115,440         115,422            1.0       11.5   63.3     .0 2vn581q83s6
    Module: JDBC Thin Client
    SELECT SQ_CHANNELDESTS.NEXTVAL FROM DUAL
    ...The tablespace holding the lob segment has system extent allocation and the number of blocks for the lob segments roughly the same as the number of blocks in allocated extents.
           select segment_name,  blocks, count (*)  
           from dba_extents where segment_name = 'SYS_LOB0000082335C00011$$'
           group by segment_name,  blocks
           order by blocks
    SEGMENT_NAME                                                                      BLOCKS                 COUNT(*)              
    SYS_LOB0000082335C00011$$                                                         8                      1                     
    SYS_LOB0000082335C00011$$                                                         16                     1                     
    SYS_LOB0000082335C00011$$                                                         128                    158                   
    SYS_LOB0000082335C00011$$                                                         256                    1                     
    SYS_LOB0000082335C00011$$                                                         1024                   120                   
    SYS_LOB0000082335C00011$$                                                         2688                   1                     
    SYS_LOB0000082335C00011$$                                                         8192                   117                   
    SELECT
        sum(ceil(dbms_lob.getlength(data)/8000))
        from EAG50NSJ.JS_CHANNELDESTS
    SUM(CEIL(DBMS_LOB.GETLENGTH(DATA)/8000))
    993216                                  
    select sum  (blocks)   from dba_extents where segment_name = 'SYS_LOB0000082335C00011$$'
    SUM(BLOCKS)           
    1104536                Below is the instance activity stats related to securefiles from the AWR report
    Statistic                                     Total     per Second     per Trans
    securefile allocation bytes           3,719,995,392    2,195,042.4      14,415.7
    securefile allocation chunks                380,299          224.4           1.5
    securefile bytes non-transformed      2,270,735,265    1,339,883.4       8,799.6
    securefile direct read bytes          1,274,585,088      752,089.2       4,939.3
    securefile direct read ops                  119,725           70.7           0.5
    securefile direct write bytes         3,719,995,392    2,195,042.4      14,415.7
    securefile direct write ops                 380,269          224.4           1.5
    securefile number of non-transfo            343,918          202.9           1.3Best regards
    Yuri
    Edited by: ykogun on 02-Apr-2011 13:33

  • Should I wait after sending a remote device wipe command before removing an ActiveSync partnership?

    The process for terminating users at the company I'm presently working for includes remotely wiping any ActiveSync devices and then removing the ActiveSync relationship. I'm writing a PowerShell script to automate the process and, when I send the remove-ActiveSyncDevice
    cmdlet after sending the clear-ActiveSyncDevice cmdlet, I get a warning that "the device is waiting to be wiped".
    If I remove the device, does that cancel any pending wipe commands?
    I've done as much web searching as I can in order to find the answer and I'm just having no luck. I would assume that Exchange would give me a more informative warning if removing the device would cancel the wipe request, but since there's so little detail
    in the warning I just can't be sure.
    I've read the technet references on the commands and the technet articles on managing mobile phones - none answer this question.
    MS
    Technet reference on clear-activesyncdevice
    MS Technet reference on remove-activesyncdevice
    MS Technet reference on Managing Mobile Devices
    I have done numerous web searches with multiple search engines using keywords I would expect for this query. I have also searched these forums. I've also asked several of my colleagues at work, all of whom assume that the wipe command is still processed after
    removing the partnership, but none of them have any references to back that up.
    As a note, I'm using Exchange 2010, but I assume that it shouldn't be too different between 2010 and 2013.

    Well, it seems no one knows the answer.
    I dug up an old phone and tested. Here is my test scenario:
    Add the account to the phone and sync with Exchange
    Power off the phone
    Send wipe command from EMC
    Remove partnership in EMC
    Power phone back on
    Open e-mail and sync with Exchange
    The result was that the e-mail client on the phone reconnected the mailbox and created a new partnership with Exchange. The wipe command was not queued and was obliterated along with the first partnership.
    So the answer is: Yes, wait until confirmation that the phone has been wiped before removing the partnership.

  • Visa tcp ip

    Bonjour,
    Je cherche un exemple de visa tcpip simple pour m'aider pour mon premier essai.
    Je souhaite raccorder un MC redlion a mon pc pour faire de l'acquisition de données, j'ai fait mon reseau avec max mais au niveau programmation ça ne marche pas(erreur E/S).Ci joint mon prog avec juste une visa read,le nom de la ressource, le nombre octect et le buffer.
    Merci pour votre aide
    Eric
    Attachments:
    essai.vi ‏9 KB

    ok, tanks for your response,
    the modular controler red lion (model; CSMSTR-SX) have been configured to comunicate in MODBUS / TCP:IP, after consulted to red lion's service center they suggested us to change the controller priority to slave, but wihtout success. in this configuration it is not neccesary to send any command to the device. we'd like to create a VI that permets us to read the data from the controller.
     link to the data sheet: http://www.redlion.net/Products/Groups/ModularCont​rollerMaster/CSMSTRLE/SX/GT/Docs/05033.pdf
    thanks in avance

  • VISA Session BeginWrite Waits

    Based on the VB.NET SimpleAsynchronousReadWrite example, I'm able to perform BeginRead for my VISA session (TCP/LAN instrument, VXI-11). As expected, BeginRead returns immediately and then my callback gets called when the instrument responds or when a timeout error occurs. I'm even able to use the session Terminate method to abort the operation using the IAsyncResult returned by BeginRead.
    But calling BeginWrite doesn't return immediately. It waits for the operation to finish or time out. My callback does get called and the operation does execute and complete properly but the overall behavior isn't async. What is going on?
    I'm using Measurement Studio 2013 for Visual Studio 2010, NET Framework 4.

    For VXI-11, a VISA session BeginWrite turns into a RPC device_write request to the instrument's core port. The instrument is supposed to respond with a device_write reply. You can see these packets using a protocol analyzer like Wireshark. What should happen is BeginWrite should wait asynchronously (return immediately) for the device_write reply, allowing the host to perform other processing (Windows GUI etc). During this time, I should also be able to use the VISA session Terminate function to cancel the pending write (host sends RPC device_abort request to instrument's abort port).
    For VISA async reads, BeginRead ends up sending a RPC packet device_read request then asynchronously waits for the instrument to send a device_read reply. Unlike BeginWrite, BeginRead does return immediately allowing the host PC to do other things. If the instrument fails to send the device_read reply, VISA correctly waits in the background and allows my application code to send VISA terminate (correctly sends packet to abort port) or terminates on its own due to a timeout.
    So it appears BeginWrite doesn't implement the correct async behavior for the initial RPC device_write request but instead synchronously waits for the device_write reply. I would like BeginWrite to have the same behavior as BeginRead.

  • NME-CUE stuck in waiting after upgrade from 8.5 to 8.6

    Hi,
    I have been trying to upgrade our CUE from 8.5.4 to 8.6.4, but after the upgrade it is stuck in the below stage. Any help would be much appreciated.
            Welcome to Cisco Service Engine
    Power button monitor started
    Setting the system time from hardware clock
    ********** rc.aesop ****************
    Populating resource values from /etc/bryce_rsrc_file
    attribute ios_rbcp/app_cookie_id exists
    Populating resource values from /etc/default_rsrc_file
    Populating resource values from /etc/products/cue/default_rsrc_file
    Populating resource values from /etc/products/cue/bryce_rsrc_file
    Processing manifests . . . . . . . . . . . . . complete
    ==> Management interface is eth0
    ==> Management interface is eth0
    Serial Number: FOC15080XED
    INIT: Entering runlevel: 2
    ********** rc.post_install ****************
    INIT: Switching to runlevel: 4
    INIT: Sending processes the TERM signal
    ==> Starting CDP
    STARTED: ntp_startup.sh
    STARTED: LDAP_startup.sh
    STARTED: SQL_startup.sh
    STARTED: dwnldr_startup.sh
    STARTED: HTTP_startup.sh
    STARTED: probe
    STARTED: fndn_udins_wrapper
    STARTED: superthread_startup.sh
    STARTED: /usr/wfavvid/run-wfengine.sh
    STARTED: /usr/bin/launch_ums.sh
    Waiting 27 ...
    Waiting 605 ...

    Post Author: blairwheadon
    CA Forum: Upgrading and Licensing
    In the Database Expert, bring up the Options dialog.  I think it's on the right click menu.  You can then enter a filter for the table name and owner using wildcards.  This will limit the number of tables presented and allow you to see the new view.
    Thanks, Blair

Maybe you are looking for

  • IView used in middle part of SDN homepage?

    Hi, I am actually a Basis Consultant, but have to build a basic prototype of a portal for demonstration purposes so this is propably a very basic developemnt question: What iView is being used in the middle part of the SDN homepage to display the new

  • Baldur's Gate Enhanced Edition missing libjson.so.0

    Hi guys, I just installed the beta of BGEE from Steam and I noticed that it won't start. I figured out it was missing libjson.so.0 by running it from the terminal. Knowing good and well I had json-c and lib32-json-c installed, I was stumped.  So I tu

  • Getting the "code" of a class as byte array

    Hi! My problem is the following. My algorithm gets a Class object and it should return the code of the class as byte array. e.g. public byte [] getTheCode (Class forThisClass); I found out, that I can get an InputStream for a ressource, so that i can

  • Broken Buttons in CC

    I have a UI that I have built using the sprite technique. It moves the image up and down inside the window on button click. it works fine up until cc. Its weird because When I click in some of the other fields the buttons eventually change to what wa

  • Mail.app not recognizing/only partially recognizing attachments

    Hi, Since upgrading to OS X 10.5, mail.app intermittently doesn't fully recognize attachments. The mail.app *Message Viewer* window correctly lists the email subject and the no. of attachments. But viewing the message shows no attachment, nor is ther