Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Common Problems with Application Builder 5.0 (or Earlier)

  1. Application Builder runs fine on the development machine but crashes on the target machine.
  2. Application Builder either cannot find mdia32.dll or it crashes with an error message about "LabVIEW caused invalid page fault Module MDIA32.dll@0137:04086083."
  3. My large executable displays a window with the VIs that it is loading, but I would like it to remain silent.
  4. I installed Application Builder but it does not show up in the Project menu.
  5. The installer crashes on the remote machine.
  6. I would like to use my own icon for my executable, instead of the LabVIEW icon.
  7. I would like to have my executable shutdown Windows when it exits.

  1. Application Builder runs fine on the development machine but crashes on the target machine.
    This could be caused by several problems.
    1) Make sure that the daqdrv file (for DAQ) and/or the serpdrv file (for serial communication) is located in the same directory as the executable. These files can be copied directly from the LabVIEW directory.
    2) If you are using our hardware drivers (DAQ, GPIB, VXI), make sure that you have installed the drivers on the remote machine with LabVIEW support.
    3) Make sure that the executable is for the same operating system that the development system is using.
    4) Make sure that you are using the same version of Application Builder as LabVIEW. Please note that if you have LabVIEW 5.0.1 and bought Application Builder after you upgraded, you will need to re-install the upgrade. If you have Application Builder 4.x with LabVIEW 5.0.x, you will need to apply for the free Application Builder upgrade.
    5) Check that there is adaquate free space on the driver where the temp file is stored.
    6) Make sure that the TMP and TEMP variables are define and point to a valid directory.

  2. Application Builder either cannot find mdia32.dll or it crashes with an error message about "LabVIEW caused invalid page fault Module MDIA32.dll@0137:04086083."
    During the upgrade from LabVIEW 5.0 to 5.0.1, LabVIEW can get confused about the mdia32.dll. If it cannot find it, you can manually locate the mdia32.dll with Start >> Find. Then, select the file when the application builder dialog box appears asking for it. If Application Builder is crashing, make sure that there is only one copy of mdia32.dll. Delete any duplicates that Start >> Find locates.

  3. My large executable displays a window with the VIs that it is loading, but I would like it to remain silent.
    You will need to load VIs dynamically using VI Server commands.

  4. I installed Application Builder but it does not show up in the Project menu.
    Either Application Builder was installed into the wrong directory (make sure that the base directory is the LabVIEW root directory) or the version of Application Builder is different than that of LabVIEW--you may need to apply for the free Application Builder upgrade.

  5. The installer crashes on the remote machine.
    Follow the steps for creating an executable and the steps for creating a distribution kit exactly. If you do not follow every step exactly when creating the executable, it is possible that the executable could be created incorrectly.

  6. I would like to use my own icon for my executable, instead of the LabVIEW icon.
    You will need to use the Icon Editor from Measurement Studio or a third-party resource editor to change the icon. However, Application Builder for LabVIEW 5.1 allows you to specify any .ico file for the icon.

  7. I would like to have my executable shutdown Windows when it exits.
    If you have Windows NT 4.0, you can set your executable to be the user's shell, so that when they exit the executable, they are logged off. Set the Registry entry
    HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon \Shell
    to app.exe. Alternatively, you could call the ExitWindowsEx command from C:\winnt\system32\user32.dll (or the C:\windows\system\user32.dll for Windows 98/95 users).



Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality?   Answered Your Question? 
  1 2 3 4 5
Please Provide Additional Feedback below
Please visit Request Support for product support inquiries. submit