How can I design my LabVIEW app to behave differently based on installed components?

Howdy all,
I've got a program that is complete, and offers some basic service. Advanced users will have the option of additional functionality. When users decide to use this program, they decide what capabilities they want - whether it provides just the base functionality, or if it has the advanced functionalities. The additional functionality relies on the installation of an additional LabVIEW component. In this case, the base package requires simply the LabVIEW(7) runtime engine. However the additional functionalities are vision related and require the installation of the IMAQ Vision 7 Development Module. I would like my program to detect the installation of the vision module
on the user's computer, and give the user access to these vision functions ONLY if the vision pack is installed. (ie, I don't want to have two versions of the program - the user only installs one complete version, but some components will be hidden if they don't have the vision module)
Currently, this program checks the Window's system32 directory for the presence of the imaq.dll and the nivision.dll. Right now, this system *sort of* works on most computers, but if the user has their windows installed in a non-standard windows directory (say they installed windows to "windoze" or something other than the standards like "Windows" and "Winnt")
Does anyone know of a way to programmatically detect the installation of the Vision module? What I'm doing right now would work in 95% of the cases (I think) if I could nail down the root windows directory (which I'm pretty sure is stored in the registry for all Windows versions, but the name of the key depends on the version of windows, a
nd I would rather not go down that road)
Any help, stories about similar situations, etc., would be appreciated.

Vitrick and Andre -
Even better might be to use one of the Windows API calls
"GetSystemDirectory" or "GetWindowsDirectory" located in the KERNEL32.DLL.
See MSDN for documentation of the calls.
Regards,
James
"andre@carya" wrote in message
news:4059b191@newsgroups....
> Hello Vitrick,
>
> With just a quick look at your problem I think you are looking for the
> windows system variables found in the "My computer>settings>enviromental
> variables", mine is called windir. Sometimes It's called %WINDOWS% I
think.
>
> I don't know exactly how to implement these variables.
>
> Greetz,
>
> Andr�
> "Victrick" schreef in bericht
> news:[email protected]...
> > Howdy all,
> >
> > I've got a program that is complete, and offers some basic service.
> > Advanced users will have the option of additional functionality. When
> > users decide to use this program, they decide what capabilities they
> > want - whether it provides just the base functionality, or if it has
> > the advanced functionalities. The additional functionality relies on
> > the installation of an additional LabVIEW component. In this case,
> > the base package requires simply the LabVIEW(7) runtime engine.
> > However the additional functionalities are vision related and require
> > the installation of the IMAQ Vision 7 Development Module. I would
> > like my program to detect the installation of the vision module on the
> > user's computer, and give the user access to these vision functions
> > ONLY if the vision pack is installed. (ie, I don't want to have two
> > versions of the program - the user only installs one complete version,
> > but some components will be hidden if they don't have the vision
> > module)
> >
> > Currently, this program checks the Window's system32 directory for the
> > presence of the imaq.dll and the nivision.dll. Right now, this system
> > *sort of* works on most computers, but if the user has their windows
> > installed in a non-standard windows directory (say they installed
> > windows to "windoze" or something other than the standards like
> > "Windows" and "Winnt")
> >
> > Does anyone know of a way to programmatically detect the installation
> > of the Vision module? What I'm doing right now would work in 95% of
> > the cases (I think) if I could nail down the root windows directory
> > (which I'm pretty sure is stored in the registry for all Windows
> > versions, but the name of the key depends on the version of windows,
> > and I would rather not go down that road)
> >
> > Any help, stories about similar situations, etc., would be
> > appreciated.
>
>

