Determinin​g how a LabVIEW Applicatio​n was launched

Does anyone know of a way to programmatically determine how to a particular LabVIEW application was started? My setup will involve multiple LabVIEW executables. One of these is the main, top level, program. The others are basically script libraries that are also compiled into executables. I choose EXE's as opposed to DLL's because with DLL's you have to basically hard code the link inside the main program. With EXE's I can add/remove new test libraries without having to rebuild my main program. The only problem is that the test library EXE's will not really work properly if run without the main program. So I would like to find a way to have the test library try to determine if it was launched by th
e main program. If it wasn't then it will display a warning and quit automatically.
Andy Brown
Averna

Thanks for the help. The only problem is that the secondary programs do not only require the main app running, but they require the main app to start them so that it can properly register each secondary exe. A workable solution that I have come up with is to check the command line arguements. I will have the main app run the exe's and provide a certain command line arguement. The secondary exe's will check the command line arguments to verify that that particular argument is there. Probably not the best solution, but the only one I've found that works so far.
Thanks again.
Andy Brown
Averna

Similar Messages

  • How does labview create a hyperlink in a web page?

    Hi
    I was wondering, how does labview create a hyperlink in a web page?
    Thank you.

    Hi,
    What do you wish to do?
    The most primitive way is to generate a .HTML file.
    Type your HTML codes (Using string constant) and save it using "Write Chars To File.vi" using a filename with extension .html
    Hope I am addressing your question.
    Cheers!
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • How does labVIEW use ActiveX controls?

    How does labVIEW use activeX controls?
    I recently wrote an activeX control in VB and noticed that it would not work if the control was set so that its properties could not be set in ambient mode. This may suggest that labVIEW uses some activeX controls only in ambient mode.
    Is this the case or are there more complexities?

    Dan,
    Which version of LabVIEW do you have?
    As per the KnowledgeBase bellow, in versions of LabVIEW prior to 5.1 you would get errors accessing the ambient properties.
    ActiveX Controls in LabVIEW 5.0.1 Containers Cannot Access Ambient Property
    Do your controls use the Ambient.UserMode to determine when the control is being used in a development environment? When embedding ActiveX controls into a container on the front panel, by default, the ActiveX control generates and responds to events, i.e. it is running, even when LabVIEW is in edit mode.
    Right-click an ActiveX container and select Advanced»Design Mode from the shortcut menu to display the container
    in design mode while you edit the VI. In design mode, events are not generated and event procedures do not run. The default mode is run mode, where you interact with the object as a user would.
    Information can be found in the LabVIEW help files
    Zvezdana S.

  • Why is my macbook pro running slow.  It runs slow even if only one app is open, especially if it's a browser.  I don't know how to read Etrecheck, but was hoping someone who does can help me out.  Would be super grateful.  :-)

    Hi.  This is my first time posting.  My Macbook Pro with Os X Mavericks has been running super slow since before I installed Mavericks so I'm pretty sure it's not the OS that has the problem.  It runs slow even if only one app is open, especially if it's a browser, particulary google chrome.  If mail is open...forget about it, down to a crawl.  I don't know how to read Etrecheck, but was hoping someone who does can help me out.  Would be super grateful.  :-)
    P.S. - Also, it sounds like something is loose inside my mac.  How should I proceed?
    Thanks in advance.
    Hardware Information:
              MacBook Pro (13-inch, Late 2011)
              MacBook Pro - model: MacBookPro8,1
              1 2.8 GHz Intel Core i7 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 384 MB
    System Software:
              OS X 10.9.2 (13C1021) - Uptime: 0 days 23:21:37
    Disk Information:
              APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 749.3 GB (603.2 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Computer, Inc. IR Receiver
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Gatekeeper:
              Mac App Store and identified developers
    Kernel Extensions:
              [not loaded] com.leapfrog.driver.LfConnectDriver (1.8.0 - SDK 10.7) Support
              [not loaded] com.seagate.driver.PowSecDriverCore (5.0.1) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.0.1) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.0.1) Support
              [not loaded] com.seagate.driver.SeagateDriveIcons (5.0.1) Support
    Problem System Launch Daemons:
              [failed] com.apple.wdhelper.plist
    Problem System Launch Agents:
              [loaded] com.paragon.NTFS.auth.plist Support
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.google.keystone.daemon.plist Support
              [loaded] com.leapfrog.connect.shell.plist Support
              [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
              [loaded] com.microsoft.office.licensing.helper.plist Support
              [running] com.sophos.autoupdate.plist Support
              [running] com.sophos.intercheck.plist Support
              [running] com.sophos.notification.plist Support
    Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.google.keystone.agent.plist Support
              [running] com.seagate.SeagateStorageGauge.plist Support
              [running] com.sophos.uiserver.plist Support
              [running] org.chromium.chromoting.plist Support
    User Launch Agents:
              [loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [failed] com.adobe.ARM.[...].plist Support
              [loaded] com.facebook.videochat.[redacted].plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
    User Login Items:
              Activity Monitor
              Dropbox
              Google Drive
              younity
              EvernoteHelper
    Internet Plug-ins:
              o1dbrowserplugin: Version: 5.2.4.18058 Support
              nplastpass: Version: 2.5.5 Support
              Default Browser: Version: 537 - SDK 10.9
              AdobePDFViewerNPAPI: Version: 11.0.06 - SDK 10.6 Support
              FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
              Silverlight: Version: 5.1.20125.0 - SDK 10.6 Support
              Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
              QuickTime Plugin: Version: 7.7.3
              googletalkbrowserplugin: Version: 5.2.4.18058 Support
              SharePointBrowserPlugin: Version: 14.4.1 - SDK 10.6 Support
              AdobePDFViewer: Version: 11.0.06 - SDK 10.6 Support
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    Safari Extensions:
              Slick Savings: Version: 1.0
              Slick Savings: Version: 1.0
              Surfon: Version: 1.2.2
              Pearltrees Extension: Version: 6.0.13
              Mindomo Bookmarks: Version: 1.0
              Ebay Shopping Assistant: Version: 1.1
              Zootool: Version: 0.7
              Amazon Shopping Assistant: Version: 1.1
              Pocket: Version: 1.7.1
              Searchme: Version: 1.3
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User iTunes Plug-ins:
              TuneUp Visualizer: Version: 2.4.0 - SDK 10.6 Support
    User Internet Plug-ins:
              Picasa: Version: 1.0 - SDK 10.4 Support
    3rd Party Preference Panes:
              remoting_host_prefpane  Support
              Flash Player  Support
              Paragon NTFS for Mac ® OS X  Support
    Time Machine:
              Mobile backups: ON
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 697.84 GB Disk used: 136.06 GB
              Destinations:
                        NO NAME [Local] (Last used)
                        Total size: 3.41 GB
                        Total number of backups: (null)
                        Size of backup disk: Too small
                                  Backup size 3.41 GB < (Disk used 136.06 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   6%          Activity Monitor
                   5%          WindowServer
                   1%          InterCheck
                   1%          sysmond
                   0%          ocspd
    Top Processes by Memory:
              152 MB          Finder
              115 MB          HelpViewer
              111 MB          mds_stores
              86 MB          InterCheck
              57 MB          WindowServer
    Virtual Memory Information:
              983 MB          Free RAM
              1.03 GB          Active RAM
              584 MB          Inactive RAM
              1.01 GB          Wired RAM
              17.41 GB          Page-ins
              222 MB          Page-outs

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • I had an apple ID which I used for iCloud.  I upgraded the iCloud account and changed the apple ID to a @me address. Now I can't view what was in my original apple ID account.  How can I get what was stored on the original account?

    I had an Apple ID which I used for iCloud.  I upgraded the iCloud account and changed the apple ID to a @me address. Now I can't view what was in my original apple ID account.  How can I get what was stored on the original account?

    cathorio wrote:
    I recently changed my lap top. My problem is the new lap top won't accept my apple I D it asked me to sing up for a new one which I did.
    I am puzzled by this. The laptop doesn't need the Apple ID - but iTunes does. I could be missing something but ....
    Why would you not be able to use your existing Apple ID and iTunes account on a new laptop? If you authorized the computer - you should be able to use your existing account - unless you already had 5 computers authorized with the existing ID - and that was why iTunes would not accept the ID. However, I'm sure that you would have received a popup message from iTunes telling you that you had reached the limit.
    I just received a new MBP and my daughter did as well. My entire family shares an Apple ID and we had no issues at all with my Apple ID and iTunes on our new computers and I did not have to sign up for a new account. Did you even try the old ID?

  • If i deleted my history, is there a way you can still tell me how many times a site was visited from my MacBook?

    My history has been wiped out. I would like to know if there is a way i can see how many times a site was previously visited using my MacBook. Pelase advise. Thansk!

    no, i deleted the addresses from my history but was able to pull them up from the cookies. i want to know if i can view how many times the site was viewed ever after it has been deleted out of my history..
    thanks!

  • When I close the CHM how do I get the application it was launched from to regain focus?

    I am developing a CHM for an application that runs on
    Windows. When I launch the Help (CHM) from the application, then
    close the Help, I want the application that I launched the Help
    from to regain focus. (I would expect this is what most people
    would want to happen, and this is what happens with Microsoft
    generated Help files.) However with my RoboHelp CHMs this does not
    happen.
    Does anyone know how I can fix this behaviour? Is there a
    setting in RoboHelp that I need to change?
    My R&D application developer has spoken with Microsoft
    and they suggested the problem was with my RoboHelp CHM, they
    suggested trying the following process with one of their CHMs and
    then with one that I created using RoboHelp, and they are correct
    in that my RoboHelp CHM is behaving differently. Here's the
    procedure if you'd like to try it:
    - Open a Windows Explorer window.
    - Navigate to the c:\WINDOWS\Help folder (or equivalent on
    your PC).
    - Double-click on the iexplore.chm file. Note that the help
    file opens up in a viewer window.
    - Dismiss the viewer by clicking on the close button (X).
    - Note that focus is returned to the Windows Explorer window.
    Repeat the above experiment, but navigate to where you have a
    RoboHelp CHM file. I find that when I dismiss the help viewer
    window, focus is NOT returned to the Windows Explorer window. Do
    you see the same thing with your RoboHelp CHMs? If not, what have
    you set to cause the application that it was launched from to
    regain focus?
    I really appreciate any help you can give me in resolving
    this issue.
    Best Regards, Sharon

    Hi Sharon
    Hmmm, where exactly *IS* the focus in your tests after
    closing the RoboHelp generated .CHM file? I just tested and saw the
    same behavior regardless of whether it was a Microsoft .CHM or a
    RoboHelp HTML created .CHM. Each time, the focus was returned to
    Windows Explorer.
    I do know that the manner in which your developers open a
    .CHM can vary. For example, your developer can specify that a
    particular tab have focus, such as the Index or TOC, while simply
    double-clicking will result in the last opened tab being the active
    tab.
    Wish I had more to offer here, but I'm not seeing the same
    behavior as you are. I do know there are some extended settings for
    your window, but I'm doubtful that's the answer here.
    Also, I'm not too sure how much stock I'd put in something a
    Microsoft call center stated. Just the nature of call centers. Some
    folks that staff them are good and skilled, some are a bit, shall
    we say, lacking. This is truly "Luck of the draw".
    Sincerely... Rick

  • Find out how many times the application was touched by a particular user

    Hello,
    can anyone please help me out with this issue.
    I want to find out how many times the application was accessed by a particular user,their session IDs for each of the applications in a particular workspace. I am using a role based authorization scheme for my application. I am using Oracle APEX 3.2 version. Are their any underlying APEX tables/Views to find out the above details.
    thanks,
    Orton

    Hi,
    Have you check views APEX_WORKSPACE_ACCESS_LOG and APEX_WORKSPACE_ACTIVITY_LOG
    Regards,
    Jari
    Edited by: jarola on Oct 20, 2010 7:37 AM
    This might help also
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/advnc.htm#CHDDHGJI

  • How does Labview support redundancy?

    I have a control system and Labview will act as the means of control/monitoring. However, I want to have a primary and secondary computer with duplicate system setups. How does Labview support this type of redundancy such that if the primary goes down, the secondary will take control seamlessly.

    Hi,
    LabVIEW has many capabilities that can be combined to create a very robust redundant system. Some of these features include the following:
    Archiving databases periodically
    Monitoring a process on a remote machine
    Executing an application on the backup when the primary has failed
    The most straight forward method of implementing the monitoing is to use discrete memory tags to create a heartbeat. When the heartbeat on the Primary machine has stopped, the backup should take over and begin execution.
    If you have specific questions about how to implement this, feel free to call support by going to www.ni.com/ask.
    Regards,
    Mike

  • Determinng how many times an index was used

    DB Version:10gR2
    Is there a way i could determine how many times an index was used? i couldn't find any related columns in user_indexes.

    I don't think you can count how many times it's been used. However, you can check whether the index is used or not over a given period by looking at v$object_usage view.
    However, you do have to monitor the index usage by issuing
    alter index index_name monitoring usage;
    However, there is a problem with this view in that the username is always the user who set monitoring on the index.
    Solution from metalink is:
    select
    io.name, t.name,
    decode(bitand(i.flags, 65536), 0, 'NO', 'YES'),
    decode(bitand(ou.flags, 1), 0, 'NO', 'YES'),
    u.start_monitoring,
    ou.end_monitoring
    from
    sys.obj$ io,
    sys.obj$ t,
    sys.ind$ i,
    sys.object_usage ou
    where
    io.owner# = userenv('SCHEMAID')
    and
    i.obj# = ou.obj#
    and
    io.obj# = ou.obj#
    and
    t.obj# = i.bo#;

  • How to find out when was local administrators group changed

    Hi
    Is there any way how to find out when was user added to local administrators group on server(2003 to 2012) ?

    Hi,
    If you have auditing enabled for "Audit account management" and your security logs are not overwritten then you can look for a 4732 or 636 (Windows 2003) event ids.
    https://technet.microsoft.com/en-us/library/cc737542(v=ws.10).aspx
    https://technet.microsoft.com/en-us/library/dd772663(v=ws.10).aspx
    Hope it helps.
    Regards,
    Calin

  • Hi..I really don't understand how can labview can be a server, can you explain and give me some examples with steps on how to make the labview as a server? Please......

    nn
    Solved!
    Go to Solution.

    erm ok i will explain...
    actually..i know that labview can be a client or server. when the labview be a client, it can access other enable activeX application such as excel or word. i manage to do that a little such as to open excel file and save it at another location by using activeX functions or using the report generation toolkit. yes, i already know and understand the flow or concept of how the labview can be a client. But by using others activeX application especially excel, how can we make the labview be a server? i just need a very easy example and few steps for me to understand how can labview be a server or how excel can control the labview properties?
    really desperate to increase new knowledge.....:-)
    thank you very much for helping me....

  • How many LabVIEW licenses out there?

    This Q isn't of a technical nature; but I'm searching for reasons for my superiors to support my effort in creating a LV solution for our device. The bean counters need to count their (potential) beans.
    Does anybody have a ballpark idea about how many LabView licenses are out there? I realize this is a big number, but what order of magnitude?
    I realize that universities are big users.. would you say that MOST schools use LV in some capacity?
    In industry: What industries?
    If you can help me with this, then I can go back to being a software weenie and take off this ill-fitted marketing hat. Then I'll start pelting you with tech Qs.
    Thanks-
    Suz.

    LabVIEW is everywhere!
    I am not sure if the total number of LabVIEW developers is public information, a better number would probably be the market share in test/measurement/instrument control, etc. software. Another number would be the count of deployed system with LabVIEW under the hood or used in development. This is probably also rapidly growing, especially counting FPGA and embedded systems.
    Have a look at figures 1&2 from this article. It shows LabVIEW way ahead at 32% long ago (Q1 2004). There are probably newer numbers available somewhere.
    Just wait a few years until all the particiants of FIRST enter the job market and things will really start rolling exponentially.
    Message Edited by altenbach on 01-28-2009 12:26 PM
    LabVIEW Champion . Do more with less code and in less time .

  • How to find when index was created in the database.

    Hi,
    Please help me, how to find when index was created in the database. It should give with date and time.
    Thanks... Bakser

    Please help me, how to find when index was created in the database. It should give with date and time.DBA_/ALL/User_objects Created
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(128)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                           DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    select OBJECT_NAME,TIMESTAMP,CREATED  from ALL_OBJECTS where OWNER='OWNERNAME' AND OBJECT_NAME='OBJECT_NAME' AND OBJECT_TYPE='INDEX';Edited by: Anantha on Apr 21, 2009 3:18 PM
    Edited by: Anantha on Apr 21, 2009 3:19 PM

  • I forgot my Security Question and Security Info email. How can I reset my Secret Question or how can I find what was my Security Info email is?

    I forgot my Security Question and Security Info email. How can I reset my Secret Question or how can I find what was my Security Info email is?

    You won't be able to view and/or change your rescue email address until you can answer your security question(s). If you only have one security question then you should be able to reset it according to http://support.apple.com/kb/HT6170 :
    Reset your security questions
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Select “Password and Security” on the left side of the page.
    If you have only one security question, you can change the question and answer now.
    If you have more than one security question:
    Select “Send reset security info email to [your rescue email address].” If you don't see this link or don't have access to your rescue address, contact Apple Support as described in the next section.
    Your rescue address will receive a reset email from Apple. Follow its instructions to reset your security questions and set up new questions and answers. Didn't receive the email ?
    After resetting your security questions, consider turning on two-step verification. With two-step verification, you don't need security questions to secure your account or verify your identity.
    If you have more than one question then as you can't remember your rescue email address then you will need to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps on this page to view and/or change your rescue email address for potential future use : http://support.apple.com/kb/HT5620
    Or if it's available in your country you could change to 2-step verification : http://support.apple.com/kb/HT5570

Maybe you are looking for