Waiting for data spacific

Hello

I have been to

CREATE or REPLACE TYPE event_msg_type () AS OBJECT
name VARCHAR2 (10),
current_status NUMBER (5),
next_status NUMBER (5)
);


I need deque spacific data using DBMS_AQ.dequeue, which means, for example, I need to wait where name = 'hh '.

BR

You have a few options, I can think... more I'm sure:

1. the use of the rules - so when a message is queued, the rule evaluates the content and correctly sets the consumer_name, then you could have a rule that a for name = "HH" and then put that, under the HH consumer_name - take a look on: http://download.oracle.com/docs/cd/B19306_01/server.102/b14257/aq_admin.htm#sthref945

2 DQ message by msg_id(2) - so ask the queue view, interrogatin field user_data for these messages matching your criteria get the msg_id(2) argument and use it to DQ them.

I prefer option 1.

HTH

Thank you
Paul

Tags: Database

Similar Questions

  • Waiting for data on serial port

    Hello everyone.

    I'm trying to figure out how I can solve a problem on LabView. I programmed an Arduino board to read and send a data table of the accelerometer on the serial port. I want to LabView to receive the data and graphs it. My problem is that Arduino send data on an ongoing basis and sometimes LabView can not cope with traffic and read some values "0".

    Is it possible to wait for the data and solve this problem?

    I joined my current vi.

    Thank you much in advance.

    AndreasSchnaas wrote:

    Yes, the characters are 0-9 and - no. ' + 'or'. '. And bytes that vary.

    Once again, thank you very much.

    Given that you send ASCII characters, change your Arduino code to send a character to end of line (10 byte value) at the end of each transmission.  Your code is already configured to use it.  Then you need not use the bytes to the Port at all.  Suffice to say the VISA of reading to read a large number of bytes.  Playback stops when it finds the stop character (value 10).  Your code will get a lot easier from there.

  • Waiting for data sheets

    Dear all brothers.

    I want a query to retrieve the data sheets for employees, as the start_date and end_date, leave_type arguments pending these things.

    Thank you in advance, I appreciate your help.

    Hello

    Hope under query allows to obtain information on pending leaves: -.

    Select Papf.employee_number 'No. Emp'
    , papf.full_name "name of the Emp.
    , hat.creation_date 'let applied '.
    ,(Select Fu.user_name from)
    Apps.fnd_user fu
    When user_id = hat.last_updated_by) "last approver.
    , decode (hat.status, 'E', 'pending approval', 'Error', ' there 'would be', 'Deleted', 'Other') 'current state '.
    , hat.item_key, 'key '.
    , hats.information1 'Absence Start Date.
    hats.information2 'Absence End Date'
    (by selecting paat.name in apps.per_absence_attendance_types PAAT
    where absence_attendance_type_id = hats.information5) Type "Absence".
    , hats.information6 "without category".
    hats.information9 'Status of Absence'
    of apps.hr_api_transactions hat
    apps.hr_api_transaction_steps hats
    apps.per_all_people_f women's wear
    where 1 = 1
    and papf.person_id = hat.selected_person_id
    and hat.transaction_id = hats.transaction_id
    and hat.status = 'Y '.

    Thank you
    Avinash

  • A time waiting for data acquisition

    What is the best way to increase the time of settling on measures Visual C++ of the PXI-6255 A to D? We needed to make some changes of material which gave rise to a measure by a voltage divider high resistance (24.7 k and 100 k) with secondary action on a voltage close to the ground. Switching between the two sources leads to images ghosts/crosstalk effects. We don't have a way to make changes to the material at present. Reduce the frequency of sampling is useful up to a point, after which the voltage reading is still low.

    I tried to use the daqmxsetswitchdevsettlingtime function, but have been unable to find documentation on the first parameter, char deviceName []. What is the name of device?

    If this function is deprecated, there's a replacement feature for this?

    Switching functions of NOR apply only for NI Switch hardware. What you want is to change the clock to convert to change the time channel inter.

    http://digital.NI.com/public.nsf/WebSearch/65E7445DB1AA5DC586256A410058697B?OpenDocument

  • Waiting for data

    OPERATING SYSTEM: AIX
    DB: 11g


    In a physical configuration of the standby database, I had to perform incomplete recovery to my primary database and because of that I had to open my primary database with resetlogs option.

    What should I do with the database of the previous day, I need to create another as the orde of my primary is reset with the LSN 1?

    Concerning

    When STANDBY_FILE_MANAGEMENT is set to manual on standby and you add a data file to the primary, then the data file is created in Eve DB under the $ORACLE_HOME/dbs location when the redo data is shipped from primary to standby mode. And finally, the MRP stops.
    You can check the link I gave in my previous post.

    If redo data are not delivered before primary and you do not get to see the data file newly added in the standby database using the view v$ datafile, then you will need to place the tablespace in primary DB in backup mode, copy the data from database pending file and update the controlfile ensures.

    Re: Lost datafile on Standby in Oracle 10g

    Kind regards
    Shivananda

  • GSS stuck "waiting for configuration data.

    One of my clients have 2 GSS 4900 running ver 4.1 (1)

    I can't get the ESG service works properly in a secondary gssm running. Gssm service looks like it starts but if I check "gss status" och "Show System State" that it is awaiting configuration data

    MNT - GSS - 002.nt.se #show - system status

    Standby GSS - 4.1 (1) GSSM - Cisco [Mar 12 Nov 16:10:21 UTC 2013]

    Recorded in primary GSSM: 10.16.0.15

    Component waiting for data routing configuration (wait a minute). [runmode = 3]

    START THE SERVER

    16:01 Config agent (crdirector)

    16:01 Config Server (crm)

    16:01 Database

    16:01 GUI Server (tomcat)

    16:01, Node Manager

    16:01 webserver (apache)

    Ping works fine between the GSS: are and there is no firewall involved (both are located on the same ip subnet).

    I did stop gss and then start gss. Waited for 24 hours, but the situation is the same.

    If I'm running tcpdump on the secondary, I see TCP traffic and UDP between the primary and the secondary, although all UDP packets have a warning of incorrect checksum.

    I have no idea on how to t-shoot, that. Should I do gss disable, remove this gss of the primary gssm and enable gss again in the secondary?

    Notice to lovers?

    Hello

    There seems to be a communication problem. You can do the following and see if the GSS is going to runmode = 5.

    On the standby: gss stop gss disable Then, go into the GUI of the GSSM and delete the standby GSS from the resources tab Then go to standby: gss enable gssm-standby x.x.x.x (IP of primary )

    Then in the GUI of primary GSSM, you will again see the standby in the resources tab. Click on it, and check on the activate button, then hit submit. Make sure the standby goes to runmode 5 under "gss status" output.

    If this doesn't work then you can try the below:

    Go to the GUI of the GSSM and delete the standby GSS from the resources tab. On the standby: gss stop restore-factory-defaults Make sure you have a console connection so you can do the initial config on the Standby GSS (add IP, etc). Once done, enter standby:

    gss enable gssm-standby x.x.x.x Then in the GUI of primary GSSM, you will again see the standby in the  resources tab.

    Click on it, and check on the activate button, then hit submit. Make sure the standby goes to runmode 5.

    Kind regards

    Kanwal

  • Cannot print the usatoday crossword, a message appears saying wait while data and graphics are responsible for printing, but it prints ever

    Original title: usatoday crossword print

    Using Vista and an HP C7280 printer a message saying wait while data and graphics are responsible for printing, but it prints ever.

    Hello

    You are able to print all of the other files stored on the computer?

    See the bottom of the articles that might help you resolve this problem.

    Solve printer problems
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-printer-problems
    Printer in Windows problems
    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

  • How to wait for HTML when ADF Application sends a 'work' screen while Looking Up data space reserved

    Hello world

    I am trying to write test scripts in Openscript for an ADF application that uses Business Intelligence and support partial-Page rendering.  While it generates data, it sends HTML says his 'work', and then re - makes the area after the SQL call to the database ends.  The script passes after receiving the 'work' page and errors because it cannot find the variables that should have been created.

    How can I make the script wait for the actual page?  I looked through the documentation and looked online but I couldn't find anything relevant (or do not know what I'm looking for).

    Any help appreciated.

    Thank you

    Roy

    OK - problem solved.

    OBIEE sends the page indicating that it is looking up until the actual data returned.  There is an option on the Weblogic OBIEE server in the {WEBLOGIC_HOME}/instances/bi_instance/config/OracleBIPresentationServicesComponent/coreapplication_obips1/instanceconfig.xml file that can be defined (for test/debugging) to delay sending the screen holder place 'research'.}

    This should be added to the file XML between the tags.

    600

    True

    The value indicates how many seconds the OBIEE server waits until it sends to the screen "search.

    I hope that this information will prevent hair pulling episodes by others.

    Roy

  • Storage VMotion - a general error occurred: could not wait for the data.  Error bad0007.

    People,

    I searched through this forum and have not found an answer that works in many positions out there, I say to myself that I would ask him once again.

    Here's the context:

    We have 12 identical Dell M600 blades in 2 chassis with 16 GB of Ram, 2 x Xeon E5430, they are all connected to an Equallogic PS 5000XV iSCSI SAN on a separate iSCSI (vswitch1) with 2 cards network dedicated network and dedicated switch, console svc iscsi dedicated, dedicated VMkernel port for iscsi access. Net access (vswitch0) contains port groups VM for our various networks and a console port and vmkernel svc for VMotion with 2 separate NETWORK cards as well.

    We are running ESX 3.5 U3 and VCenter 2.5 U3 on Win2k3 R2

    VMotion works between all servers, Storage Vmotion works for most machines, HA works and the value 2 host failurs with no monitoring of vm, DRS is set to manual for now I have a few machines on the local stores that I complete my rebuilt LUN, there is no set of rules for DRS and VMware EVC is enabled for guests of the Intel. However, I'll just describe one machine to do svmotion below.

    Here's the problem:

    I'm trying to Svmotion via svmotion.pl - interactive, a Machine to Windows 2000 with a virtual disk and a virtual RDM. I am aware of the requirements for the RDM and required parameters for svmotion, independent is not selected for the RDM, and I also have svmotioned several machines linux and win2k3 with the same configuration without problem. In the interactive session, I choose to individually place the disks and I chose the virtual disk to only the virtual machine to be moved, essentially, as I saw it move vdisk virtual machine and then copy to the pointer of the RDM.

    The use of the processor in this machine is about 25% average. but I try to run migrations at the time the lowest. and The Host it itself shows only about 5.5 GB of the 16 GB of RAM used. so I think we're good on the RAM. the volume/datastore that I'm migrating from has 485 GB free and the volume/datastore I migration towards a 145 GB free. the VM virtual disk is only about 33 GB.

    I run the script the windows version of the RCLI svmotion. and when to begin the process, I get the following error at around 2 percent of the progress:

    "Since the server has encountered an error: a general error occurred: could not wait for the data."  Error bad0007. Invalid parameter. »

    After searching around, I found the following hotfixes to the U2 release notes

    • Migrate.PageInTimeoutResetOnProgress: Set the value to 1.

    • Migrate.PageInProgress: The value 30, if you get an error even after the setting of the Migrate.PageInTimeoutResetOnProgress variable.

    I've made these changes, and I still get the same error.

    When I dig in the newspaper, I see these entries in the journal of vmkwarning:

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu4:1394) WARNING: bunch: 1397: migHeap0 already at its maximumSize bunch. Cannot extend.

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu4:1394) WARNING: bunch: 1522: Heap_Align (migHeap0, 1030120338/1030120338 bytes, 4 align) failed.  calling: 0x988f61

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu4:1394) WARNING: migrate: 1243: 1235452646235015: failure: out of memory (0xbad0014) @0x98da8b

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu2:1395) WARNING: MigrateNet: 309: 1235452646235015: 5 - 0xa023818: sent only 4096 bytes of data in message 0: Broken pipe

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu6:1396) WARNING: migrate: 1243: 1235452646235015: failed: Migration protocol error (0xbad003e) @0x98da8b

    (Feb 24 00:17:32 vmkernel iq-virt-c2-b6: 82:04:13:56.794 cpu2:1395) WARNING: migrate: 6776: 1235452646235015: could not send data for 56486: Broken pipe

    At this point, I'm stuck... What is Windows RCLI? the vcenter Server? or the service console with not enough of RAM? We have already increased all our consoles service 512 MB...

    Any help would be greatly appreciated...

    Thanks in advance.

    Alvin

    The vmkernel on out of memory error, I had that before. And vmware support recommends setting 800M Max service console memory. And I did it and have no problems after that.

    See if that helps the issue.

    Mike

  • Still waiting for the new Satellite U840T-102

    We sent the laptop in the subject to support Toshiba in Italy on 5 May. File n. 73040100. After a few emails June 20, we received the proposal to change the product and sending us a new.

    We have NOTHING yet. Our clientele is more waiting for two months for a WARRANTY SERVICE.

    Is this right? It is the policy of TOSHIBA?
    CAN WE HAVE A CERTAIN DATE?

    I understand you very well buddy.
    It s always pity if the laptop is not working properly and if something needs to be replaced.

    I think there is a reason for the delay and I recommend you contact the ASP in Italy once more in order to clarify this matter.

  • Should I buy a MacBook Pro now or wait for the WWDC

    Hello

    Well, I want to buy a MacBook Pro (my first one ever). However, I have read on some sites there is a new version of the MacBook Pro this year (at WWDC).

    Now I'm totally confused. I want to use a MacBook Pro 15 "(8 Go de RAM et 552 Go SSD) to work on large data / Business Intelligence technologies and programming."

    But I don't know if I have to wait for these new features or go ahead and buy this one now. And if these new features will be most useful for what I want to do.

    Thanks in advance.

    Apple has specifically discourages discussions on these forums about what and when the new products will be introduced and what changes there may be.

    The best advice is, what your needs are and this current model meets the.  If so, buy it, if not, don't buy it.   My observation of past changes in the introduction of new models is that the changes are incremental, not radical.  My primary MBP is a 2011 model (with 16 GB of RAM and an SSD hard drive) and I still do not feel outclassed by the current culture.

    Ciao.

  • "Waiting for in time (RT PXI target) real answer" error when the program is waiting interruptions

    Hello

    I developed an application to detect interruptions generated by an electronic card and act accordingly. The program was developed in labview, but she calls a dll; created with labwindows. The dll is scheduled to open the visa communication, select the events and install the interrupt handler and when an interruption is detected, it reads the value of the different registers of the map and returns to labview to view.

    The problem is that when the program expects an interruption, a prompt appears with the message "Waiting for real-time (RT PXI target) real answer" and the only option I have is to click on the button to disconnect the pxi or just wait. If I wait and I generate an interrupt, the prompt disappears and the application view data as it was planned.

    To wait for the following code the interruption has been programmed into the function:

    While (flag == 0)

    {

    Sleep (1000);

    }

    When an interruption occurs, the value of flag set to 1 and function continues without any problem. I am not really sure, but here is probably the problem and it probably isn't the best way to wait for a break because the sleep function suspends the thread to the configured time, but at least the load calculation in the PXI is between 0 and 1%. I was wondering if anyone knows how to wait for a break without 'lost' communication with PXI and if there is a better way to do it.

    Any response will be welcome and thank you for them,

    Jaime

    Hey there.

    You see problems with connectivity it's because the thread by DEFAULT CallLibrary nodes running in is the UI (UI) thread - UI thread manages also the important things like, say, communications (especially all the connections for the VI server) and other things that you could run all the time.  A CallLibraryNode is not, by default, intended to be used to execute code that runs for a long period of time.  If you want to do this, you assign the execution of the CallLibrary node to run in the context of a LabVIEW run-time engine thread (by selecting to make it work "in any thread") and not the UI thread.  This can be done through the properties of the CallLibraryNode.  By selecting "run in any thread" the call DLL will be generally in the context of the thread running in the run LabVIEW, which is usually what is meant when even.  The VI CallLibraryNode color change of Orange (UI) to blue (LabVIEW thread) so that you can quickly tell what context the appeal will be in.

    The reason the interface thread user is the default thread is because most often DLLS calls need to be serialized (because of functions is not not thread-safe) and so it serves to protect the integrity of the system.  However, if you know your threads are thread-safe, or you will use these threads for a while, it is best to program the CallLibraryNode to use a Thread of LabVIEW execution rather than the UI thread.

    For more information on this review on these pages:

    https://decibel.NI.com/content/docs/doc-9069

    http://zone.NI.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/configuring_the_clf_node/

    DLL' happy ing.

    -Danny

  • Run VI GUI, don't wait for it

    Hello. I'm using Labview 9.03f. I have a loop of events that deals with the interaction of the user. When the user selects a menu item, I want to run a VI that has its own UI, but I don't want to wait until she finishes execution (to be held until all of the interaction of the user). Basically, I want the new VI floating on top, but the user to always be able to interact with the main GUI.

    I'm looking by using a reference of VI with the RunVI method, and wait until a parameter set to false. What is the right way to go on this subject?

    Thank you!

    psssttt...

    Ref call will wait for the vi calng to return.

    You can use the invoke node ctrl val.set method to pass data before starting.

    Ben

    PS I made this capture for the granddaughter of screen but I never thought there ' All so with me giving license might help.

  • Waiting for VISA c# on QR

    I am trying to write a simple program in c# (.NET 4.0) to control a Keithley 2400 SMU by VISA GPIB and I'm unable to switch to the program to wait as the demand for services which the Keithley send at the end of the scan.

    The scan is a scan of simple linear voltage controlled internally by the unit Keithley. I have the device configured to receive a ServiceRequest signal at the end of the scan, or when compliance is reached.

    I am able to send orders to the SMU and read data buffer, but only if I manually enter a timeout between the scan start command and the command to read data.

    A question that I have is that I'm quite new to c# - I use this project (some parts of my code LV Portage) to learn it.

    Here's what I have so far for my c# code:

    using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using NationalInstruments.VisaNS;
    
    private void OnServiceRequest(object sender, MessageBasedSessionEventArgs e){    Console.WriteLine("Service Request Received!");}
    
    // open the address
    Console.WriteLine("Sending Commands to Instrument");
    instrAddr = "GPIB0::25::INSTR";
    mySession = ResourceManager.GetLocalManager().Open(instrAddr);
    // Cast to message-based session
    mbSession = (MessageBasedSession)mySession;
    // Here's where things get iffy for me... Enabling the event and whatnot
    mbSession.ServiceRequest += new MessageBasedSessionEventHandler(OnServiceRequest);
    MessageBasedSessionEventType srq = MessageBasedSessionEventType.ServiceRequest;
    mbSession.EnableEvent(srq, EventMechanism.Handler);
    
    // Start the sweep (SMU was set up earlier)
    Console.WriteLine("Starting Sweep");
    mbSession.Write(":OUTP ON;:INIT");
    
    int timeout = 10000;             // milliseconds
    // Thread.Sleep(10000);          // using this line works fine, but it means the test always takes 10s even if compliance is hit early
    // This raises error saying that the event is not enabled.mbSession.WaitOnEvent(srq, timeout);
    // Turn off the SMU.Console.WriteLine("I hope the sweep is done, cause I'm tired of waiting");
    mbSession.Write(":OUTP OFF;:TRAC:FEED:CONT NEV");
    // Get the data string data = mbSession.Query(":TRAC:DATA?");
    
    // Close session
    mbSession.Dispose();
    

    All the foregoing is supposed to imitate this LabVIEW code:

    So, any ideas on where I'm wrong?

    Thank you

    It turns out that I need to activate the event as a queue rather than a Manager:

    mbSession.EnableEvent(srq, EventMechanism.Handler);
    

    Must be:

    mbSession.EnableEvent(srq, EventMechanism.Queue);
    

    Source: the documentation under the heading "remarks". It was a pain to find documentation about it... NEITHER needs to make it easier :-(.

    With this change, I also don't need to create the MessageBasedSessionEventHandler.

    The final, labour code (with fluff like the namespaces and classes deleted) looks like:

    rm = ResourceManager.GetLocalManager().Open("GPIB0::25::INSTR");
    MessageBasedSession mbSession = (MessageBasedSession)rm;
    MessageBasedSessionEventType srq = MessageBasedSessionEventType.ServiceRequest;
    mbSession.EnableEvent(srq, EventMechanism.Queue); // Note QUEUE, not HANDLER
    int timeout = 10000;// Start the sweep
    mbSession.Write(":OUTP ON;:INIT");
    
    // This waits for the Service Request
    mbSession.WaitOnEvent(srq, timeout);// After the Service Request, turn off the SMUs and get the data
    mbSession.Write(":OUTP OFF;:TRAC:FEED:CONT NEV");
    string data = mbSession.Query(":TRAC:DATA?");
    mbSession.Dispose();
    

    I hope this helps future programmers.

  • Wait for activity on front panel

    Hello

    I have a while loop with a counter (shift register), in which Im can choose how many times its going to count. This loop is used to allow a data in a economy another loop via a local variable to activate it on the VI "write to messurement.

    Now, I wish that my loop counter to count the selected number and then stop, until I press some activate button on the front panel.

    My idea is to use the "wait for activity of façade" in the loop of the meter, to "stop" the loop when the number cunted is reached and then continue, if a key is pressed.

    But I can't really understand how to operate :-(


Maybe you are looking for