Similar Messages

  • How can I build portable Labview apps?

    I need to take a older Labview VIs and port to customers without LabView on their Windows NT, 2000 and XP machines. The VIs are in LV 5.1.1. I need an explaination for pedestrians.

    You will need either LabVIEW with App Builder or the LabVIEW Professional Development System (which comes with App Builder).
    From the Tools menu in LabVIEW, choose 'Build Application or Shared Library...' to launch App Builder. You will be prompted to select the name and location of your EXE, along with which VIs you want to be included. Usually, you just add one VI which has been designed as a user interface, and App Builder will automatically include its subVIs. Click Build, and you've got an EXE.
    To use your newly created program on a PC without LabVIEW, you'll need the free LabVIEW runtime that goes with your version (avai
    lable at ni.com). App Builder allows you the option of making an installer that will automatically install this runtime for you.

  • How can I run a LabVIEW app as a service in 8.2

    I have need to run a LabVIEW created Executable as a Service using LabVIEW 8.2. I have heard 8.2 can host it but I cannot find any docs on this. Any help would be appreciated. SvcAny was not an option that worked.

    I would suggest trying to add the exe to the services under Control Panel >> Administrative Tools >> Services.  This should cause the exe to launch as a service.
    Brian R.
    District Sales Manager
    Washington DC
    National Instruments

  • How can i design a smart antenna using labview?? plzz

    i have my final year project. I am student of Beng in Telecommunications. How can i design a smart antenna using switched beam algorithm on lab view??

    You can hardly use LabVIEW to design antenna, but definitely can use LabVIEW for Characterization, Optimization, and Test your antenna design.
    Hope you got the point here.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • How can I design UI on Native SDK

    Hello,
    Does anybody know how can I design UI on Native SDK? Basically, I just want to add a menu that
    contains some option such as change colors, and then rest of the screen will display what I draw
    on the screen. If someone knows, I will really appreciate that.

    You could subclass JDialog and write your own help dialog.
    The help dialog could be shown several ways;
    - Create a help menu item if your program has menus
    - Create a help button to be more obvious
    - Create a pop up menu with a help option in it
    - If you have JLabels which describe any of your components, you could add a MouseListener to them to open the help when a user clicks the label.
    Obviously you'll want to make the dialog non modal as not to infuriate your users, and maybe set it always on top if your app uses most/all of the screen.

  • Updated to an iphone 4s from iphone 4. Did backup and sync but some apps have not been copied to the 4s although they do show up on the iphone4. How can I get my missing apps?

    Updated to an iphone 4s from iphone 4. Did backup and sync but some apps have not been copied to the 4s although they do show up on the iphone4. How can I get my missing apps?

    Download Past Purchases
    http://support.apple.com/kb/HT2519
    Log into iTunes using the account the Purchase was made with... Click on Buy... and a notice will come up saying you already have it... do you wish to download it again... Click Yes...

  • How can I open an Apple App account for downloading free apps?  I will not let me open a new account without a sim card.

    I just bought a used 1st Generation Apple iPad 64 GB, 3G. How can I open an Apple App account?  I am trying to download a free app and it says I have to have an account, however, everytime I try to set up a new account I can fill only fill out some of the information but then the screen goes black and I cannot proceed with the account.  At one point it said "no sim card" and I am not sure where one would go if I had one.  Do you need a sim card to download free apps?  Why won't it let me set up an Apple Account?  Any suggestions?

    I can think of no reason at all why you need a sim card to creat an Apple ID. Try this first - reboot the iPad and reset the memory.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Afte the iPad starts up again, follow the directions in this support article - exactly - to creat the account without a credit card.
    http://support.apple.com/kb/HT2534
    IF ... You are signed into another Apple ID on the iPad you will have to sign out of that ID in order to create a new one. Settings>Store - you can sign out there.
    You MUST try to download a free app in order to start the process off correctly. If you were using an email address with another ID that you already created, you will have to have another email address to associate the new ID with.

  • How can I get the iBook app on my Mac to backup ePubs I created with Pages on my iPad? Only seems to want to work with purchased from the ibook store.

    How can I get the iBook app on my Mac to backup ePubs I created with Pages on my iPad? Only seems to want to work with purchased books from the ibook store. The problem is, once I create a document in Pages and turn it into an ePub to be opened in iBooks, I delete the document in Pages, because I don't need two copies taking up space on my iPad. Before Maverick, iTunes would backup everything in my iBook app on my iPad. If something ever happened to my iPad, all of my created ePubs would be lost and I would be screwed. I suppose I could keep everything on Pages and go to iCloud and download my documents to my Mac, but that is a lot of steps. I may have to do that if there is no other way, but I am hoping someone will have the answer for me. Pretty disappointed in iBooks app for Mac at this point.

    iBooks only syncs purchased books. Others must be synced in iTunes.

  • I have two iPhones on my iTunes account. How can I find out what apps go to which phone?

    I have two iPhones on my iTunes account. How can I find out what apps go to which phone?

    I don't believe that there is a way to do that.  I would sugest using automatic downloads to keep your apps synced across both phones.  You might also want to note that just about any app you have ever download will be available for free download via icloud.
    Wish I could be more help.

  • How can I use the Gmail app on the Watch?

    I do not use the Mail app on any of my Apple devices.  How can I use the Gmail app on the Watch?

    Since Google has not added watch support to the gmail app, you don't. You should be able to get notifications, but at this time, there is no gmail app for the watch.

  • How can I use my eprint app on my iPad ?

    How can I use my eprint app on my iPad ?

    Hello Bulbuljan,
    If you want to use an app to print to your printer on your iPad you need to make sure you have downloaded the HP ePrint home & biz app. There are numerous ePrint apps available, but this is the best one for printing to an HP printer that is ePrint enabled.
    Here is more information about the App and how to use it:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01923321&cc=us&dlc=en&lc=en#N824
    Hope this helps.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • I have two cell phone, different numbers.  Each has their own apple id.  How can i merge them so apps on one show on the other but keep their emails addresses separate on their own phone?

    Have two cell phones, different numbers.  Each has their own apple id.  How can I merge them so apps purchased on one phone show on the other.  But.as each has their own email address, I want to keep these email addresses separate on their own phone?  Thanks.

    We do this in my family now.  We have one account for purchases, so it is used to share music and apps (I think that is in Settings/iTunes & App Stores).  Each iDevice has this configured.
    Then, each of us has our own iCloud account that is configured under Settings/iCloud.  That then allows us to have our own Mail/Contacts/Calendars/Reminders/Safari Bookmarks/Notes/Passbook/Photo Stream/Documents & Data/Find My iPhone/and Backup.  That Backup piece is pretty sweet and comes in handly if you replace your iDevice.  You can just restore from it.
    So we all share the Apple Store account but we all have our own iCloud accounts to keep the rest seperate or things like you mentioned are a nightmare.
    In answer to what iCloud does for you: http://www.apple.com/icloud/features/
    Think of it as an internet based ("cloud") area for all of those items listed in my response.  What you need to remember is photo stream only maintans the last 1000 pictures so don't count it as a complete backup solution for your pictures.  Even though I rarely sync with a computer these days, I do still try to sync my phone with iPhoto (I have an iMac) so that I have copies of all of my pictures.  1000 may not stretch as far as it sounds.
    Message was edited by: Michael Pardee

  • How can i move my purchased app from apple id in russia to ukrainean app store when i change country

    I had my apple id in Russia and had a lot of purchased apps there. Recently i had to change a country of my apple id to Ukraine. So i have a question how can i move my purchased apps to apple id in Ukraine?

    You have been mislead. Other users report that what you have been told by the Hack is not true. The apps will appear to have disappeared, but if you try to update an app at first the MAS will appear to be selling you the app, but if you continue, as if to buy the app, the MAS will realize that you previously purchased the app and download it for free. You can test this for yourself using a free or inexpensive app.

  • 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.

  • How can I re-set the App Store so the Updates will again appear under the Updates tab?

    Hi,
    I am running a Macbook Pro (retina). Lately when I launch App Store and click on Updates the software updates for the software on the Macbook do not show up under the Updates tab. However, when I go to the Purchased tab I see there Update buttons next to programs that have updates ready to download.
    How can I re-set the App Store so the Updates will again appear under the Updates tab?
    Many Thanks,
    David

    Wanna know this too

