Development of applications that run without installed DAQmx

We want to develop the executables that include optional calls to connected DAQmx hardware.  It will be used for purposes of internal development and allocation of customers. We would like to include optional features such as temperature logging using the thermocouple NI 9211/USB-9162 entry-level camera.  If a customer wants to use our application with record temperature, they can buy the necessary materials of NEITHER and install DAQmx drivers.

The problem we are trying to solve is how to develop applications that work also for the case when a client does not want to buy the material and does not install the DAQmx drivers.  Ideally, we can include a button 'disable temperature logging' on relevant applications, which prevents all calls to the DAQmx drivers at run time.  For example by including calls in a business controlled by this button structure.

The problem we seem to have is that executables resulting always require customers to install the DAQmx drivers, even if they don't need them.  It doesn't seem to be a way to make the optional installation, since the source screw included calls to DAQmx drivers, even if they will not be used by the customer.

Clearly, a solution is to develop two families of screws and the applications, which include DAQmx calls and one who is not.  However, which will result in a horrible collection of code that will require the maintenance and parallel development.

An alternative is to ask all customers to install DAQmx drivers.  Unfortunately, the size and complexity of downloads that results will be a significant deterrant.  It's already a shame that our distributed software is a 50 MB download, when the size of the code in C++ or VB would be less than a tenth of that.  Another factor of increase of 10 download is prohibitive.

We must find a solution more clean.  All ideas, plase?

We are currently with LabVIEW 8.5.1 and DAQmx 8.9.

You can use the conditional structure conditional symbols and disable disable in the project to do. You can, for example, have a symbol called "HAVEDAQMX" and, say, use a 1 or 0 (or anything you want) to indicate that you want to run the project with or without DAQmx. In VI using the conditional turn off the structure. For HAVEDAQMX = 0 case put in the code to run without DAQmx. For HAVEDAQMX = 1 case put in the DAQmx code. When you build the application, if any will get used, and the other will be thrown.

Attached is a simple project that does this. You can view the LabVIEW help for more information about the conditional structure disable.

Tags: NI Software

