Creating a user prompt when a boolean control is first lached but not contiuousl​y showing while it is lached.

Greetings,
I need a boolean control that will write measured data to a text file while it is lached and do nothing while it is unlached (which is simple).  However, I also need it to display a dialog box when it is first lached to prompt the user to either append to an existing file or create a new file.  It should not contiously prompt the user to select new or append while it is lached.  It should only reprompt if the boolean has been unlached and relached.
Any ideas?  I have tried several different approaches but everything that I have done has either not worked at all or contiuously prompts while lached.
I know it will involve a shift register and at least one boolean comparison but I cannot figure out the arrangement.
Thanks in advance.
Solved!
Go to Solution.

Hi BB,
looked at the Pt-by-Pt functions. There you will find a ready-to-use VI to detect edges of a boolean signal!
Or use that boolean math: RisingEdge = signal[n] AND NOT(signal[n-1]). (Here you need the already mentioned boolean function with a shift register...)
All you need is opening the dialog for rising edges of the boolean signal...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • How can you create a local variable from a boolean control?

    I want to create a local variable from a boolean control, but it says that boolean latch actions are incompatible with local variables, but I need a way to check this boolean control in two differents loops, how can I do it?

    "Graci" schrieb im Newsbeitrag
    news:[email protected]..
    > I want to create a local variable from a boolean control, but it says
    > that boolean latch actions are incompatible with local variables, but
    > I need a way to check this boolean control in two differents loops,
    > how can I do it?
    Use global variables.
    Compare them with a constant Boolean like F or T.
    The result is true or false and then you can use it in a Cae-Loop.
    Martin

  • I am adding a voice over - it plays when I am in "clip trimmer" mode but NOT in the actual movie ... frustrating - any help?

    I am adding a voice over - it plays when I am in "clip trimmer" mode but NOT in the actual movie ... frustrating - any help?am in

    In Finder you will find the voiceover in the project's package contents folder. If on your internal drive, the project will be in your User (Home) folder Movies/iMovie projects. If on an external drive it will be in the iMovie Projects folder at the top (root) level of the drive.
    Right-click (or Control-click) on the project name and select Show Package Contents from the pop-up menu. There should be a file named something like Voiceover Recording.caf in the package contents folder. Copy and paste this .caf file to the Desktop. See if it will open in QuickTime, GarageBand or another program capable of editing audio, such as MPEG Streamclip or Audacity (both free). If it will open, save (export) it in a different format, such as AIFF, preferably to a location where it will not be moved, such as iTunes.
    Now drag that file into iMovie to the desired position (if in iTunes drag from iMovie's music browser panel). Hopefully it will now play correctly.
    John
    Message was edited by: John Cogdell

  • ITunes said my iPod Nano 4G is corrupted when it's in one USB port, but not in the other.

    iTunes said my iPod Nano 4G is corrupted when it's in one USB port, but not in the other. Is the port faulty? Windows 7 PC

    Could just be a loose connection or that the cable itself is going bad.  There are a number of factors that could play into this scenario.
    B-rock

  • I can use Mail at home, no problem. But when I travel, I can receive mail but not send it. I get a "server can't be reached" message. Yet when I send a photo using iPhoto, it gets sent. Help!!

    I can use Mail at home, no problem. But when I travel, I can receive mail but not send it. I get a "server can't be reached" message. Yet when I send a photo using iPhoto, it gets sent. Help!!

    To diagnose problems with Thunderbird, try the following:
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

  • Institution Provider Page works well when I click the "Preview in iTunes" but not in "Preview on iPad."  What seems to be the problem?

    Institution Provider Page works well when I click the "Preview in iTunes" but not in "Preview on iPad". What seems to be the problem?

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    See also http://kb.mozillazine.org/Error_loading_websites (Error_loading_some_websites)

  • How to connect iphone 5 with ipad 2 using Bluetooth? When  I activate Bluetooth both devices search but not listing each other to pair or connect.

    How to connect iphone 5 with ipad 2 using Bluetooth? When  I activate Bluetooth both devices search but not listing each other to pair or connect.

    You can use Photo Transfer App to transfer photos from iPhone to iPad or vice versa using Bluetooth or WiFi
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%205/3dd129795daebebc4b8 741b057f5f70d.jpg
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%205/3af5c541040e15e3f6b 3356e4c55cbfc.jpg

  • I have deleted a contact but it has reappeared when I go to message in search but not stored as a contact anyone know why ? Please

    I have deleted a contact but it has reappeared when I go to message in search but not stored as a contact anyone know why ? Please

    It's stored in your autocomplete cache memory, which is separate from your contacts.  Unless something has changed recently, the only way to remove it would be to restore the phone as new, without using your backup.  You could check over in the Using iPhone forum to confirm this.

  • Why do headings turn Chinese when I access my email via Firefox but not via Internet Explorer?

    Why do headings turn Chinese when I access my email via Firefox but not via Internet Explorer?

    hello, this is a displaying flaw caused the mcafee site advisor extension - please try to disable or remove that in case you have it present until there is an update by mcafee that can fix the problem.
    http://service.mcafee.com/faqdocument.aspx?id=TS100162
    https://community.mcafee.com/thread/76071

  • Mpeg4s I create and upload to Internet play fine on Mac and PCs, but not on iPad or iPhone.  Does anyone know how to get them to play on iPads/iPhones?

    mpeg4s I create and upload to Internet play fine on Mac and PCs, but not on iPad or iPhone.  Does anyone know how to get them to play on iPads/iPhones?

    You have to make sure they are fully compatible with iPad
    Video formats supported:
    H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

  • E-recruiting: create internal user failture when using RCF_CREATE_USER

    Hi, experts
        When I create candidate and internal user in E-recuriting using report RCF_CREATE_USER, the system returns me a message: "I::000 Enter at least one number for the business partner" , and so i can't create the user successfully.
        Can anyone show me the solution?
        Thanks very much.
        Best Regards,
        qiuguo

    Hi
    just a thought.....it may not be creating a CP /BP....check your authorization.....hope this helps.....b/r

  • Captivate 7 - Created a text-to-speech which I can hear in preview but not when I publish?!

    My question says it all. The text-to-screen audio is not showing up in the first slide, but i can hear the rest of them only the first one is missing. What to do?!
    Thank you

    It's not a good idea to place an audio clip  right on the very first slide. 
    You can try moving the audio clip back from the start of the slide by a second or so.  Perhaps it's missing the initialization of the clip because you're trying to play a clip when it hasn't fully loaded as yet.
    I usually have a very short blank slide of a second or so as my initial slide, with a button on it that the user has to press to kick off the presentation.  I have some text on this slide warning the user that the presentation has audio and advising them to put on headphones so as not to disturb co-workers.  When they click the button it jumps them to the first content slide.  This short delay strategy usually eliminates any issues with audio not playing as expected.

  • Windows authentication on Intranet site on IIS8.5 works when using the IP of the site, but not the URL.

    I have an intranet website on server 2012R2 with IIS8.5.
    When I access the site by IP address, the site prompts for windows authentication and it only permits access to the areas the logged in user is allowed.
    When I access the site by URL, Firefox prompts for authentication and gives the correct access, but when I access the URL from IE or Chrome, the site never prompts for credentials and the entire site is wide open to anyone.
    I have anonymous authentication disabled, Windows authentication enabled, and basic authentication enabled, set to default to our domain, so the user doesn't have to type domain\username.
    I left the site bindings open, because when I bind to an IP or host name, the intranet site stops working.
    Can anybody tell me what I am doing wrong???

    When I access the site by URL, Firefox prompts for authentication and gives the correct access, but when I access the URL from IE or Chrome, the site never prompts for credentials
    and the entire site is wide open to anyone.
    Are you accessing the site from a domain-joined workstation? It's possible that it looks wide open because IE and Chrome are using your existing Windows credentials without any prompting, whereas Firefox is not automatically using these creds so is prompting.

  • I want a user to use only import, it run with export but not import

    Hi,
    i create a user for use only for import and for export.
    batch_export with exp_full_database role <- It run
    batch_import with imp_full_database role <- don't run
    P:\>sqlplus batch_export/batch
    SQL*Plus: Release 10.1.0.2.0 - Production on Lun. Ao¹t 21 17:21:58 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ERROR:
    ORA-00604: une erreur s'est produite au niveau SQL rÚcursif 1
    ORA-20000: Connexion refusee
    ORA-06512: Ó ligne 41
    Entrez le nom utilisateur :
    P:\>sqlplus batch_import/batch@rfsage
    SQL*Plus: Release 10.1.0.2.0 - Production on Lun. Ao¹t 21 17:03:36 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    ConnectÚ Ó :
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    the trigger as run
    create or replace trigger batch_export.check_connexion after logon on database
    declare
    V_MODULE SYS.V_$SESSION.module%TYPE;
    V_TERMINAL SYS.V_$SESSION.terminal%TYPE;
    V_SID SYS.V_$SESSION.SID%TYPE;
    V_SERIAL SYS.V_$SESSION.SERIAL#%TYPE;
    V_COMMAND varchar2(100);
    V_CURRENT_USER varchar2(20);
    V_CURRENT_SID SYS.V_$SESSION.SID%TYPE;
    cursor connexion is
    select substr(module,1,7) module, substr(terminal,1,12) terminal, sid, serial# from v$session T1 where schemaname='BATCH_EXPORT';
    cursor ID_CUR is
    select user from dual;
    cursor SID_CUR is
    select SYS_CONTEXT('USERENV','SID') sessionid from dual;
    --select SYS_CONTEXT('USERENV','CURRENT_USERID') current_userid from dual;
    Begin
    open SID_CUR;
    loop
    fetch SID_CUR into V_CURRENT_SID ;
    EXIT WHEN SID_CUR%NOTFOUND;
    dbms_output.put_line('V_CURRENT_SID:'||V_CURRENT_SID);
    end loop;
    close SID_CUR;
    open ID_CUR;
    loop
         fetch ID_CUR into V_CURRENT_USER ;
         EXIT WHEN ID_CUR%NOTFOUND;
         if V_CURRENT_USER='BATCH_EXPORT' then
         open connexion;
         loop
              fetch connexion into V_MODULE,V_TERMINAL,V_SID,V_SERIAL ;
              EXIT WHEN connexion%NOTFOUND;
              if V_MODULE<>'EXP.EXE' then
              dbms_output.put_line('V_SID:'||V_SID);
              dbms_output.put_line('V_CURRENT_USER:'||V_CURRENT_USER);
                   if V_CURRENT_SID=V_SID then
                   dbms_output.put_line('MODULE:'||V_MODULE);
                   RAISE_APPLICATION_ERROR (-20000,'Connexion refusee');
                   end if;
              end if;
         end loop;
         close connexion;
         end if;
    end loop;
    close ID_CUR;
    End;
    as the same for import user.
    I try with role in trigger but it don't, i see this in forum Oracle.
    But i think EXP_FULL_DATABASE have not DBA rule, but IMP_FULL_DATABASE have.
    How i do this ?
    I want just to use a user to imp utilities, but not connexion in sqlplus.
    Thanks for your help
    Christophe

    thanks for your help.
    it run !
    for example :
    as the system user
    SQL> INSERT INTO PRODUCT_USER_PROFILE values ('SQL*Plus', 'BATCH', 'CONNECT',null,null, 'DISABLED', NULL, NULL);
    1 ligne créée.
    SQL> grant create session to batch;
    Autorisation de privilèges (GRANT) acceptée.
    SQL> INSERT INTO PRODUCT_USER_PROFILE values ('SQL*Plus', 'BATCH', 'SELECT',null,null, 'DISABLED', NULL, NULL);
    1 ligne créée.
    the result
    oracle@debian:~$ sqlplus batch/batch;
    SQL*Plus: Release 10.2.0.1.0 - Production on Mar. Août 22 06:53:00 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connecté à :
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select user from dual;
    SP2-0544: Commande "select" désactivée dans le profil utilisateur du produit
    SQL>
    oracle@debian:~$ exp batch/batch owner=batch file=test.dump
    Export: Release 10.2.0.1.0 - Production on Mar. Août 22 06:54:32 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connecté à : Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export fait dans le jeu de car WE8DEC et jeu de car NCHAR AL16UTF16
    le serveur utilise le jeu de caractères WE8ISO8859P1 (conversion possible)
    Prêt à exporter les utilisateurs spécifiés ...
    . export des actions et objets procéduraux de pré-schéma
    . export des noms de bibliothèque de fonctions étrangères pour l'utilisateur BATCH
    . export des synonymes de type PUBLIC
    . export des synonymes de type PRIVATE
    Thanks for all

  • TS1424 I receive a prompt that my Itunes account has been disabled, but not for security reasons as suggested. Any ideas?

    I keep receiving a prompt that my account has been disabled, but not for secruity reasons. I had problems almost half a year ago with unauthorized purchases. When I asked Apple about the purchases, instead of providing answers, they said they would disable the account. Not only is that awful customer service and not answering my question, it's a HUGE pain in the butt because I just want to download some music legally!!! Does anyone in Apple Universe have any suggestions before I rip the rest of my hair out?

    Thanks,  I have tried changing the password 3 times to no avail.  I will contact itunes support
    thanks again

Maybe you are looking for

  • Importing old project to new project

    Hi All- My client wants a different backgorund/template on the project that exists now. I decided the easiest way to make this change might be to open a new project, design the new background (actually I imported a new background into the new project

  • How do I switch to 'fly by' view in iOS 6 Maps in cities that support it?

    Curious how to switch to this fly by mode in cities that support it in the new Maps app. Thanks Harry

  • Strange editing problems in Mail

    I have been having two quirks in Mail while editing. When composing emails I sometimes send several articles from online sources such as NY Times. After copying into mail, I delete the garbage such a "print" links from the original. If I do not selec

  • I keep getting logged out

    every time i try to open my ichat it keeps logging in and out until i can't login any more. why is it doing this?

  • DW CS3 Mac - CSS palette GUI anomoly

    I assumed this was not a new feature and posted a bug report, but has anyone else experienced this ... CSS styles palette (All view) does not update (turns grey or partially grey) when changing focus from code view to design view, or when clicking be