Maybe you are looking for

  • F110 performance issue

    Hi guys, We have been using F110 for a very long time. From the past few weeks, the speed performance of the program has become very slow. No enhancements were made or no changes were made. Can anyone help to me to fix this and make it work at a fast

  • Business Connector to XI

    Hi, I have tried to find some documents on replacing XI with BC. I found one document, how-to migrate sap bc scenarios to sap xi. I am little bit confused with that doc. It says URL, I dont see any URL there to import. If anybody worked on replacing

  • Infamous question mark images, Pics attached to post

    Hey guys, first off, thanks for any suggestions in advance. Here's my problem. As of late I seem to be having problems rendering pages in Safari. First, here are a few screenshots so you can get a general idea of what I'm seeing, so I don't have to i

  • Express Server 6.3.4  Web Security

    Unable to use security for Web connection to Express Server. Upgraded from Express/Web 6.3.3 to 6.3.4. All features worked fine in 6.3.3. Install was OK, and without error. Databases migrated OK. Using Win 2K Server,SP4. Express Server 6.3.4 works fi

  • ITAB_DUPLICATE_KEY Error after system copy

    Hi! I am facing with the following error after the system copy of SAP ERP 2005 on Windows migrated from MS SQL to SAP DB. By entering into the db-relevant tcodes (DB13, etc.) the following error appears: Runtime Errors         ITAB_DUPLICATE_KEY Date