Sequence Runner and Signals

I've got a unit test where I want to test reading from a local sqlite database.  Obviously I need to write a record before I can read it.  I've written the sequence below but I'm getting an "Asynchronous Event Received out of Order" error:
[Test(async)]
public function testRead():void
     LOG.info("testRead()");
     var runner:SequenceRunner = new SequenceRunner(this);
     var signal:SignalAsync = new SignalAsync(SERVICE.createSignal);
     runner.addStep(new SequenceCaller(SERVICE, SERVICE.create, [person]));
     runner.addStep(new SequenceWaiter(signal, SignalAsyncEvent.CALLED, 1000));
     var signal2:SignalAsync = new SignalAsync(SERVICE.readSignal);
     runner.addStep(new SequenceCaller(SERVICE, SERVICE.read, [person._id]));
     runner.addStep(new SequenceWaiter(signal2, SignalAsyncEvent.CALLED, 1000));
     registerFailureSignal(this, SERVICE.errorSignal);
     handleSignal(this, SERVICE.readSignal, testReadResultHandler, 3000, person);
     runner.run();
Since SequenceWaiter required an event I created a new SignalAsync which fires a SignalAsyncEvent when the signal is triggered by my service.  I'm sure I'm doing this totally wrong so any help would be great. The person object is created when the test beings.
Thanks,
Brent

Rather than using Signals, why don't you just nest your Sequences that you want to run? Something like this:
var sr1:SequenceRunner=new SequenceRunner(this);
var sr2:SequenceRunner=new SequenceRunner(this);
//add some sequence steps to sr1 here
sr1.addStep(new SequenceWaiter(someEventDispatcher, someTriggerEvent, 10000));
sr1.addAssertHandler(
function(event:Event, passThroughData:Object):void
     //add some sequence steps to sr2 here
     sr2.addStep(new SequenceWaiter(anotherEventDispatcher, anotherTriggerEvent, 10000));
     sr2.addAssertHandler(
     function(event:Event, passThroughData:Object):void
          //do some assertions here
     , null);
     sr2.run();
, null);
sr1.run();

