Does anyone know how to detect external application window close?
I can detect VI's panel close but not the ones from other programs. In this case, I know the title of the window and need to detect this event to trigger other actions. I tried to use event structure by registering dynamic events, but with no success. I would appreciate it if someone can help me or tell me where I can find related articles.
You will need to poll the window status to determine when it closes. Make sure you put a delay in the poll loop to avoid eating all your processor time. If this is a UI based application, a 50ms delay will be good. I have attached a single-VI example of how you can use dynamic events to tell your program to do something else. To use dynamic events, you have to do two things - create an event and register an event. These two things happen in the first two nodes on the left of the diagram. To use a registered event, you need right-click on the border of the event structure and make sure that Show Dynamic Event Terminals is checked. Then wire your registered events into the terminal. Note that you can register more than one event. Note also that the data for the event can be anything you want (it is a boolean in this example). To fire the event, use the Generate User Event VI. The input data will be the type you specified when you create the event. Make sure you clean up your event and registration before you exit.
Your code will probably have the top loop in the example in a different VI (the one checking for whether a window is open or not). You may not want to generate an event every iteration of the poll, only when the value changes.
Message Edited by DFGray on 01-30-2007 08:23 AM
This account is no longer active. Contact ShadesOfGray for current posts and information.
Attachments:
SimpleDynamicEventExample.vi 13 KB
SimpleDynamicEventExample.png 8 KB
Similar Messages
-
Does anyone know how to get an application you had once without using App Store?
Does anyone know how to get an application you had once without using App Store?
Because I'm underage and I couldn't get it back.
I just want it back, I'm not going to use any money in App Store...When you say you "had it once", how did you get it then? The App Store has only been around for a few years, so there are lots of apps out there that you would once get from the developer, but now they're only available on the App store. Which app(s) are you referring to?
-
I am trying to install CS3 on Windows 8 and keep getting a message saying "the serial number I entered is not valid please enter it again" Does anyone know how to install successfully on Windows 8?
CS3 is unsupported under Windows 8. That said, you'll need to contact Adobe
directly for serial number issues. -
OB52 Posting Period Close: Does anyone know how to automate the close?
Does anyone know how to automate the FI Period Close (trans code OB52)? Currently, the business users go into the screen and open and close any periods manually. For the MM period close, we are able to do so because we found the program to use in the batch job. For some reason, the FI side shows the program SAPL0F00 but this is only a view and will not allow a batch job to be created. Does anyone know of the actual program used for the FI period close?
Use program RFPERIOD_OPEN. It may help. For further details you may check the following thread.
RFPERIOD_OPEN -
Adobe Creative Cloud (Desktop) does not work properly. The application is blocked : it could not be launch neither stopped. I'm on MAC Yosemite OS, does anyone know how to remove it properly or to force its stop. It does not appear in the launched applications.
I received no error message. The application was just trying to find applications unsuccessfully.
I am using MAC OS 10.10.1
I tried to uninstall the application but it seems that a kind of deamon is still installed thus providing me to reinstall properly. Do you know where are the elements to remove in order to get my machine just like before ?
Otherwise I would have to reinstall everything and this would be a pain.
Thanks for your help. -
Hi. I get the following message when trying to update or install an application: "impossible to connect to iTunes store". Does anyone know how to fix this? Thanks!
Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
http://www.apple.com/itunes/download/ -
I can't forcequit firefox and shutdown my computer, nor can I open up any other programs or applications. Does anyone know how to fix this? please help this poor soul.
You can force quit applications
>Force quit
if that does not work you can force quit a computer shut down by hold the power button for an extended period. -
Does anyone know how to lock a specific application, such as e-mail in Ipad?
I have my company email in my Ipad and I want to lock it in order to prevent whoever uses my Ipad to login to my email. Does anyone know how to lock a specific application or it cannot be locked?
There is a somewhat clunky way to do it. First, go into your mail (Settings - Mail/Contacts/Calendars) and turn off (dont' disable) any accounts you don't want to be seen. Then go into Restrictions - Accounts and select "Don't Allow Changes." This will prevent anyone from turning the mail back on. When you're ready to turn it back on, go into Restrictions and either Disable Restrictions or go into Accounts and select Allow Changes.
-
Does anyone know how I can solve this. My cat managed to move iphoto tab to the middle of the screen and now I cannot open it and get this message.
You cannot open the application iphoto because it may be damaged or incomplete
Any help appreciatedYou need a more technically saavy cat, for a start.
To re-install iPhoto
1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
2a: On 10.5: Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
2b: On 10.6: Those receipts may be found as follows: In the Finder use the Go menu and select Go To Folder. In the resulting window type
/var/db/receipts/
2c: on 10.7 or later they're at
/private/var/db/receipts
A Finder Window will open at that location and you can remove the iPhoto pkg files.
3. Re-install.
If you purchased an iLife Disk, then iPhoto is on it.
If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
If you purchased it on the App Store or have a Recent Mac you can find it in your Purchases List. -
Hi everyone! I turned on my computer the other day and the icon for Safari was missing from my dock. I looked in the applications folder and it is no longer there. Does anyone know how I can get safari if I have no internet search engine? I
Safari 5.0.6 for Leopard can be downloaded from here:
http://support.apple.com/kb/DL1422
Does anyone know how I can get safari if I have no internet search engine?
How did you post here? -
When I click a link in email from the dock I get "no associated application could be found", however if I used comcast email the link will open.Does anyone know how I can enable the links to open in my apple email account on the dock?
Barney,
I have four groups.
I just typed the name of one of those groups in the To field on the iPhone's email, and received:
Invalid Address
"<group name>" does not appear to be a valid email address. Do you want to send it anyway?
I clicked continue and it remains in my outbox.
Help is appreciated.
Thanks,
Michael -
Does anyone know how to connect with an external modem and AOL service?
i just got the macbook yesterday and the modem came today, and i cannot figure out how to connect with an AOL account using the external modem. does anyone know how, or have the same problem??
Macbook 1.83Ghz White Mac OS X (10.4.7)Hi MacMan2006! And Welcome To Discussions!
Do you have the AOL software installed?
When you open System Preferences > Network > Location: Automatic & at Show: is there an option to select External Modem?
If so, is your Modem Model listed?
ali b -
something has gone wrong with my external hard drive after my macbook battery went off.. now i cannot paste or create new folder. Does anyone know how to fix this?
Bus powered external drive?
Backups?
Does Disk Utility can see and repair the drive or not?
Also try here in future: MacBook Pro -
I have a late 2011 Macbook and whenever I open any application it opens only the top menu bar and no viewer windows.I always have to click cmd n to open new windows and it is quite annoying.Does anyone know how to fix this issue? Thx
You may have more of a chance getting a quicker answer here:
https://discussions.apple.com/community/windows_software/windows_compatibility -
I'm using 3G3 16gb and just upgraded to 4.3.3. Tried activating bluetooth to use Personal Hotspot for my laptop. But the iphone keep searching for devices thou my laptop can detect the phone. Does anyone know how to solve this?
Hi NWL1,
Thanks for the question. If I understand correctly, the iPhone won't update and is stuck. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
If you can't update or restore your iPhone, iPad, or iPod touch - Apple Support
Thanks for using Apple Support Communities.
Have a great day,
Mario
Maybe you are looking for
-
ODT 10.1.0.2.0 on Visual Studio 2003 problem
I have installed the ODT 10.1.0.2.0 on Microsoft Windows XP sp2, Visual Studio 2003 and database Oracle v9.2.0.7.0. I have create the example project like the example in http://www.oracle.com/technology/oramag/oracle/06-sep/o56odp.html, bat when I ex
-
Hello, I have an LOV_COLS, which contains the columns of scott.emp and is represented by a list P50_MY_COLS, and textfield P50_SEARCHTERM where I can enter a search term. Now I like to have a report which displays something like SELECT EMPNO, ENAME,
-
Need help in the CRM Business Package Configuration in EP
Hi, I have uploaded CRM BP 60.2.3 on EP 6.0 WAS 6.40. I have configured and assigned the WAS System parameters and CRM System parameters. But still, when I preview an iview for ex. B2B Shop, the following portal runtime error is coming. Portal Runtim
-
Iozone website benchmark results on Xserve RAID
Hi, I'd like to try and find out how the Apple RAID was configured for the iozone benchmark. The results of the benchmark are here: http://www.iozone.org/src/current/Xserver.xls I asked the question directly to iozone and the answer was that the benc
-
How to install InDesign upgrade over PageMaker upgrade
Perhaps I'm the only one in the world with this problem (so I've been told by customer support) but here goes... I purchased PageMaker version 5 back around 1997. Since then, I purchased several upgrades so that I'm now at PM version 6.5. I just purc