How can I get handle(s) to and poll non-LabVIEW window(s)/application(s) from LabVIEW?

Want to launch EXE from LabVIEW, wait for user to finish with EXE's UI, and once they closed it, return execution flow in LabVIEW. Cool, no problem.
Used the System Exec VI and with the "wait until completion" = TRUE the EXE never launches. Not sure why.
With the "wait until completion" = FALSE, the application runs with no problems, but now LabVIEW no longer waits.  Can't tell when user is done.
Work around idea... Once the Sys Exec VI launches the EXE, wait and poll some Windows API call to see when the window for the specific EXE closes. Cool.
I know G and no C.  What I would ideally like is a DLL, that I can wrap with the DLL Import Wizard.  Of course best would be a VI and the wrapped API call.
Any ideas?
Scott Rogers
Sr. DSM
Western NY

You could try it with a pipe. With a pipe you can open an exe, and interact
with it through a read and write reference. Although in your case the exe
might not start, since the normal sysexec doesn't start it...
http://forums.ni.com/ni/board/message?board.id=170&message.id=270461&requireLogin=False
Regards,
Wiebe.

Similar Messages

  • I recently purchased QuickTime 7 Pro to convert avi files to mov files for editing on Imovie. However, QuickTime won't play the files. How can I get them to play and how can I convert them to mov files?

    I recently purchased QuickTime 7 Pro to convert avi files to mov files for editing on Imovie. However, QuickTime won't play the files. How can I get them to play and how can I convert them to mov files?

    I recently purchased QuickTime 7 Pro to convert avi files to mov files for editing on Imovie. However, QuickTime won't play the files. How can I get them to play and how can I convert them to mov files?
    Both the AVI and the MOV file extensions refer to the file container and not the compressed data the file contains. Both are generic file containers in that each may contain any valid combination of audio and/or video data that is compatible with the codec component configuration of the system on which the file was created. On the other hand, whether a file is playback compatible, conversion compatible, and/or edit compatible depends on the data actually contained in the file container. So, you are basically dealing with two separate issues here—the container and what is inside it.
    Basically, if you want to make your files ediit compatible with iMovie, you must change your file container to one that is acceptable to iMovie and convert the data to edit compatible audio and/or video compression formats as may be necessary. The best approach is to determine what codecs were actually used to create the original AVI files and add them to your system if possible. In most cases a codec package like Perian can be added to your system's codec component configuration to may the AVI file playable. Once they are playable, in the QT 7 app then they can be chnged or converted to file types and compression formats that can be edited in iMovie. (While Perian handles most codecs commonly used to create AVI files, it does not handle all possibilities and, while the Perian codec package still works under cureent Mac OS versions, its development group has decided to drop further development/support of the package.)
    Background: AVI is a file container originally developed by Microsoft back in 1992 but for which official support was discontinued about 11 years. Despite its limitations, Windows users still tend to use this file based on its open source ease of use and generic nature, thus, making its use so popular that most users are unwilling to switch to more modern but less generic file types. Since some AVI legacy compression formats have never been transcoded for the Mac or use beyond OS 9 or OS X PPC platforms, it is often important to know what specific compression formats are contained in the AVI file to know which codecs to add to your system and which not to add in order to avoid possible codec conflicts.
    You can use many different converters to convert AVI files to iMovie edit compatible files. Most third-party apps contain their own buit-in codecs which do not relay on the Mac codec component configuration. Free ones, like HandBrake, usually have limited conversion capabilities while those that have more varied outputs are usually commercial in nature and will cost you additional cash. QT 7 Pro or the free MPEG Streamclip app allow you to access you own system's component configuration and use any available codec component like DV, AIC, MPEG-4, H.264, Photo JPEG, etc.—all of which are iMovie compatible for editing purposes—but only after making the AVI file QT 7 player compatible.
    In order to determine what compression formats wewre used in your AVI files you can
    1) Try checking the Finder "Info" window,
    2) Use the "Inspector", "Media Info", or "Properties" window of any player app that will open the file, or
    3) Use a general media utility app like "MediaInfo" to read the file characteristics.

  • HT1203 Can I share one iTunes account for my iPad and two I phones? If so, how can I get the purchased apps and music on all three devices? Do I need a home computer,

    Can I share one iTunes account for my iPad and two I phones? If so, how can I get the purchased apps and music on all three devices? How do I sync all the devices to have the same music and apps?

    You can set up an iCloud account on each one (the SAME iCloud account using the same AppleID on each) and then sync via iCloud.
    http://support.apple.com/kb/HT5262\
    However, an iCloud backup nor sync contains purchased content - that is available for redownload from the iTunes and App stores (so no need to waste iCloud space storing it for you).
    So, for purchased content, you will have to download it on each device - just use the same AppleID and download each item on each device.
    Without a computer to aid the sync'ing, downloading the purchased content on each device is the only way.
    P.S  audiobooks cannot be re-downloaded once purchased (all other content can be), so without a computer to save, store and move the audiobook files around, you will only be able to put those on one device - the one you first purchase it on.

  • Every time I hit the app store I get the message "loading".   How can I get out of this and get the app "qrreader" that I want to load???

    I'm getting a little frustrated trying to get the "APP "  "qrreader".  Everytime I tap on the APP icon it is "loading".  How can I get out of this and start over with the
    APP I want???

    Try a reset: hold down the home button along with the power button until you see the Apple, then let go.

  • How can I get the second group and report totals in Matrix report?

    Hi,
    I have created a matrix report with 2 break Groups.
    Iam getting columns totals for the first group, but not for the second group and the report totals.
    How can I get the second group and report totals for each month?
    Thanks.
    Ram.

    Hi Ram,
    If you want a total at any group-level, go to the particular group in the data model, insert a summary column in the group, and select
    Reset At > appropriate Group Name
    For report level summaries, you must create the summary column outside of all groups.
    Navneet.

  • How can I get the image width and height stored in database?

    Hi!I write s servlet to display images store in database.but how can I get the image width and height?

    Have you tryed using PJA or a similar library?
    I presume you get java.lang.NoClassDefFoundError on the line :
    Toolkit.getDefaultToolkit();?

  • How can i get the code html and css of my form please help me

    how can i get the code html and css of my form

    HI,
    If you like to embed the HTML form in your web page then you will need to obtain the form code from the Distribite/Embed tab. Additional information can be found here: http://forums.adobe.com/docs/DOC-1991
    You will not be able to access/modify the css code or the rest of the form html code.  If you like to view the source of of a HTML page, please use your browser 'view source code' functionality.
    I hope this answer your question,
    Thanks,
    Lucia

  • How can I get itunes to download and install?

    How can I get itunes to download and install?

    You need to install it - just downloading does not necessarily install it. If you double click it, does it open an installer window? Or, can you simply drag it into your Applications folder (if it is not showing in Launchpad)?
    FWIW, your downloads folder is just a temporary "holding" place for your downloads - once you have installed applications or moved other files where they belong, you can empty that folder.
    PS - If this is what you downloaded, it is a disk image (.dmg) which means you need to double click it; you then need to move the icon and install it.
    Out of curiosity: is it working well? I'm curious because it is rather dated software.

  • How can I get iTunes to locate and play all my music files?

    How can I get iTunes to locate and play all my music files?

    I have this problem too. I am researching now. Here is what I know so far. If you right click a song then get ifo the it will say Protected AAC or purchased AAC. Protected wont play on sonos, purchased will play on sonos. It seems that all my protected were purchased 2005 to 2009 or so. I am trying to find out if apply will convert these for a small dfee or if I use the itunes cloud these tunes will convert for me. downloading and reloading is not an option for me. Pretty much a money grab by apple either way. I am sure Steve is smiling.

  • If I know a name of class , how can I get it's attribute and methods

    If I know a name of class , how can I get it's attribute and methods as well as it's detail information by ABAP code ?
    Best regards ,

    HI, Chandra ,
    Thank you very much , I can get the result
    Best regards,
    DATA lo_class TYPE REF TO cl_oo_class.
    DATA lt_attribs TYPE seo_attributes.
    FIELD-SYMBOLS: <attrib> TYPE vseoattrib.
    TRY.
        CREATE OBJECT lo_class
          EXPORTING
            clsname = 'CLASS_NAME'.
      CATCH cx_class_not_existent .
    ENDTRY.
    lt_attribs = lo_class->get_attributes( ).
    BREAK-POINT.

  • How can I get my Redemption Code and activate apps?

    How can I get my Redemption Code and activate apps?

    Hi Siriuslee,
    Since you're looking for a redemption code, I'll assume you have a Student & Teacher edition of Creative Cloud. If that's correct, you'll find instructions in our KB article, Serial number, redemption, and product codes | Student & Teacher editions.
    Activation is covered there too. Let me know if you get stuck.

  • How can I get an in app purchase that never synced w/ imac onto comp from my old 3g so that i do not have to 'repurchase' for the 4 (2 apps are groove and doodle buddy)?

    how can I get an in app purchase that never synced w/ imac onto comp from my old 3g so that i do not have to 'repurchase' for the 4 (2 apps are groove and doodle buddy)?

    SO, do I delete the app off of both the old 3g phone AND the imac, then reinstall on ONLY the imac, then re sync?  OR, should I delete off computer, repurchase on computer then re-sync with new iphone4?  I realize this is kind of roundabout, but the issue I ran into was too much stuff on my old 8GB 3G, and I was stuck on iOS3 FOREVER (couldn't upgrade to iOS4) soooo, I deleted a whole bunch of piddly apps from the phone ONLY, which then allowed me to update to iOS4 (on the 3G).  Then, I could sync (which I did, but obviously not everything transferred, b/c when I synced the new 32 GB iphone 4, there are  particular apps {doodle buddy and groove, my tap fish...} that are missing the in app purchases, but these are still on the old 8GB 3G).  I am so confused....

  • Have downloaded 5s iPhone. Instructions for activating iCloud gives wrong email address to verify account. How can I get around this problem and get my phone set up with iCloud

    Have downloaded 5s iPhone. Instructions for activating iCloud gives wrong email address to verify account. How can I get around this problem and get my phone set up with iCloud

    elhoseny wrote:
    ... Instructions for activating iCloud gives wrong email address to verify account..
    The Apple ID and Password that was Originally used to Activate the iDevice is required
    If you do not have that information you will not be able to use the Device.
    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818

  • My ip5 was hacked, someone knew my ID apple 's password and he/she locked my ip5. How can I get my password back and unlock my ip5?

    My ip5 was hacked, someone knew my ID apple 's password and he/she locked my ip5. How can I get my passwitord back and unlock my ip5? How long does it take?
    <E-mail Edited by Host>

    My ip5 was hacked, someone knew my ID apple 's password and he/she locked my ip5. How can I get my passwitord back and unlock my ip5? How long does it take?
    <E-mail Edited by Host>

  • Hello, how can i get my photos,videos,and contacts of my iphone transfer to my pc. As i have lost my iphone 4

    Hello, how can i get my photos,videos,and contacts of my iphone transfer to my pc. As i have lost my iphone 4

    If you don't have your iPhone anymore, you can't access the data on it remotely.
    However, if you are syncing to iCloud, you can set up iCloud syncing on your computer and at least get your contact info.
    iCloud: Set up iCloud on your devices
    You might also think about putting your device in lost mode or erasing it:
    What steps should I take if I misplace my device?
    If you ever misplace your device—whether it’s just lost or you think it may have been stolen—you should put it into Lost Mode immediately using Find My iPhone.
    Lost Mode locks your screen with a four-digit passcode and lets you display a custom message with your phone number to help you get it back. You can also remotely erase your device if needed, and your custom message will continue to display even after the device is erased.
    While Activation Lock works in the background to make it more difficult for someone to use or sell your missing device, Lost Mode clearly indicates to anyone who finds your device that it still belongs to you and can’t be reactivated without your password.
    To put a device into Lost Mode, sign in to icloud.com/find from a Mac or PC or use the Find My iPhone iOS app.
    For more information, read what to do if your device is lost or stolen.
    copied from Find My iPhone Activation Lock

Maybe you are looking for

  • CRM Billing: document flow.

    Hello, everyone! Did anyone face the problem like this, when I create a follow-up bill doc. from service confirmation then I get surprisingly situation. In doc flow tab of billing document I can see the preceding document Service Confirmation, but in

  • Is it possible to place a native button in popup messages?

    Hi Experts,                    I have a requirement of sending the control back to driver application for my ADLC form after user has entered a sting of more than 105 characters in a text field. Since certain complex processing needs to be done and j

  • Using my first generation Ipad as an Ereader

    I was recently given a first generation ipad to use as an ereader. I have been trying to download apps so that I can read epubs and pdfs on the ipad but nothing seems to be working. It keeps saying that I need to update my iOS but the one that I on t

  • Function to decide whether user is a developer

    Hi, I remember there should be a function that simply returns a TRUE/FALSE value based on whether the user is a developer or an end-user. I thought I would find that in the basic guides but I haven't found anything and I can't just remember it. Could

  • Phone wont turn on and brings up an error of flash drive needs to be accessed and keepout, what can i do??

    phone wont turn on and brings up an error of flash drive needs to be accessed and keepout, what can i do??