Similar Messages

  • Z600 workstation missing pci data acquisition and signal processing controller driver

    I just installed Win7 Pro x86 on my Z600 workstation.  It was an upgrade from WinXP Pro.  In Device Manager I am missing the driver for the PCI Data Acquisition and Signal Processing Controller and Hardlock USB 1.02.  Can someone assist me in finding these drivers.  I looked on the Support/Drivers page for this  model but couldn't find anything.
    This question was solved.
    View Solution.

    Hi,
    You might get better assistance on the HP Enterprise Business Forum since you have a professional worktsation.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • Driver missing - PCIe Data Acquisition and Signal .....

    Hello, i recently used Boot Camp to install Windows XP on my 2010 15" Macbook Pro.
    All the drivers are working (so far) and i haven't encountered many problems.
    However, there is one thing bugging me:
    When i go into Device Manager in Windows, and look down the list of installed/uninstalled devices, there is a device called "PCIe Data Acquisition and Signal Processing Controller" which has no driver installed.
    I'm PC savvy, but i have never seen this before. My guess is that one of the motherboard drivers is missing, and Boot Camp installer doesn't include that driver?
    Has anyone seen/resolved this, and if so, how?
    Thanks.
    Kaj.

    Okay, will do.
    Thanks.
    Also i wonder if you could help with another problem?
    http://discussions.apple.com/thread.jspa?threadID=2758766&tstart=0

  • PCI Data Acquisition and Signal Processing Controller driver

    I've installed win 8.1x64 on my HP Probook 450 G2 but I am missing the PCI Data Acquisition and Signal Processing Controller driver.
    Can you please help?
    Thanks,
    Leontina
    This question was solved.
    View Solution.

    Hi:
    Please see if installing the Intel Chipset driver installs that device.
    https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=20775&lang=eng&ProdId=816

  • Pci data acquisition and signal processing controller -Device software not installed

    My pc shows me ,the driver software for pci data acquisition and signal processing controller is not installed  on my Device manager.
    Please suggest me a suitable solution.

    No its not working , Give me an alternate solution.

  • How do I match a clip to sequence settings and sequence presets?

    I'm getting the warning: Attention - This clip does not match this sequence's settings or any or our sequence presets.
    I'm trying to figure out how to set things up in Compressor so that my clips do match my sequence settings and presets. The issue seems to be with the audio not matching.
    Here are the sequence settings:
    Audio-2 Outputs
    Frame Size- 1920x1080
    Vid Rate-24fps
    Compressor-Apple ProRes 422 (proxy)
    Aud Rate 48.0 KHz
    Aud Format 32-bit floating Point
    I shot all the footage with a Canon 5D Mark II. I'm using Compressor to convert all my original clips. The only thing I don't seem to be able to match is the Audio. I can't find any way in Compressor to encode clips that have "two outputs" in the Audio column.
    The dialogue box for "Sound Settings" in Compressor doesn't offer any sort of options, that I can find anyway, to generate clips with "two outputs."

    These are the Compressor settings:
    Description: Apple ProRes 422 10-bit video with audio pass-through. Settings based off the source resolution and frame-rate.
    File Extension: mov
    Estimated size: 16.36 GB/hour of source
    Audio Encoder
    Apple Lossless, Stereo (L R), 48.000 kHz
    Video Encoder
    Format: QT
    Width: (100% of source)
    Height: (100% of source)
    Selected: 1920 x 1080
    Pixel aspect ratio: Square
    Crop: None
    Padding: None
    Frame rate: (100% of source)
    Selected: 24
    Frame Controls: Automatically selected: Off
    Codec Type: Apple ProRes 422 (Proxy)
    Multi-pass: Off, frame reorder: Off
    Automatic gamma correction
    Progressive
    Pixel depth: 24
    Spatial quality: 50
    Min. Spatial quality: 0
    Temporal quality: 0
    Min. temporal quality: 0
    These are the sequence settings:
    Frame Size: 1920 x 1080
    Editing Timebase: 24fps
    Field Dominance: None
    Pixel Aspect Ration: Square
    Anamorphic 16:9: Off
    Video Processing YUV allowed (8-bit)
    Compressor: Apple ProRes 422 (Proxy)
    Millions of Colors (24 bit)
    No Data Rate Limit
    No Keyframes Set
    Quality: 100
    Audio Settings:
    16-bit 48.000 kHz Stereo
    I made screen shots, but don't see how to paste them into this post.

  • Lenovo ideapad yoga 13 pci data acqusition and signal processing center for problem for windows 8

    Link to picture
    hi everyone, 
    find original w8 cd and then i installed, when i was installing
    i deleted all recovery and other partition, i did not think what can i do,
    but then i activated windows and installed all driver, but i taking 
    after all drivers it stayed
    2''unknown devices''
    and when i rebooted, it says, usb device not recognized'' and also
    ''pci data acquisition and signal processing center'' devices problem for windows 8. and touchscreen not working.
    i read related for w7 same problem, but what i will do now ?
      thanks.
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules

    hi adilsefaersan,
    Welcome to Lenovo Community Forums!
    By opening your Device Manager right click on one unknown device and choose properties,
        >On the properties windows Click on the Details Tab, on the property drop down Choose hadware IDs
         > then copy the value and post back here whats on the Value pane
    Do it for all those unknown Device and Post here the Value of the hardware ids
    also can you share your Windows Version and bit type so we'll knwo the correct download page for you
    Thanks and Regards
    Solid Cruver
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Finding missed sequence numbers and rows from a fact table

    Finding missed sequence numbers and rows from a fact table
    Hi
    I am working on an OLAP date cube with the following schema:
    As you can see there is a fact transaction with two dimensions called cardNumber and Sequence. Card dimension contains about three million card numbers. 
    Sequence dimension contains a sequence number from 0 to 255. Fact transaction contains about 400 million transactions of those cards.
    Each transaction has a sequence number in 0 to 255 ranges. If sequence number of transactions of a card reaches to 255 the next transaction would get 0 as a sequence number.
    For example if a card has 1000 transactions then sequence numbers are as follows;
    Transaction 1 to transaction 256 with sequences from 0 to 255
    Transaction 257 to transaction 512 with sequences from 0 to 255
    Transaction 513 to transaction 768 with sequences from 0 to 255
    Transaction 769 to transaction 1000 with sequences from 0 to 231
    The problem is that:
    Sometimes there are several missed transactions. For example instead of sequence from 0 to 255, sequences are from 0 to 150 and then from 160 to 255. Here 10 transactions have been missed.
    How can I find all missed transactions of all cards with a MDX QUERY?
    I really appreciate for helps

    Thank you Liao
    I need to find missed numbers, In this scenario I want the query to tell the missed numbers are: 151,152,153,154,155,156,157,158,159
    Relative transactions are also missed, so I think it is impossible to get them by your MDX query
    Suppose this:
    date
    time
    sequence
    20140701
    23:22:00
    149
    20140701
    23:44:00
    150
    20140702
    8:30:00
    160
    20140702
    9:30:00
    161
    20140702
    11:30:00
    162
    20140702
    11:45:00
    163
    As you can see the sequence number of the last transaction at the 20140701 is 150
    We expecting that the first transaction of the next day should be 151 but it is 160. Those 10 transactions are totally missed and we just need to
    find missed sequence numbers

  • Sequence Panel and CTI lock-up - Solved, problem due to 48kHz .wav audio files

    Answering my own issue here, but maybe someone else will benefit as well...
    PC, Windows 7
    Upon opening an ongoing project I found the sequence panel and CTI were immediately unresponsive.  The PC was also showing a high amount of background processing on the PrPro processes.  I went back to a previous project version and everything was normal. 
    In the latest (problem) version I had added some VO to the sequence - audio .wav files encoded as 48kHz, 16bit.
    I then renamed the audio file folder and reopened the newest project, causing PrPro to not find them and placed them offline.  Everything returned to normal.
    I then converted the 48kHz audio files to 44.1, 16bit and reopened the project, designating the new files to replace the old.  Again, opeing the newest project, everything was OK and I was able to continue on.
    It seems that the 48kHz files were causing PrPro to hard-loop in a background process in the indexing, conforming and peak file generation phase.  I found when using the problematic project that the sequence panle adn CTI were actually responding, but only after a very long delay.  An example would be to try to reposition the CTI with no response, then clicking play and stop in the playback window, then the CTI would update.

    That is odd
    When I do DV project with video that is digitized by my old Pinnacle DV500 card, the audio inside the DV AVI is always 48khz 16bit stereo... and I do, of course, create a project to match the files

  • Create sequence, function and view all at once -script or something similar

    Hi I would like to know in what way can I write a script or something like that which would define names for a sequence, function and a view in the beginning (for example TEST_SEQ, TEST_FJ, TEST_VIEW...) and after that create this sequence, function and view with definitions like
    CREATE SEQUENCE  TEST_SEQ
    MINVALUE 1 MAXVALUE 999999999999999999999999999
    INCREMENT BY 1 START WITH 1 NOCACHE  NOORDER  NOCYCLE;
    create or replace FUNCTION TEST_FJ RETURN NUMBER AS
    tmp number;
    BEGIN
    select TEST_SEQ.NEXTVAL  into tmp from dual
    RETURN tmp;
    END TEST_FJ;
    and so on...
    In the end I would also like to grant some rights on these objects I just created:
    grant select on TEST_SEQ to public;
    grant execute on TEST_FJ to public;
    So my question is how to package all these things together so I can execute them from a single file in SQL Developer, and if i need to change the names of these tables I want do it in one place in the beginning of this script (or something like a script, I'm not sure what)...
    Thanks in advance!

    hi,
    hope help you...
    this is my basic generic solution...
    create or replace procedure createSequence( psequenceName in varchar2 ) is
    begin
    execute immediate 'create sequence ' || psequenceName ;
    execute immediate 'grant select on ' || psequenceName || ' to public ';
    end ;
    create or replace function getNextVal( psequenceName in varchar2 ) return number is
    queryText varchar2(100) := 'select <sequence_name>.nextval into :next_value from DUAL' ;
    next_value number ;
    begin
    queryText := replace(queryText,'<sequence_name>',psequenceName);
    execute immediate queryText into next_value ;
    return( next_value ) ;
    end ;
    Edited by: edogt on Nov 27, 2008 5:33 AM
    Edited by: edogt on Nov 27, 2008 5:35 AM
    Edited by: edogt on Nov 27, 2008 5:35 AM

  • How to remove a click from a sequence file mp4 or mp3, and make it only sequence left and right in GarageBand?

    How to remove a click from a sequence file mp4 or mp3, and make it only sequence left and right in GarageBand?

    "adrianTNT" <[email protected]> wrote in message
    news:e6aitv$hkm$[email protected]..
    >
    quote:
    Originally posted by:
    kglad
    > you're welcome. with your solution loading another mp3,
    are you sure it stops
    > the download of the first mp3?
    > Yes, it seems to work fine, it loads another sound in
    same sound (my_sound)
    > and it seems to replace loaded progress with the empty
    sound I gave and stops
    > previous loading.
    > I look at traffic icons on task bar and I see that there
    is no network traffic
    > after I click "stop" before this I could see continuous
    traffic while sound was
    > loading in background.
    Yeah, I remember someone posted that solution a long time
    ago. It seems if you load a file with the same name the cache
    doesn't
    know any better and adjusts the download size to the smaller
    one. Maybe it's a good way to do it! Could it be a way to remove an
    mp3 from someone's cache after it plays? hmmmm Will have to
    do more testing.
    tralfaz

  • Real-Time Sequencer Feedback and Questions

    Post your questions and feedback to the Real-Time Sequencer Architecture and Real-Time Sequencer Architecture Example here.
    Brian K.

    I just purchased the USB 6341 DAQ card. I am using Dev1/.Port1 to control 4 driver transistors. The transistors fire 4 SSR. I am trying to create a sequence for the 4 transistors. Sometimes a test unit that is driven by a SSR will fail. So I have to change the sequence for the failed DUT.
    Basically each SSR will be ON for 6 seconds. There will be a delay of about 5.75 seconds for the next valve to fire. The delay is used to balance the pressure testing. The second valve will need to start at 5.75 seconds later. Basically the two valves must cross at the 50 % turn OFF. How can I perform this task. There are at least 7 different test sequences??
    Thanks,
    Philip 

  • Problem with the browse sequence back and browse sequence next widget placed in the screen layout

    Hi,
    Some basics: We are using Robohelp 10 to  generate multiscreen  html5 output. We used the pharmaceutical  screen layout downloaded from:  http://helpx.adobe.com/robohelp/robohelp-screen-profiles-layouts.html but modified it to match our GUI.
    We are having a problem with the browse sequence back and browse sequence next buttons placed in the screen layout from the widgets tool bar. We are in no way experts at this part of Robohelp...and the css portion of all this is a bit of mystery but we have managed to get mostly what we need. Now we just need these buttons to work. In the past we used Airhelp and things worked great. Can anyone help us understand why the sequence buttons are not showing up in the output even though it does in the topic preview?
    Also
    This shows up in the  layout.css file:
    a.wBSBackButton {
                    margin: 0 8pt 0 0;
                    padding: 0;
                    background-color: transparent;
    img.wBSBackButton {
                    border: none;
    a.wBSNextButton {
                    margin: 0 8pt 0 0;
                    padding: 0;
                    background-color: transparent;
    img.wBSNextButton {
                    border: none;
    Also btw, I forgot to mention that we are linking our FrameMaker files.
    Appreciate the help.
    Thanks!

    hi pradeep
    It does not happen but if you Wait for a while that may be solved

  • QOS - VOIP traffic: payload and signalling

    Two questions For VOIP traffic,
    Q.1. should the payload and signalling be assigned the same COS ?? to avoid losing Signalling traffic.
    Q.2. flash upgrades to the phone sets are tftp. Should this traffic be assigned COS=0 or the same cos as the signalling traffic ? Phone flash gets corrupted if some of these packets are lost ?
    thanks for your help,

    Hello,
    best practice puts signaling into another class than voip "payload" as you named it.
    The reason is that the qos requirements are different. Signaling needs guaranteed bandwidth, voip needs low delay and guaranteed bandwidth.
    TFTP can be placed into signaling class or in a separate class.
    An example config could look like this:
    ip cef
    class-map match-any VoIP
    match ip dscp ef cs5
    match protocol rtp audio
    class-map match-any VoIPsignal
    match ip dscp cs3
    class-map match-all TFTP
    match protocol tftp
    policy-map VoIPprio
    class VoIP
    priority percent 10
    class VoIPsignal
    bandwidth remaining percent 5
    class TFTP
    bandwidth remaining percent 5
    class class-default
    fair-queue
    random-detect
    interface Serial0
    ip address ...
    service-policy output VoIPprio
    You would have to adjust the bandwith ratios for your needs and the interface naming to your environment.
    The policy will give 10% of the link to voip traffic with lowest possible delay, 5% of the rest for voip signaling, 5% to TFTP and the rest for the other data present.
    Hope this helps

  • How to Use signal In and Signal Out with Respect to this Question

    Hi,
    I have a requirement where i have to change the data of the employee.
    For that i am first searching for the employee using a RFC from R/3.
    After searching i call another RFC for udating the Data.
    The Data is updated successfully in the R/3, but its not reflecting in the Iview.
    Can I use the Portal Eventing Mechansim using Signal In and Signal Out.
    If yes then please forward me the example or model file to me on
    dhruvpradipshah at gmail dot com
    Thanks & Regards,
    Dhruv Shah

    Dhruv,
    You can update the status by passing the return message or the output of the BAPi / RFC in a table or a form in the iview.
    Regards,
    Ahmed Salah

Maybe you are looking for

  • Unable to capture the value

    Hi, the 2 items are like <af:inputText label="User" binding="#{backingBeanScope.backing_Login4.it1}" id="it1"/> <af:inputText label="Password" binding="#{backingBeanScope.backing_Login4.it2}" id="it2" secret="true"/> why can't I capture their values

  • How do I share microsoft software on a mac between users of the same mac?

    How do I share microsoft software on a mac between users of the same mac? New Mac Set up Microsoft tools on the mac but can't figure out how to share them between different logins we have setup on our computer

  • Sorting of columns in report with values from lookup table (LOV)

    Hi, I have a report where I looku the values using a number of LOVs. I'd like to enable sorting on those columns in the report whihc works BUT the report get's sorted on the numric looku pvalue instead of the description for example COUNTRY_ID instea

  • Send Message Client to Client Via Server

    Hi, I am trying to create Messenger similar to msn but very simple. I have managed to create some parts of it after nonstop day night reading up on sockets, and threading etc.. so so far i have a Server + ServerThread and Client class, which is capab

  • Error while installing app server

    hi i  am installing dialog instance on m/c which hostanme is production. it alredy contain SAP Syetm which is PRD.( it's STOP Permanatly) just i did system copy to anothe r m/c. with SAME same PRD. while im starting sapinst after give profile path im