How to tell if you are running an exe or vi

My searching skills suck today. 
I am building an exe using the application path to find certain files that need to be included.  It works great in the exe, but when making changes to the VI all the paths are broken because of the application path.  But I remember back a while someone had a way to tell if you were running the program as a VI or an exe.  Then when the program starts it can choose the correct paths to use.
Any ideas on how to do that?  Or is there a better way to run the program as a VI and an exe without breaking paths?
Thanks
Solved!
Go to Solution.

Drop a property node of the 'Application' class, select Application->Kind.  The output is an enum of Development vs. Runtime vs. Student vs. Embedded... you get the idea.
Best regards,
Dave
David Boyd
Sr. Test Engineer
Philips Respironics
Certified LabVIEW Developer

Similar Messages

  • Change Data Capture How to Tell which you are running Sync or Asyn

    Hi ,
    I am taking over a new system that has change data capture running, but Im really confused how this is running. Most of the CDC is set up using Sync(triggers), but I have about 5 tables that DO NOT have system generated triggers on them. I know Streams is NOT running/configured. I know Capture is not running/configured (because nothing in DBA_CAPTURE table). I can tell that these 5 tables are still getting updated in the change table schema. I can not figure out how the 5 tables that DO NOT have triggers on them are updating the change data set tables.
    I had thought the the 5 tables, must be configured with HOTLOG, but when I look at the CHANGE_SETS table they all (including these 5 tables) are set to CHANGE SOURCE NAME = SYNC SOUCE. I would expected that to be HOTLOG_SOURCE. So I "assume" they aren't set up using Asnc. hot log mode. So maybe the other Async modes are used, but not pushed to another database? Is that possible?
    Any other ideas on how to figure out how the CDC is set up for these 5 tables?
    thanks for your help.

    Thanks for the reply, but I think I must have not stated the problem clearly. I dont WANT to set the source I want to figure out how this CDC is working. I see ALL the sources are currently set to SYNC_SOURCE. Almost all of the tables are set up with system triggers on them, but 5 dont have system triggers, yet the source says SYNC_SOURCE. I did validate that the change tables are getting updated for these tables. my question is how are they getting updated? I "assume" since they dont have system triggers ont eh table they aren't synchoronus cdc (like the other tables are). yet the source says SYNC_SOURCE. What am I missing? How can I tell if the redo log is populating those changes tables? Im pretty sure it is (Becuase there aren't triggers or jobs running), but Im curious if there is a way to tell for sure.
    Thanks,

  • How to Check if you are running Lync Server Evaluation or Licensed Version

    I was not sure if our Lync environment was running Evaluation Version of the Lync Front End server or the Volume Licensed Version. I was looking to migrate from PoC to production so I had to make sure that the services didn’t stop in the middle of production.
    A simple cmdlet to verify this: Get-CsServerVersion
    1. When run it will attempt to
    2. Read the registry value HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Real-Time Communications\{A593FD00-64F1-4288-A6F4-E699ED9DCA35}\Type
    3. Based on that registry value, the cmdlet will then report back the version number of the software and the Lync Server licensing information the local computer and report back one of the following:
    o That the Lync Server volume license key has been installed on the computer, meaning that no updating is necessary.
    o That the Lync Server evaluation license key has been installed, meaning that the computer must be updated.
    o That no volume license key is required on the computer. Updating from the evaluation version to the licensed version is only required on Front End Servers, Directors, and Edge Servers.
    What if Evaluation Version is installed and you have to upgrade to Licensed Version?
    1. Log on to the computer as a local administrator
    2. Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.
    3. In the Lync Server Management Shell, type the following command and then press ENTER:
    o msiexec.exe /fvomus server.msi EVALTOFULL=1 /qb
    o Note that you might need to specify the full path to the file server.msi. This file can be found in the Setup folder of the Lync Server Volume media installation files.
    4. After Setup finishes running, type the following from the command prompt and then press ENTER:
    o Enable-CsComputer
    o Repeat this procedure on any other Front End Server, Director, or Edge Server running an evaluation copy of Lync Server
    o This procedure should also be performed on any Branch Office Servers that were deployed by using the Lync Server media installation files
    Using Get-CsServerVersion will also show you
    1. What Version Number you are running
    2. What patches has been installed

    Hi,
    I couldn't find direct way of saying whether node manager is running or not but here is the work around. Using WLST when you say "startNodeManager", if the node manager is running this command throw an output saying "node manager is already running". Let me know if this solution works for you, if it works then I can give you java program for this if required or you can use "WLST JAVA Mode".
    Thanks.
    Vijay Bheemineni.

  • How to tell what apps are "running" in multitasking pane?

    My understanding of how the ipad works is that when one presses the home button, the open app closes. However, when multitasking using the bar, how does one determine which apps are actively running versus which apps are simply displayed as part of the recently used apps list? I often have multiple safari windows plus a few apps open at one time. (I know I can view the safari windows by hitting the "windows" icon on the menu bar.
    I'd like to be able to conserve battery life by killing background apps when necessary. But there is no "task pane" to see what's open at any given time.
    Any help appreciated,
    Message was edited by: keyboardoperator

    JimHdk wrote:
    No, when one presses the home button the open app does not necessarily close if it is capable of multitasking (for example Pandors radio).
    The recent apps bar is really for selecting among recent apps. That is to say it is a way to switch between apps without having to go to the app screens to find the app.
    Note only a subset of apps are actually capable of multitasking and these are rather obvious when they are running. There is an indicator to the left of the battery level indicator which indicates this (>).
    Let me give an example. I just opened an app called My First Puzzle Toys. From the app home screen there is no close or exit option. With the app open, if I touch the home button on the bottom of the bezel, does this close it? Or is it still running? Similarly, if I double click the home button and choose Safari from the list, are both then running? Another example: I just double clicked the home button and launched Labryinth. The game's home screen has no exit choice. If I double click the home button and choose Safari, is Labrynith still running?
    Maybe I just don't understand how this os works. Do apps not use memory if they are not actively shown on the screen?
    Message was edited by: JimHdk
    JimHdk wrote:
    No, when one presses the home button the open app does not necessarily close if it is capable of multitasking (for example Pandors radio).
    The recent apps bar is really for selecting among recent apps. That is to say it is a way to switch between apps without having to go to the app screens to find the app.
    Note only a subset of apps are actually capable of multitasking and these are rather obvious when they are running. There is an indicator to the left of the battery level indicator which indicates this (>).
    Message was edited by: JimHdk

  • How do tell if you are on wired vs wifi

    Hi, I have a mac mini 2010. I have it wired into an Airport extreme and I also have the  WiFi on. How do you know for sure if you are using one vs the other? Meaning, I'd like to get the speed from the direct connection when browing the web at my desk. Should I turn off the Wifi?
    Thanks.

    Turning off the Wi-Fi on your computer will insure that the Ethernet connection is active.
    Unless you have changed some settings on your Mac, if both Ethernet and Wi-Fi are "on", the Mac will automatically default to the Ethernet connection over wireless.
    To see if your Mac is setup to do this.....
    Open System Preferences (gear icon on the dock)
    Open Network
    Click the small gear icon at the bottom of the connection list
    Select Set Service Order
    If Ethernet is at the top of the connection order list, then your Mac will default to Ethernet whenever you connect an Ethernet cable to it....even if the wireless is on at the time.
    Still, it makes sense to turn off the wireless on the Mac if you don't need it.

  • How to tell if you are buying Nano with slip case... I think...

    So I bought a 2GB black Nano at Best Buy on Saturday, and the center button acted funny, so I returned it about 2 hours ago. They had no more in stock, so I got my refund and went to Circuit City. They had tons in stock. But this is what I noticed: on both the front and back of the NEW Nano box there is a silver Apple logo in the upper right corner. There were NO silver apples on the box I got from Best Buy. And even the clerk at CC knew what he was doing because he pulled it out from behind 2 Nano boxes with no apples.
    So when I opened the box, I saw my SLIP CASE! I have an iSee Nano on order, but this will do in the meantime.
    I hope this helps you all!!!!!
    Ken

    Well it is hard if you are ordering it online like I did (but I ordered it online way before the slip cases anyways).
    And until you get you iSee nano case, DO NOT REMOVE THE THIN PLASTIC COVER THAT COMES ON THE FRONT OF THE NANO. Even if you do have the slip case.

  • When I click 'Download' on Phototshop it will tell me "You are running an operating system that Photoshop no longer supports. Refer to the system requirements for a full list of supported platforms." and I already paid for it!

     

    Which Operating System you are using ?
    You can also check the system requirements on below link
    System requirements | Creative Cloud

  • How to tell if you are buying a full version or upgrade

    buying adobe premiere pro cs3 - how can you tell from the numbers on the packaging if it is a full version (commercial) or educational or just an upgrade, I was on hold for nearly 2 hours with adobe customer service and nobody picked up.
    cheers

    Are you buying from the Adobe Store? The package WILL state whether it's the full, an upgrade (see Phil's comment), or the eductional version.
    Are you buying from a certified reseller? The package SHOULD give the full details.
    Are you buying from eBay? Who knows what you'll get, or whether it will work?
    Are you buying from an individual? Other than asking them, and trusting them, I'm not sure that there's a way to tell. Maybe a certain UPC on a clean shrink-wrapped box could yield a clue.
    Note: if you need a key-gen, or similar, for the installation key and for a S/N, it will certainly be bogus. I realize that you know this, but I felt that I had to include it for any others.
    Good luck,
    Hunt

  • How to tell if you are buying a 5th or 5.5gen iPod.

    I'm looking to buy a new iPod, upgrading from my trusty 3rd gen. I want to buy a 30gb model but is there anyway I can tell between the new ones and the old ones? The only store near me is known for selling outdated products so I want to be sure.
    Thanks

    I am really glad that someone asked this question. I have just been given my Christmas prezzie early, and I was slightly worried that it might not be the 5.5 or Sept 2006 version.
    Anyway, I have a very cheeky picture of Mr Depp on the box complete with the tricorn hat, and my serial number ends in V9P!
    (My main concern was the extra resolution for the movies which as doubled i believe from the first version).
    Thanks

  • How to tell if you are saturating g5 bus

    Hi,
    I went ahead and hooked up an OWC Enterprise RE SSD 50 gb drive on the board controller. I am still hoping the Delock Sata2 adapter will work but I thought i would try it with out to compare, After instal I xbenched it, and got a combined score of 152.53. Although It seems as if I remember xbench getting some criticism for its accuracy I will post the report anyway. Does this show the sata1 bus being saturated by the SSD or is this not the correct way to test for it.

    Ya, I was just B**ch7678. I just needed a big drive to park info on so i could re-initialize on of the 2 tb drives that went into the following RAID 1 numbers of my 2320.
    Here are the numbers:
    Results 114.36
    System Info
    Xbench Version 1.3
    System Version 10.5.8 (9L31a)
    Physical RAM 12288 MB
    Model PowerMac11,2
    Processor PowerPC G5x4 @ 2.50 GHz
    L1 Cache 64K (instruction), 32K (data)
    L2 Cache 1024K @ 2.50 GHz
    Bus Frequency 1 GHz
    Drive Type HPT DISK 1_0
    CPU Test 150.40
    GCD Loop 114.56 6.04 Mops/sec
    Floating Point Basic 167.56 3.98 Gflop/sec
    AltiVec Basic 329.42 13.13 Gflop/sec
    vecLib FFT 127.92 4.22 Gflop/sec
    Floating Point Library 129.97 22.63 Mops/sec
    Thread Test 214.66
    Computation 259.53 5.26 Mops/sec, 4 threads
    Lock Contention 183.02 7.87 Mlocks/sec, 4 threads
    Memory Test 159.90
    System 167.87
    Allocate 233.98 859.24 Kalloc/sec
    Fill 238.67 11604.71 MB/sec
    Copy 106.30 2195.67 MB/sec
    Stream 152.64
    Copy 150.05 3099.29 MB/sec [G5]
    Scale 148.01 3057.84 MB/sec [G5]
    Add 154.55 3292.18 MB/sec [G5]
    Triad 158.38 3388.14 MB/sec [G5]
    Quartz Graphics Test 175.72
    Line 137.63 9.16 Klines/sec [50% alpha]
    Rectangle 171.84 51.30 Krects/sec [50% alpha]
    Circle 157.76 12.86 Kcircles/sec [50% alpha]
    Bezier 149.77 3.78 Kbeziers/sec [50% alpha]
    Text 424.90 26.58 Kchars/sec
    OpenGL Graphics Test 103.90
    Spinning Squares 103.90 131.81 frames/sec
    User Interface Test 155.62
    Elements 155.62 714.22 refresh/sec
    Disk Test 45.64
    Sequential 123.53
    Uncached Write 122.19 75.02 MB/sec [4K blocks]
    Uncached Write 175.98 99.57 MB/sec [256K blocks]
    Uncached Read 69.20 20.25 MB/sec [4K blocks]
    Uncached Read 246.06 123.67 MB/sec [256K blocks]
    Random 27.99
    Uncached Write 8.70 0.92 MB/sec [4K blocks]
    Uncached Write 65.66 21.02 MB/sec [256K blocks]
    Uncached Read 128.51 0.91 MB/sec [4K blocks]
    Uncached Read 200.07 37.12 MB/sec [256K blocks]
    So sorry, about the PC people poke as I have always(cough) gamed on a PC. Mac actually, after all, first went usb on imac g3's and dumped the floppy drive.

  • How do you tell whether you are on an iPad or an iPhone?

    HOw does one tell the hardware you are running on, iPhone vs. iPod Touch vs. iPad? and how does one do this in such a way that it won't break later on as later revisions of the iPhone etc are released. Does apple have a generic + specific hardware coding system? Remember the old Carbon Gestalt() calls?

    Suggest using the confidential forums that are currently in place for iPad questions, etc.
    https://devforums.apple.com/community/iphone
    As well, if you feel comfortable working with beta software, take a look at the latest release and the associated docs in the Dev Center.

  • I just got an IPAD2 on Saturday.  With the Mac, I could always tell when programs were open/running by going to the menu bar.  How can I tell what programs are running in the background.  I am struggling with not being able to go to a menu bar at the top

    I just got an IPAD2 on Saturday.  With the Mac, I could always tell when programs were open/running by going to the menu bar.  How can I tell what programs are running in the background.  I am struggling with not being able to go to a menu bar at the top

    You can see which apps are open and/or recently used by double-clicking the home button to bring up the taskbar at the bottom of the screen (not all apps that appear there are active) - you can then close apps on it by pressing and holding one of them for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar. If you have an app 'open' on-screen then it won't appear on the taskbar, you will need to go back to the homescreen first, and it should then show when you next open the taskbar.
    If you haven't already got a copy then you can download the iPad manual from here : http://support.apple.com/manuals/#ipad

  • How can I tell if programs are running in the background.

    iPod touch version 4.2.1, how can I tell if programs are running in the background.  Battery is dead quickly and time/date reverts to Dec 31, 1969.  can see thin silver frame around screen like something is running in background.

    You really can't tell unless you hear music or similar. Many are always listening for notifications and other things.
    To preserve battery life see the following:
    Apple - Batteries - iPod
    I leave mine in airplane mode when sleeping.

  • I'm running Mac OS X version 10.6.8 How come I get this error message "You are running an operating system that Photoshop no longer supports. Refer to the system requirements for a full list of supported platforms." When I Try to download a FREE trail?

    I'm running Mac OS X version 10.6.8 How come I get this error message "You are running an operating system that Photoshop no longer supports. Refer to the system requirements for a full list of supported platforms." When I Try to download a FREE trail?

    Hi Brizill,
    Please refer to the help document below to understand the technical specifications for the same:
    System requirements | Photoshop
    Regards,
    Sheena

  • Safari browser version you are running does not support community tool bar. what's that mean and where is it coming from or how do I get rid of it ?

    I keep getting the message "Safari browser version you are useing does not support community tool bar." Where is this coming from and how do I get rid of it ?

    That toolbar/ct plugin causes problems for all who install it!
    Close Safari, then locate and delete the following files and it should be gone:
    /Library/Application Support/Conduit
    /Library/InputManagers/CTLoader
    /Library/Receipts/ctloader.pkg
    /Library/Receipts/<Toolbar name>.pkg
    /Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    /Users/<User name>/Library/Application Support/Conduit
    where / is the root library on your Hard Disk.
    If you are running Snow Leopard you should also look here:
    Library/launchAgents/com.conduit.loader.agent.plist
    Library/Application support/conduit plugins
    Note: Safari does not support any third-party toolbars except those supplied as an extension to Safari via the Extension Gallery.

Maybe you are looking for

  • MS Word email attachments do not open on my E6

    When I receive a MS Word attachment via email and try to open it, I get a "Unable to open. Attachment file not supported" message. When I use QuickOffice and access my Dropbox, I can open any document and make edits. Does anyone have an idea what cou

  • No Easy Way to Join on Tables from Different Schemas

    Hi, The company policy does not allow to join on tables from different schemas or use db links... I'm tasked to come up with a Perl script that does exactly that - allows for the SELECT statement to do several joins on 3 different schemas. In additio

  • Sound has static when dongle is connected.

    Whenever I connect my dongle the sound contains a lot of static and sometimes even videos slow down. This problem persists even when I wear a headset. I am unable to watch any videos online. However when I remove my dongle the sound becomes normal an

  • First page prints higher than others

    I'm modifying a check RTF template for EBIS R12 that was given to me and I've been able to get everything working except for one thing - the first page of output prints one line higher than all the rest. Has anyone ever experienced this before? I'm q

  • How to create custom class for Swing compnents

    import java.awt.Color; import java.awt.Font; import javax.swing.JLabel; import javax.swing.*; public class SampleJFrame extends JFrame {     public static void main(String[] args) {         SampleJFrame frame      =      new SampleJFrame();         J