Similar Questions

  • Data channel read name DAQmx without installed DAQmx

    We have data files, including a header with the names of channels in the DAQmx channel name format.

    Now, we want to send a Labview application to our customer by which they can open these files and just seeing the names of channels in the form of text. Can we make such an application without requiring the customer to install DAQmx. We use Labview 7.1.1 and after installing the application, it asks for nivaiu.dll, nipalu.dll nipalut.dll and so on. Change the simple arrays of strings file header gives compatibility on old data problems.

    Concerning

    Dan Larsson

    Problem solved!

    Control of channel name DAQmx can serve as a binary file read model without installing DAQmx separately. I found a Subvi calling "DAQmx unflatten string. After the removal of this call everythings working.

    Sorry for all you mind!

    / Dan

  • Error in the printer for 16-bit application that runs in Windows7 32 error "caused a floating point exception in hpcui121.dll to 0x5b39caea.

    Original title: Error in the printer for 16-bit application that is running in Windows7 32

    I have a 16-bit application. I'm running Windows 7 32. All of a sudden, I can't print my application. I have two messages: "caused a floating point exception in hpcui121.dll in 0x5b39caea" and "caused an access violation in WOW32. DLL to 0x6dc50421. Any help to solve the problem would be greatly appreciated.

    Hello

    Have you tried the methods suggested in my previous post dated August 29?

    Response to help you further.

  • TouchEvent injection application that runs in the background

    Hello

    I have a problem with the injection of TouchEvent.CLICK and TouchEvent.UNCLICK from an application that is in the background at the time of the injection. If my application is in the foreground, everything works fine. My logs, I see that the injection goes smoothly, but there is no effect on the foreground app. KeyEvent injection works as expected when it is injected background or foreground.

    Tested on Simulator 9550 and 9700 device, the two OS 5.0, also compiled for OS 5.0.

    Is this expected behavior? Is there a solution?

    Thank you very much

    Eva Rezkova

    Hello

    Finally, I found the solution. So far I inject me like this:

    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.CLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);event = new EventInjector.TouchEvent(EventInjector.TouchEvent.UNCLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    

    It works well in my own application and in the situations I have described before.

    It works as expected if I inject the event like this:

    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.DOWN, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    
    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.CLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.UNCLICK, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    event = new EventInjector.TouchEvent(EventInjector.TouchEvent.UP, x, y, -1, -1, -1);EventInjector.invokeEvent(event);
    

    Thank you much for the help.

    Eva Rezkova

  • How to use the script "click menu item" command on a menu item for an application that runs under another user?

    Hey everyone, quick question...

    I am trying to run this script:

    say application "System events".

    say process of "iTunes."

    click on menu item "Start Station" from the menu 'Song' to menu bar item 'Song' in the menu bar 1

    end say

    end say



    The idea behind this is to start a song selected currently playing station. I know, it's not hard to do it manually, but I want to be able to do it without having to call the iTunes app to the front. Now, this script works for my own iTunes app, but I have a second instance of iTunes connecting the second user on my computer at home (User2), with its own separate library and account and all. script I have works fine for an instance of iTunes under my user account, but I can't figure out how to specify which instance of iTunes, I'd like the script to work on.




    I want to emphasize as an FYI that i use.


    the shell script "connection f User2 /Applications/iTunes.app/Contents/MacOS/iTunes > & - 2 > & - &" with administrator privileges

    -to open my second instance of iTunes as User2



    is there a way to change the "process"iTunes"to say" something like 'process 'unix ID' say' and have the ID for each respective instance of iTunes unix?


    Let me know if I do not make sense... Thanks in advance to anyone who can help






    You can target a process of application using various properties of system events, for example:

    tell application "System Events"
      tell first item of (get application processes whose unix id is 15174) -- or whatever id
        activate --> needed when using GUI scripting
        get properties
      end tell
    end tell
    
  • Disable the GPS application that runs in the background after a while

    Hello

    I develop application GPS, who will be running in the background. I want to disable the request after a certain period of intervals & then activate automatically after a certain time... I just want to know is possible, if so, how it is...?

    A code example would be a great help...

    How can I use my GUI application in the background...?

    I suspect that you ask for the location provider until the Blackberry OS has initialized, then it is you say there is not one.  I think you need to stall until the OS is ready.  This article should help.  Other related articles from starting up in the KB that could also help.

    How - to detect the availability of the system at boot
    Article number: DB-00642
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_to_-_Detec...

  • An application to run once installed by the user

    1 - once the user finishes the download and installation of a new application, can it start without the user clicking on the application to start?

    2 - What if an older version is running and the user tries to download a newer version, is it possible re-breakfast version updated without the user clicking on the icon.

    3 - If an older version is running in the background, can the application update itself and works again without user interaction?

    Even if the BlackBerry smartphone is not reset when an application is installed (i.e. new installation using the browser) can run an auto-start application.  It'll be auto-start after installation.

    This link explains why a reset may be necessary:

    -The reason for which reset is required when you upgrade an application
    Article number: DB-00602

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/What_Is...

  • How to create applications Hyperion LDCS without installed workspace planning

    Question...
    Is there a way to create Hyperion Planning 9.3.1. PMA Applications without going through installed workspace?
    I know that if you use http:// < planningmachine >: 8300/HyperionPlanning/AppWizard.jsp after the planning is installed, you can, but I think that this approach follows the classic Application management approach.

    I hope someone can help I don't want to have to configure Reporting, Hyperion and analysis/Web analysis and work space.

    Thank you

    UserLC

    try to go to http://: 19091/awb.

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Application that runs in the background

    Hello

    I have an application which auto runs on the boot device. Currently, the application runs in the background.

    The application is supposed to display a popup to the user screen whenever they capture an image using the native camera application. In the popup screen is a textfield where the user can enter a tag for the captured image.

    The problem is after I have capture an image, I don't see the pop-up screen. Only when I get the app I see the pop-up screen. So, how to display the popup screen without having to enter in my application?

    Any help is very appreciated!

    Thank you

    Saket

    You can use requestForeground to bring your application to the top.

    Another option would be a global popupscreen.

  • creating applications that run on desktop or laptop computers?

    Our small business product guides in PDF format to be used on laptops, tablets and phones. We intend to pass to CC and to use InDesign to convert apps that we think will be much easier for customers to use our guides.

    But we always want to be available for those who use our guides on laptops.

    I know this is a newbie question, but is it possible in InDesign to create applications, similar to those used by iOS and Android devices, which could run on Windows 7 and 8 and the OS X portable computers?

    Transferred to DPS forum.

    8.1 Windows only and that you need a account pro or enterprise.

  • I want an application that runs in the background while I 'back' menu Chick, how do

    I didn't quit, I just want the application runs in the background while I 'back' menu Chick, how?

    You can use the Application.requestBackground method.

    See the following post:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=19444&query.ID=79...

  • The verification of license application that runs on a machine virtual vmware.

    Hello!

    I'm sorry for my bad English.

    There is an application with the license related to the material. A computer - a license.

    As a general rule, a check of the license is:

    app_protect.png

    1. the application scans materials.

    2. the application collects information about the material and preparing an application for license availability.

    3. the application sends a request to check the availability of the license.

    4. the license server receives the request and returns a response. The application receives a response from the license server and active features.

    However, if the program is on the virtual machine - collection of information about the hardware fails.

    app_protect_2.png

    I could not configuration information physical server as the default methods do not do.

    Call to the hypervisor allows to collect statistics, but it is not enough to generate demand for the presence of licenses.

    app_protect_3.png

    --------------------------------------------------------------------------------------------------------------------------------------------------------------

    There are therefore 2 questions:

    How within the virtual machine, you can get information about configuring physical server?

    How can I implement the license related to the equipment, check if the program is running on a virtual machine?


    Thank you!

    The guest operating system and hypervisor can communicate with each other through the VMware vSockets.

  • Start an Android application that has been installed with navigateToURL()?

    I saw a mention of a Java called 'intent' method, but I don't know how to implement this in AS3 (Flash or Flash Builder).

    I am launching a SWF that can be launched via the load() method.  For some reason even if I post the SWF file in a wrapper HTML and separately using the Flash debugger, when I try to use the load() method it does not load.  I get a few AS3 errors when debugging that have to do with Classes using the SWF file.

    So I thought, if I installed the apk from the SWF file and launched the apk with navigateToURL, it should work.  But I need the right arguments.  I have also considered fscommand.  When I say arguments, I guess I'm talking more about the specific file name and path that the installed Android app is registered to the name.

    Thanks in advance,

    Markerline

    you are probably a reference to the scene or something on stage BEFORE your loaded swf is added to the stage.  that the why you have no problem when you test the swf as a stand-alone file and you have a problem when loading it.

    to remedy this, use an Event.ADDED_TO_STAGE listener before trying to refer to the foregoing.  If you do not understand the question/how resolves, copy and past the first 90 or so lines FontExtrusionDemo.as

  • Applications that run on the iPhone 3G

    Hello!

    I have iPhone 3G and I can not find all the apps that work on it. Please could you list the apps that work on it.

    iPhone 3G

    iOS 4.2.1

    Hello

    I don't think that the apps that work or simple who don, t need a lot of power.

    The only solution is to update a more recent iPhone 32 5 s is a good buy and a lot cheaper now.

    See you soon

    Brian

  • Applications that run on lookout V3.8 can be imported in V6.1

    We currently have Lookout V3.8 running on PC NT.  We must replace the hardware and want to upgrade to V6.1.  Is it also possible to consider keeping the same version on an XP version?

    There should be no question, but several things you need to know. See this manual, compability and Conversion issues on page 12.

    http://www.NI.com/PDF/manuals/371384a.PDF

Maybe you are looking for

  • I need to talk to a technician. I can not connect.

    I used Mozilla for over ten years. I've NEVER had to do it all. I want to just turn on my computer, click the icon for Mozilla and read my mail. I am very angry that you put me through it all!

  • Satellite A200 - TouchPad problem

    HelloI installed windows 7 on my satellite A200 - 1 M 6 and touchpad does not work. I have installed synaptic drivers and the Alps, but it did not work. In the Device Manager in "mice and other pointing devices", I HID-compliant mouse and mouse Compa

  • Need HDD crash factory disc to restore Windows XP pro laptop ZV6000 system

    I've had this laptop since 2005 and needless to say that "never had a problem" until now without warning the HARD drive took a nose dive and surfaced with the message "No. OS AVAILABLE.  I did research online and found that HP had a CD called HP Quic

  • I need assistance with an ICS connection

    I have a laptop and my friend has a desktop computer. I tried to set up an Entrepreneur with my laptop being the host pick up a wireless signal and desktop connected with a network cable. I followed the help and put evrything correctly to allow ISC a

  • Windows cannot connect to _

    Windows could not connect to a network. I have Windows 7 x 64. I bought a new wireless network adapter that was compatible with Windows 7 yesterday because my old wireless adapter doesn't work more randomly one morning. I installed the drivers proper