Maintain back ground activity while file dialog pop is open

If i use a labview pop for example file dialog pop up and i put in an event stracture,the event case doesn't come back to the timeout case till the user  closes the pop up(it could be by clicking ok or cancel)..is there a way of making it that as the event structure waits for the action from the user it waits from the timeout case..i have a tcp communication that timeout after 2 seconds if no packets are sent over it after 2 seconds.thank you..
Solved!
Go to Solution.

Hi alpony,
i put in an event stracture,the event case doesn't come back to the timeout case till the user  closes the pop up
Sure: THINK DATAFLOW!
.is there a way of making it that as the event structure waits for the action from the user it waits from the timeout case.
Yes.
Use parallel loops. Use an event-driven state machine. Use producer-consumer scheme…
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • HT1414 how can i open my iphone because when i try to restore it from my back up all the files it didn't open anymore & always my iphone have a problem that it automatically shut down then the itunes logo appear then i need it to connect to itunes then re

    how can i open my iphone because when i try to restore it from my back up all the files it didn't open anymore & always my iphone have a problem that it automatically shut down then the itunes logo appear then i need it to connect to itunes then restore to enable to open it..what should i do?i cannot bring it to the smart center because i lost my receipt..is there any chance to recover it?thank you so much..i already update my operating system to ios 6.1.3 but when i recover my  back up the operating system was ios 6.1.2..

    Your phone is in recovery mode. Did you plug it to the computer running itunes? What happend?

  • How do I get back to the newest file dialog box style in LabVIEW?

    I have LabVIEW 7.1 and LabVIEW 6.0.2 installed on the same machine.  When I doubleclick a .vi file it tries to open in LV602.  Of course, if it is a LV71 VI I get an error and it doesn't open.  Then I run LV71 and load the desired VI--in this case by using the Open arrow to find it in the "recently opened" list.  Now, I've made this mistake before, especially when I don't remember whether I used LV602 or LV71 to create the VI, and nothing bad has happened.
    But this time something undesirable did happen:  all Open File dialog boxes are of the old funky style.  How do I get the file dialog boxes back that I've grown used to seeing when I use LV71?
    CLUES:
    1.  I get the old style dialog box even when I try to open a VI--not just when a running VI invokes it.
    2.  The built version of the VI brings up the correct, new style, file dialog box--unlike the development environment.
    I haven't found any settings in the options area that would appear to affect the file dialog box style.  Has anyone ever seen anything like this?

    RudyRed wrote:
    Thanks for the response,
    Warren.  I think all my problems with LV versions coexisting
    peacefully have been related to NIDAQ--and I think the workaround (for
    supporting the different levels of LV DAQ VIs--see my response to
    Benoit, above) shows that it is not NECESSARY for NI to orphan old LV
    versions' DAQ functionality on the development computer, though it is
    still painful to be able to have only one version of NIDAQ available on
    a given target computer.  It's probably a marketting decision
    meant to encourage users to stay on the straight-and-narrow upgrade
    path.
    NI-DAQ has usually been working fine in
    several different installed LabVIEW versions on my computer. What is
    important is the order of installation. Start first with the lowest
    LabVIEW version and install the latest NI-DAQ that supports that
    LabVIEW version. Then go to the next LabVIEW version and install again
    the latest NI-DAQ version that supported this LabVIEW version and so
    on. I'm regularly working with 6.1 up to 7.1 and starting with 8.0
    slowly and haven't had real show stoppers yet.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • File Dialog and Report Generation Toolkit

    Hi,
    I designed a VI for an electrometer calibration and it works quite well The only problem I have is the following:
    I used the Report Generation Toolkit to put the measurement data in an Excel file. When I run the VI I'd like a window to pop up to define the location and name of the Excel report file. If these two things are done LabVIEW should create the specified Excel file and run the rest of the code.
    So i tried this with the "File Dialog" Vi and all the needed low-level File I/O VIs and it worked.
    But when i connect the "File Dialog" VI with the "New Report" VI of the Report Generation Toolkit I get an error message.
    Is there any solution to get this file dialog pop up window with the Report Generation VIs?
    thx for any help...!
    Message Edited by Flea on 12-15-2005 03:58 AM

    Wow, thanks for your fast and very helpful reply devchander!
    I already tried this and it works fine
    thx!

  • What does the open file dialog do 'under the hood' and is there a way to simulate it

    What does the open file dialog do 'under the hood' and is there a way to simulate it?
    I have a bug in my code (that I've posted about before, here) which I can't fix at the moment, but I do have a workaround.
    Briefly, the bug:
    I call a dll from a function node, to initialise and run a spectrometer. If I start up the PC, LabVIEW and run my vi the code runs without complaint, the first call to the dll to initialise the spectrometer doesn;t return an error but the spectrometer is not detected either.
    I've tried various solutions, see the link above, and none work
    The workaround:
    If, at any time before running the code containing the function node I open an 'open file' dialog window, select the dll and click ok/hit enter then everything is fine. When I run the main code the spectrometer is detected.
    I use an express vi to open the file dialog, I specify the start path and file name as constant inputs and just click ok/hit return when the dialog pops up. I don't do anything with the dialog outputs. In fact the vi that contains the open file dialog can be run before the project containing the bug is even open.
    I have to do this everytime I turn the PC on.
    So, either
    1) Can somewone suggest a fix for the original bug?
    2) What is the easiest way to simulate the enter keypress when the open file dialog pops up
    or
    3) Can someone tell me what the open file dialog does under the hood that somehow causes the dll to work and can it be simulated in straight LabVIEW
    I suspect that the dll itself is dodgy ( I have in the past talked to the supplier but not got very far, and I will try again but I would like a quick, temporary solution too). I'm guessing that the file dialog is making some kind of check on the file, and possibly registering its presence with the OS (winXP). I tried using the file/folder exists vi to see if checking the file like that worked but no luck.
    Any help greatly appreciated.
    Dave

    Hi David
    I am very conscious about thread hijacking but this sounded like my issue so I hope you dont mind me asking about your issue. I am hoping that you have a spectrometer from the same vendor as me and its not just me seeing an Error 1097 issue. My spectrometer is from a company called Stellarnet.
    So far I have unable to get it to work with other VIs. There is one condition where I can get it to work but its no good for me.
    Case 1
    I open the VI in a fresh labview environment with no other VIs in memory. The code runs with no issue.
    Case 2
    Labview is not opened. I double click the spectrometer VI in windows explorer.  The VI opens but it fails to run resulting in Error 1097. Personally, I dont see the difference between this and Case 1 above and yet it fails.
    Case 3
    If I already have other VI's in memory and try to load the spectrometer VI and run it fails with Error 1097. This case is the one that most important to me. I have a test executive that will load test VIs dynamically and I can't get this to work. Same problem Error 1097.
    I wanted to share what I have seen with you and to let you know that maybe somebody else has the same issue. I am convinced its the DLL but the vendor dis-agreed saying it was LabVIEW. I couldn't convince him otherwise.
    Thanks in advance
    David

  • Suggestion: Please make the Combine Files dialog modal to the Acrobat application instance.

    I often combine files into a PDF with Acrobat (XI). It is annoying that the main Acrobat window is shown while the Combine Files dialog window is open. I often review other PDF files during the process of selection for later combination. It happens far too often, that I accidentally close the Combine Files instance main Acrobat window during the process and subsequently lose the already specified file selection. I would suggest to make the Combine Files dialog modal for the Acrobat instance so that users would have to close the Combine Files dialog first, before closing the instance. I would appreciate this in a future update. Thanks a lot.
    Acrobat installé : C:\Program Files\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe
        Version : 11.0.03.37
        Date de création : 2013/05/11
        Heure de création : 12:37:32
    Cartes graphiques : NVIDIA GeForce 9600 GT
        Version : 9.18.13.2018
        Vérification : OK
    Détails d’Acrobat :
       Sandboxing : Désactivé
       Captive Reader : Non
       Lecteur multiple sur un bureau : Désactivé
    Détails de l’affichage :
       Largeur d’écran : 1920
       Hauteur d’écran : 1080
       Nombre de moniteurs : 1
       Nombre de boutons de la souris : 3
       Possède une roulette : Oui
       Possède un stylet Windows : Non
       Jeu de caractères codés sur deux octets : Non
       Possède un éditeur de méthode d’entrée : Oui
       Dans l’environnement du lecteur d’écran : Non
    Détails de la session :
       Type de démarrage : Normal
       En cours d’arrêt : Non
       Réseau : Disponible
       Dans l’environnement Citrix : Non
       Dans l’environnement VMWare : Non
       Session à distance : Non
       Contrôle à distance :  Non
    Détails du compte :
       Droits utilisateur : Standard
       Contrôle de compte d’utilisateur : Par défaut
       Intégrité du processus : Non défini
       Type de profil : Aucun
    Détails sur Windows :
       Tablet PC : Oui
       Starter Edition : Non
       Media Center Edition : Oui
       Ordinateur lent : Non
    Dossier temporaire :C:\Users\Emploi\AppData\Local\Temp\
    Dossier Windows :C:\Windows
    Fabricant du système d'exploitation :Microsoft Corporation
    Fuseau horaire :Paris, Madrid
    Mémoire physique disponible :1783552 KB
    Mémoire physique totale :3669304 KB
    Mémoire virtuelle disponible :1922544 KB
    Mémoire virtuelle totale :2097024 KB
    Messagerie par défaut :Microsoft Outlook
        mapi32.dll
        Version : 1.0.2536.0 (win7_rtm.090713-1255)
        Date de création : 2010/11/20
        Heure de création : 23:29:12
    Moniteur :
        Nom :NVIDIA GeForce 9600 GT
        Résolution :1920 x 1080 x 59
        Bits par pixel :32
    Navigateur par défaut :C:\Program Files\Internet Explorer\iexplore.exe
        Version : 10.00.9200.16521 (win8_gdr_soc_ie.130216-2100)
        Date de création : 2013/07/10
        Heure de création : 10:54:20
    Nom du système :PRIVÉ-WT
    Nom du système d'exploitation :Microsoft Windows Vista
    Nom d'utilisateur :Emploi
    Paramètres régionaux :Français (France)
    Processeur :x86 Family 16 Model 5 Stepping 3  AuthenticAMD  ~3315  Mhz
    Taille de la page :4194303 KB
    Version BIOS :A_M_I  - 9001119
    Version du système d'exploitation :6.1.7601  Service Pack 1

    All feature requests must be made via the official web page:  http://www.adobe.com/go/wish

  • Filenames grayed out in "Open" file dialog box

    I'm trying to use Garmin POI file loader for the Mac (v2.01). It's a tool to load data from comma delimited files, in a specific format, to a GPS. It all works until I click the browse button, and a "Open" file dialog pops up. All the files are grayed out. I tryed:
    1) Renaming the file
    2) With and without the CSV extension
    3) Resaving the file with Excel specifying CSV format.
    4) Tried on 10.4 and 10.5 Macs.
    5) Using a CSV file directly after downloading off the net
    I guess it could be a problem with the loader, but I suspect I'm doing something wrong outside of that. Any ideas?

    Well darn, it won't let me run it without a Device to send it to, but looking inside it I see
    hpp

  • ITunesEvent Interface - Added Files Dialog Box

    I am using the COM SDK for Windows and I am using the iTunesEvent interface to receive the call iTunesEvents:nCOMCallsDisabledEvent. The problem I am having is the Server Busy Dialog pops up in my application when I use IUserPlaylist::AddFiles of 50 plus files. Because the Added Files Dialog pops up in iTunes doing this operation.
    Thanks for any help you might offer.

    This is not an answer, just a "me too" post.
    I have the exact same issue, except that I'm usually opening .aspx files. I waste so much time hand-clicking to select All Files (*.*) — would *love* to be able to change the default!

  • Infinite Beachball when Open/Place File Dialog is Called

    (Apologies on the novel below. If it helps a soul out there from a descent into madness, well, at least one of us got out okay.)
    I am having a heck of a morning that is bleeding over from last night (and it has nothing to do with Mardi Gras time in New Orleans). I have recently set up my laptop (a new MBP) with Yosemite and AICS 5.1 and 6 (haven't yet made the move to subscription CC). I use the laptop at my office, where we have a simple network (one router, a switch, and several NAS drives). All day yesterday I worked on the system and had no issues. I took the computer home (another simple network with router, switch, nas drive) and whenever I attempted to either Place a file into an existing document or Open a file from within Illustrator the file dialog window would open. However, even though the window would indicate the Desktop directory was being accessed, the list of files would not populate and, after a couple seconds, the cursor would beachball forever. Uncertain to its reason, I attempted several remedies (cleaning font cache, uninstalling a couple system preference panes, paring down font menu, removing sidebar items, deleting all preferences, making changes to Dropbox settings). The only thing that worked in getting the dialogs not to beachball was to install a temporary user account and load AI from there (not a practical solution, ultimately). Also, it is important to note, this Open/Place problem occurs in AICS5.1 as well as AICS6. Things that do work regarding file access: if I Save a file from within AI the file dialog comes up and no problem. If I double-click or otherwise open a file from the Finder or a search utility the document will open.
    This morning I brought my computer to work and attempted the Place command. The window opened and paused, and then a curious thing happened. I heard my NAS awaken. After several seconds, the dialog window populated, and all was righted. I could Open and Place files with no issue. The three network shares that I have at the office all reconnected (I had disconnected from all of them before quitting the network last night).
    At this point, my hypothesis is that AI was having some trouble with network shares and even though I had unmounted the shares AI was still remembering them (and having trouble letting go). To test this, I loaded AI with the shares mounted, quit AI, and then unmounted the shares. I then disconnected from the network and loaded AI. Attempting the Place command in a new document brought up the dialog window and directory file list (!). I then pressed [CMD] + D to get to the desktop files/shortcut folders and wham -- infinite beachball!
    My desktop has a bunch of helpful aliases for navigating local and network shares. There are links to my Dropbox folder, my client art folder, a screenshot folder, and four links to network shares. I made these shortcuts by mounting the share, going up a level in the root directory, and option-commanding the share over to the desktop. I don't know if this is a good or holy way to do it, but it's the way I've been doing it on 10.6.8. In any case, I took all of the icons on the desktop and threw them in a temp holding folder. I then loaded AI, new document, Place, go to Desktop directory -- no beachball. Open the temp folder, infinite beachball, force quit. Create a subfolder within the temp folder. Put all the network share aliases in there. AI, New, Place, Desktop directory (ok), temp directory (ok), subfolder (beachball party), force quit.
    Mind you, this is all with the network disconnected. When I get info any of the aliases the Finder beachballs!! After a few seconds, though, the Finder begrudgingly allows me to see the file information.
    So, there's something screwy with the way those aliases are behaving. When they are 'looked at' by the AI file dialog (or the Finder) the system wants to reach out and touch them, say hello. The Finder, although flummoxed, eventually regains composure and shakes off the hang. AI, however, can't break free.
    The temporary way forward, I suppose, is to remove those aliases from the Desktop and put them in a safe, out of the way place. I will probably create a few AppleScripts or Automator apps in their stead for mounting NAS shares, and assign to function keys. Hopefully someone out there with bigger lightbulbs over their head can shed some light on the problem and offer other suggestions for a more robust fix. In any case, it's probably a Yosemite problem, given the Finder's odd behavior.
    Cheers!
    -g-

    Open Finder, press Option key, select Go > Library, open Preferences and delete com.apple.desktop.plist

  • File Dialog Box

    Hi
    I am using struts framework for my web application, and i am working on reports section,
    i want File Dialog box like open,save when i click generate report button , so user can save generated report in his local system.how can we do this..currently i am able to generae the data bygiving the local file path.(String filename = "c:\\csv\\billreport.csv"; FileWriter fw = new FileWriter(filename);)
    my action will call my dao mthod that it will get the qry data.so when i click generate report button i am calling java script mthod its calling my action.
    so how can we get the File dialog box when i click buton.i have to write some code in my java script method?
    plz help me.

    Just let the link point to some servlet which takes the file identifier as request parameter or pathinfo, then gets an InputStream of the file contents somehow, then writes it to the OutputStream of the response. That's basically all. If you want a 'Save As' dialogue all the time, then you need to set content-disposition header to "attachment" as well. Else you're dependent on the browser default configuration.
    You can find here a (basic) example to get the idea [http://balusc.blogspot.com/2007/07/fileservlet.html].

  • Set Windows XP Default File Dialog Directory

    Anyone know how to set the default directory that shows when a file dialog box is opened in Windows XP? I am using a subVI from the NI website that allows multiple files to be selected from a file dialog box, BUT there is no start directory input into the VI, and the VI is based on DLL calls for which the code was not provided. Ideally I was hoping I could set the default directory for XP in Labview, so that each time this Select Multiple Files subVI is called I can read the directory of the files selected, then set the default directory to that directory, so it is updated every time.
    Michael

    I have tried implementing the SetCurrentDirectory but it doesn't seem to work as wanted. I run the Select Multiple Files VI, and take the first file, strip the path of the file, and call the kernel32.dll to SetCurrentDirectory. If you select more than one file, the Open File dialog box will not default to that directory the next time you run the program.
    I read on msdn2 (http://msdn2.microsoft.com/en-us/library/ms646839.​aspx) about OPENFILENAME struct, and how it is used to determine the initial directory for an open file dialog box, but I'm not sure how to access that struct. Maybe this is what I need to change, or maybe I have to use the SetCurrentDirectory somehow in conjuction with the other DLL call (which I don't know how to do since I don't have the code for it). Any ideas?
    I don't have experience with .llb's, so I'm having a problem attaching. I've attached the modified File Dialog (Windows API) VI, the rest of the files can be found at http://zone.ni.com/devzone/cda/epd/p/id/4737
    Michael
    Message Edited by miguelc on 03-21-2007 01:22 PM
    Attachments:
    File Dialog (Windows API).vi ‏39 KB

  • File Dialog disappears in OSX 10.9 Mavericks (CS6 11.0.3.6)

    Recently updated to Mavericks and whenever I open the file dialog to either open an existing AE CS6 project or save a new project, the dialog appears for a moment and then vanishes as if dismissed before I can interact with it. I applied the 11.0.3.6 patch but that doesn't seem to help. I also tried updating, then removing the NVidia CUDA drivers.

    This didn't help. I did "chmod -R a+w /Users/myname/Library/Preferences/Adobe" and I also tried renaming the Adobe preferences folder. Any other common problems? Has anybody else seen this behavior with the CS6 file picker in Mavericks?

  • Error while activating ODS is not caught in the back ground job..

    Hi All,
    We have a back ground job to load data to ODS and to activate it..If there is any error while loading or activating the data, back ground job is going into loop instead of cancelling the job..As the job is going into loop we are unable to trace the error unless we cancel the job manually and checking it..We have switched off displaying any messages while doing the back ground job...also we can not set any time limit for the job as it always depends on the volume of the data.
    My requirement is , back ground job must get cancelled if there is any error while loading the ODS..Can anybody suggest any idea on this..
    Thanks for reading.
    Umamaheswar kumar

    Hi Uma,
    A few hints for running and schedule and monitoring process chains:
    - always schedule the process chain in tcode RSPC
    - check the log in RSPC for error messages, or
    - check BW monitor for the ODS concerned (tcode RSMO, tab Details)
    if anything is not working fine, the status of the corresponding load will show you the errors, warnings ...
    either in RSPC - log or RSMO.
    hope it helps.
    Regards,
    Lilly

  • MAC OS Yosemite - CS6 - A while back, i did something to where when i open a file in photoshop, it no longer is one window, now it's two separete ones. one for the program itself, and another for the actual file how do it get it back to where it's all one

    - A while back, i did something to where when i open a file in photoshop, it no longer is one window, now it's two separete ones. one for the program itself, and another for the actual file how do it get it back to where it's all one window without having to be in full screen mode? I've managed to go some time like this, but right now it's just really annoying me. HELP!!!

    Just drag the small window to the top right below the toolbar, you'll see the area highlighted and when you drop it the file should dock.

  • How to download the application file to local file by back ground job?

    hi:
      can any one tell me how to download the application file to local file by back ground job? thanks in advance..
    Monson

    Hi,
    In order to download a file from application layer to a local file in background,
    first write a report(ZREPORT1) in which do the following steps:
    OPEN DATASET g_file_1 FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    loop the g_file and append all the data into another internal table.
    end of this report you shd have all the data in the application layer file into your internal table.
    Now create another report(ZREPORT2) and submit this report in background.
    that is,
    JOB_OPEN
    JOB_SUBMIT and
    JOB_CLOSE
    and in job_submit submit ZREPORT1 which downloads the file in application layer.
    Please reward points if helpful.
    Regards,
    Arul.

Maybe you are looking for