Notifier not received when other code in while loop exists

I am attempting to improve my logging code to be separate from the main UI/logic.
I was hoping to implement a 'Send Notification' upon my trigger, to start logging in a separate while loop.
To test this, I tried the following. When my trigger goes True, a notification is sent and my 'Notification received' boolean goes True.
When I wire anything to the while loop, this no longer works:
Can someone tell me why? I was hoping to put my logging logic into this while loop to grab data from the waveform wire (brown) to log my data.
Thanks!

belopsky wrote:
How do I have the waveform be sent for as long as I need it to be, in order to log?
You just make a queue of type Waveform (or if multiple channels use Array of Waveforms).  You read from the DAQ and then just write into the queue.  The logger loop will then just read data from the queue as it comes in and log it.
Just look into the Producer/Consumer if you need any more help on this.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Please advise how I can register my Photoshop Starter Edition when I apply I do not receive an unlock code so I am unable to continue to use the program and all my photos are locked in, please advise, thanks John

    Please advise how I can register my Photoshop Starter Edition when I apply I do not receive an unlock code so I am unable to continue to use the program and all my photos are locked in, please advise, thanks John

    Please refer to the appropriate Forum, this one is dedicated to Photoshop proper.
    Photoshop Album Starter Edition

  • I have been paying for an Annual CC Membership since June 2014 and not received and activation code.

    I have been paying for an Annual CC Membership since June 2014 and not received and activation code. Adobe Customer Service have not been able to help me, yet they continue to take my money. What do I do???

    THERE NO LICENSE. I am paying for a one year membership (paid 10 months and have not add access to creative cloud) So I recently had to request a month trial period which I am currently using. Please explain that?! Can I please have a telephone number for the North Africa Middle East Region so that I can discuss this matter with someone? Why is this so difficult. For 10 moths I have heard different stories and today after insisting they send me the reply they promised me 1 month ago I revived this wishy washy response:
    From: [email protected]
    Hi Jennifer,
    Thank you for contacting Adobe Customer Service
    Jennifer, we are sorry to hear that you were unable to use Creative Cloud apps purchased under the order number 25937842424. We see that the above request has been forwarded to relevant team. The relevant team are still working on your request. Once response received, we will update you accordingly. We apologize for any inconvenience that might have caused to you in this regard.
    Regards,
    Adobe Customer Support.
    PLEASE CAN SOMEONE CLARIFY WHAT IS GOING ON HERE?????

  • I have paid my subscription for Adobe Acrobat Pro but can not install it- I always get an error message -also I did not receive any instalation code...

    I have paid my subscription for Adobe Acrobat Pro but can not install it… I always get an error message …also I did not receive any instalation code...

    With the subscription you sign in with your Adobe ID that you used to order the subscription. By installation code, I assume you mean serial number. You do not get one with the subscription, but use your Adobe ID.

  • TS3408 why will some websites which loaded fine before now not load - when other favourites load fine, and new searches are fine?  This only affects 2 websites, both of which were bookmarked.  I have removed them as bookmarks and this makes no difference.

    why will some websites which loaded fine before now not load - when other favourites load fine, and new searches are fine?  This only affects 2 websites, both of which were bookmarked.  I have removed them as bookmarks and this makes no difference.

    From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • Other choise to while loop polling?

    Hi!
    I have worked with USB-bus oscilloscope and trying to build labview software using dll-librarys. Almost everything works BUT... how i can poll dll-library (*.vi) which is external "counter"? I know that dll is returning number of samples from scope hardware and i know number of those samples are 3072 blocks. Now when I polling that dll in while loop it returns just something (2999 or 3001 or 2989 or something like that). I think that dll returns that value which is exactly time in dll when while loop poll it? Hardwares speed is 50Msps 8-bit. How else i can poll that dll? Or other choises to while loop, where i have to poll something and when it returns something then do something...
    Thx again

    Here are two choices (could be more out there):  Active Polling or Event Registration
    Active polling = use of while loop with your DLL calls.  This makes sense if you know there is always data available to retrieve.   Caveats include processor usage, which can affect UI response and processing.
    Event Registration = use of Event Structure with Callback (e.g. Active X callback), such that your hardware notifies the OS when data is ready.  This makes sense if you are not always capturing data in your top level code and if your hardware driver includes callbacks.  Caveats include more complex programming (understanding of Active X, dynamic event registration, event structure, etc.)
    If you're having trouble understanding how you might integrate these into your main application, in addition to these forums, there are also NI Certified Alliance Partners (like us) that can help you get going.
    Message Edited by LabBEAN on 08-17-2009 12:33 PM
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs

  • Why does SMS tell me "not allowed" when I try to add an existing contact to one of my SMS Groups?

    Why does SMS tell me "not allowed" when I try to add an existing contact? 

    If you are running Tiger, you don't have time machine. 
    You need to get something like SuperDuper! or Carbon Copy Cloner (sorry, I don't have a handy link for CCC but you can Google it to get their site) to make a clone of your drive on the external and then do incremental backups.  The free versions do a lot and you can upgrade to the full-service versions for small change if you need more.  The one time I used SuperDuper! for cloning a volume it worked just fine. 
    (My backup application is the last PPC capable version of Retrospect, which does a credible job, or has over the past ten-twelve years.)

  • Received HTTP error code 400 while fetching source feed. - Just Started 2 weeks ago; preventing iTunes podcast from updating

    Good day.
    When trying to update my feed http://feeds.feedburner.com/SpiritLedSpiritFed, I received an HTTP error code 400 while fetching source feed message. Nothing has changed on my end as I've been using Dropbox for the feed and the files since last year and was able to successfully update the feed up to two weeks ago.
    I did run through all the tools on the Feedburner page (validator, podmedic, feedmedic) received a clean bill of health on the feed and I've looked at both Feeburner's site as well as Dropbox's support page to see if anything could have changed (requiring https or some other format for the feed), but no luck so far.
    The strange thing is that on the feed itself, it's listed as http://dl.dropbox.com/s/xxxxxxxxxx/xxxxxxxx.xml.  However, when I tried to 'RESYNC' it, the 400 error was displayed and it's listed as https://dl.dropboxusercontent.com/xxxxxxxxxx.xml which is says it cannot reach.
    Any suggestions would help as I've not been able to update my iTunes podcast for two weeks now.
    Thanks

    The URL you give redirects to https://dl.dropboxusercontent.com/s/466rh3k2kw7f6jr/SpiritLedSpiritFed.xml
    This appears to be a viable feed. However it contains this tag:
    <itunes:new-feed-url>https://www.dropbox.com/s/466rh3k2kw7f6jr/SpiritLedSpiritFed.xml</itunes:new-feed-url>
    That will redirect iTunes (though nothing else) to the enclosed URL, and that is a web page containing a display of the feed and a download button, which is no use to iTunes. Consequently on attempting to subscribe in iTunes with any of these URLs the feed comes up empty. You need to get rid of these redirects and provide a direct link to the feed file; and you should not use https (encrypted connection) but http. Also, Dropbox isn't a good place to host your files, but if you really must use it you have to serve as a direct access in the same way as a web page, not as sharing. You have your media files on Dropbox as well, and the URL redirects to an https version, though it does play in a browser. This itself may cause problems; and if your podcast gets popular you will run into problems as Dropbox isn't really geared to do this sort of thing.

  • Not receive the redeem code

    I buy itunes Giftcard 30$ by Email (
    Ordered on Mar 01, 2014 )
    just receive confirm, order Email but not receive the code, how long to receive the redeem code Email? why it's long time but while shop cut the amount so quickly??

    Hi Pentatonica,
    Thanks for visiting Apple Support Communities.
    If your iTunes Gift was not received, first try to re-send it using the method in this article:
    Resend iTunes Gifts
    http://support.apple.com/kb/ht1541
    Best,
    Jeremy

  • Emails Send, but not received by others

    I will send to my roommate, and some he gets, some they don't. I make them check their junk mail, I see that it's the right address, but it is really freaky. Is there a way to confirm that they get an email like Outlook? Would anyone know why this is the case, we go to a college, so we use the same servers and all and theirs always are received.
    Thanks,

    Please open a message you know was not received by your roommate, click on Message in the menubar and choose Send Again. Then before sending, click on Format in the menubar and choose Make Plain Text. Send -- did he now receive it? If so, and you were using Rich Text Format, it is possible that when the RTF converted to a form of HTML that a SPAM filter somewhere in the path stopped the email before it got to him.
    More info, please.
    Ernie

  • Gif is animated in Sent folder but not received by others as animated

    I've always used Entourage but would like to use Mail if only because it will send animated gifs. I sent one to myself at another (not .mac) address and received it in Entourage but it's quite different from what I sent. gif isn't animated and format is different (text was centered when sent but not received as such). Can anyone help me?

    All,
    Thanks for your reply. Worked with Basis as I do not have access to SOST/SCOT in production environment.
    @Abdullah: SCOT is correct. For all the e-mail messages the status is green. (Successfully Sent)
    @Rick: This is a custom application which triggers workflow. I can see the emails in SOST with status as successful.
    @Anjan: No emails in junk folder as well.
    @Swadhin: If we send a test email from SOST, it works fine. Me too suspecting the issue with user id. Working on it.
    @Rahul: Yes. Some users received the emails. Also email is maintained for WF-BATCH user.
    @Mike: Tried testing test email and it worked fine. No filters in SCOT. Exploring more options with basis/security.
    - Omkar

  • Why Not Use WHEN OTHERS - Friday Question

    There are several people on this forum that abhor use of WHEN OTHERS in the same vein as GOTO (which really is a bad practice).  I have an open mind and am looking for the reason it should be avoided.
    When used to output the state during unexpected exceptions, WHEN OTHES can dramatically reduce debug time.  The only bad exception handler is WHEN OTHERS THEN NULL.  Error logging to a table is important and should include the back trace and call stack in addition to listing pertinent parameter, constant and variable values.  I consider this debug instrumentation.  If you write perfect code or you don't have end users that are very creative in finding bugs that occur because of the convoluted way they get to the code that causes the error you don't need it.  Or you like the thrill of the hunt going slogging through thousands of lines of code to try to figure out what caused the error.  I am lazy and want to have it spelled out for me.  Below is my error logging table (CODE is  a session level transaction identifier used for filtering) and my error logging procedure is equivalent to DBMS_OUTPUT.PUT_LINE.  This makes it easy to take other people's code and replace DBMS_OUTPUT with my error logging.  This becomes very useful for debugging triggers since there is no standard output device.
    CREATE TABLE SUPPORT.MESSAGE_LOGS
      CODE        INTEGER                           NOT NULL,
      TEXT        VARCHAR2(4000 BYTE)               NOT NULL,
      CREATED_ON  TIMESTAMP(6)                      NOT NULL,
      CREATED_BY  VARCHAR2(100 BYTE)                NOT NULL,
      OSUSER      VARCHAR2(100 BYTE),
      MACHINE     VARCHAR2(100 BYTE),
      PROGRAM     VARCHAR2(100 BYTE),
      BACK_TRACE  CLOB,
      CALL_STACK  CLOB
    Typical insert is:
    INSERT INTO message_logs (
                  code,
                  text,
                  created_on,
                  created_by,
                  osuser,
                  machine,
                  program,
                  back_trace,
                  call_stack )
    VALUES      (
                  utilities.get_xaction_sequence,
                  pv_text,
                  SYSTIMESTAMP,
                  UPPER ( utilities.get_session_user ),
                  UPPER ( utilities.get_osuser ),
                  UPPER ( utilities.get_machine ),
                  UPPER ( utilities.get_program ),
                  DBMS_UTILITY.format_error_backtrace,
                  DBMS_UTILITY.format_call_stack
    Typical error text:
    ERROR in UTILITIES.CREATE_FILE: ORA-29280: invalid directory path
    Directory = FILEDIR
    File Name = _Revoke_From_COGNOS_ALL_Script19-MAR-12.SQL
    Linesize = 32000
    Text - 1st chacters = -- File created on 19-Mar-2012 11:16:38

    Hoek wrote:
    C'mon Ed, now shirley you must have an opinion regarding the use of WHEN OTHERS?
    Feel free to share it with us
    My opinion is that I hate it when an application -- any application, under any framework, in any language -- swallows an error message.  As to getting into the weeds of WHEN OTHERS, I tend to agree that it should be avoided but am open to arguments for exceptions.  Does that sound like waffling?  It's not intended to be.  Here's where I have to make a confession.  When I transitioned from the role of "developer" (we called them "programmer/analyst" then) to dba, my shop was also transitioning from IBM's IMS database (hierarchical) to relational databases - first DB2, then as client-sever architecture came in they settled on Oracle as the C/S database.  Because I was viewed as an "early adopter" and had been doing some development work on our first client-server apps, I was tagged to become our first Oracle DBA. (My first oracle db was v7.3 on Win 3.11)   As a result of that path, I never really got heavily into development with PL/SQL.  I can do OK on  individual procedures - mostly for one-off or stand-alone use. But I never developed that mental framework and toolbox of procedures that only comes with working heavily in a language.  
    Don't call me Shirley

  • Wait time in while loop: wait before all other code in the loop runs

    My vi is attached. 
    In the 'Check for Equilib' case, there is a while loop that takes data from a pressure gauge and compares it against data taken equilibTime seconds previous.  equilibTime is hooked up to a wait(ms) function inside the while loop.  Currently it appears that the code in the loop runs, and then the loop waits so many seconds before the next iteration.  I would like to reverse this process, i.e. in each iteration, the loop will wait so many seconds and then run the rest of the code in the loop.  I want to do this because I don't want there to be any delay between then time the 'check for equilib' code finishes and the start of the 'add shot' case.
    Can anybody suggest an elegant way of implementing this?
    Thank you
    Attachments:
    Take Isotherm.vi ‏294 KB

    No.  Use Flat sequences they are far preferable to stacked sequences.  Functionally they are the same.  But a flat sequence is easier to read, doesn't hide code, and you don't have to worry about backwards wiring caused by sequence locals in stacked sequence.
    Note, you have two oddities in your lower while loop.
    1.  Write a value to an indicator's terminal node and to a local variable of the same indicator is pointless.  They do the same thing.
    2.  Reading from a local variable of an indicator and writing to its terminal node is just as pointless, as you aren't doing anything.
    In your middle loop "Add shot" case, you have the local variable of DC estimate righting to a right hand side shift register, but you never use the left hand shift register.  So you are saving that value for future loop iterations, but never use it.

  • Not receiving student discount code

    A couple of weeks ago, I signed up for the student discount code with an edu email address and verified my information with the email that was sent from Best Buy afterwards.  I have not received the code yet.  Is there something else that I need to do?  Thanks!

    Hey there turnagek,
    Welcome to the forum! The college student deals coupons are a great way to purchase the technology you need for school. It sounds like you have taken the necessary steps to receive yours. 
    Usually the new deals coupons are sent around the beginning of the month and expire a few weeks later. It is possible that the coupons for November have expired and you should be receiving the new December student deals. I would suggest waiting until the beginning of December and if you still do not receive them, let me know, and I'll look into how we can get those coupons sent out to you. 
    Thank you for visiting the forum, and please do not hesitate to let me know if you have any further questions or concerns. 
    Regards, 
    Maria|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Stop/ abort execution in case when the task inside while loop can not be completed

    I am using Count digital events example from LabVew. This VI is using DAQmx Read vi. If I press Stop button before this DAQ gets required amount of samples VI does not stop. I tried to change amount of samples on a fly with stop button but it did not work either.
    Please help.

    This is directly related to the way LV handle the data. Your question is similar to "How can I stop a For-Next loop before completion ?". The answer is : No way, except changing the loop for a while loop (ie: change the algorithm) or stop the whole vi.
    Attached is an example of stopping an infinite running loop. It uses a parallel loop, with a Stop node (see how to handle the stop button in order to reset it to false at the next vi run).
    If you only want to stop the DAQ, whithout halting everything else, the solution is trickier : you will have to run your DAQ loop in a dynamically loaded vi, then use the vi server functions to halt the vi if the run period is excessive. But that is worth another discussion...
    Give some feedback !..
    CC
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Stop_infinite_loop.vi.zip ‏9 KB

Maybe you are looking for

  • Reconnect to TM backup after HDD replacement?

    I have just got my iMac back after a warranty repair that included a replacement of the HDD. They migrated all of my applications and data from the old HDD to the new one and everything seems to be fine. However, TM wants to doesn't recognise the exi

  • Error :Receiver File Channel not Initialized

    Hi all, I am using a file adapter at the receiver side with file content conversion option. When i post a message it shows an error in the message monitoring as "Reciever File Channel not initialized : Unable to proceed : null" Please Help.....

  • Conditional where clauses in database adapter

    I am trying to write a query in a database adapter that allows for conditional where clauses. Specifically, I want to include or not include a where clause (and clause) if an input variable is empty or not. Can a prepared statement with lexical param

  • Preview.app is extremely slow opening 500 jpg from external HD

    Hello everybody, yesterday I wanted to open a folder of approx. 500 jpg-Files from an USB-HD for a slideshow. I switched to the folder and opened all files in it (only jpg) via Command-A, Command-O. Preview.app took several minutes to load the images

  • Regarding Generic Object Services (GOS)

    Hi Is there any Tcode/Std. Report where I can see the document attached through Generic Object Services (GOS).And which tables are involved in Generic Object Services (GOS).Whenever I attach document entry goes in SOOD table.What are other tables for