Common Problems with Application Builder 5.1
NI LabVIEW Application Builder is a Shareware software in the category Development developed by National Instruments. The latest version of NI LabVIEW Application Builder is 6.1, released on. It was initially added to our database on.
Application Builder runs fine on the development machine but crashes on the target machine.
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.'
I am using VI Server to dynamically load VIs but I receive errors that the subVI is not in the correct state.
I am using DataSocket, NI Reports, and/or 3D Graphs and my executable runs fine on the development machine but gives errors on the target machine.
My large executable displays a window with the VIs that that it is loading, but I would like it to remain silent.
I am creating an application for distribution via diskette, but the run-time engine is not included.
I cannot save my installer directly to my diskettes.
Although I included support files on a diskette distribution, they still appear uncompressed on the hard drive.
I would like to have my executable shutdown Windows when it exits.
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.'
I am using VI Server to dynamically load VIs but I receive errors that the subVI is not in the correct state.
I am using DataSocket, NI Reports, and/or 3D Graphs and my executable runs fine on the development machine but gives errors on the target machine.
My large executable displays a window with the VIs that that it is loading, but I would like it to remain silent.
I am creating an application for distribution via diskette, but the run-time engine is not included.
I cannot save my installer directly to my diskettes.
Although I included support files on a diskette distribution, they still appear uncompressed on the hard drive.
I would like to have my executable shutdown Windows when it exits.
--------------------------------------------------------------------------------
![Builder Builder](/uploads/1/2/6/3/126339449/766744587.png)
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 are included by default, but if you need them, they may be copied from the LabVIEW root 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. Also, verify that any necessary ActiveX controls have been installed.
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.
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 are included by default, but if you need them, they may be copied from the LabVIEW root 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. Also, verify that any necessary ActiveX controls have been installed.
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.
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.'
Occassionally LabVIEW can get confused about mdia32.dll. If it simply cannot find it, locate mdia32.dll with Start » Find and select it when the 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.
Occassionally LabVIEW can get confused about mdia32.dll. If it simply cannot find it, locate mdia32.dll with Start » Find and select it when the 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.
I am using VI Server to dynamically load VIs but I receive errors that the subVI is not in the correct state.
Dynamic VIs should be included using the 'Add Dynamic VI' button rather than the 'Add Top Level VI' button.
Dynamic VIs should be included using the 'Add Dynamic VI' button rather than the 'Add Top Level VI' button.
I am using DataSocket, NI Reports, and/or 3D Graphs and my executable runs fine on the development machine but gives errors on the target machine.
Make sure to install DataSocket, NI Reports, and/or 3D Graphs on the remote machine, as they are not part of the executable. An easy way to do this is to create an installer, choose 'Advanced', and select the appropriate installataions from the Additional Installations listbox.
Make sure to install DataSocket, NI Reports, and/or 3D Graphs on the remote machine, as they are not part of the executable. An easy way to do this is to create an installer, choose 'Advanced', and select the appropriate installataions from the Additional Installations listbox.
My large executable displays a window with the VIs that it is loading, but I would like it to remain silent.
The solution is to load VIs dynamically using VI Server commands.
The solution is to load VIs dynamically using VI Server commands.
I am creating an application for distribution via diskette, but the run-time engine is not included.
Unfortunately, the run-time engine is included in its own directory (named 'Run-Time Engine' under the 'Disks' directory). This will fit on two 1.4 MB diskettes; copy everything but 'data2.cab' to one diskette and copy 'data2.cab' to the second diskette.
Unfortunately, the run-time engine is included in its own directory (named 'Run-Time Engine' under the 'Disks' directory). This will fit on two 1.4 MB diskettes; copy everything but 'data2.cab' to one diskette and copy 'data2.cab' to the second diskette.
I cannot save my installer directly to my diskettes.
Application Builder saves only to the hard drive. You will need to copy the files from the 'Disks' directory: 'setup.exe' and 'data.001' to the first diskette, and 'data.00n' to subsequent disks (where 'n' is the number of the diskette).
Application Builder saves only to the hard drive. You will need to copy the files from the 'Disks' directory: 'setup.exe' and 'data.001' to the first diskette, and 'data.00n' to subsequent disks (where 'n' is the number of the diskette).
Although I included support files on a diskette distribution, they still appear uncompressed on the hard drive.
There are actually two copies: one is the uncompressed version and one is the compressed version in the 'Disks' directory. The setup program will uncompress the support files on the target machine.
There are actually two copies: one is the uncompressed version and one is the compressed version in the 'Disks' directory. The setup program will uncompress the support files on the target machine.
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_MACHINESoftwareMicrosoftWindowsNTCurrentVersionWinlogon Shell
to app.exe. Alternatively, you could call the ExitWindowsEx command from the C:winntsystem32user32.dll (or the C:windowssystemuser32.dll for Windows 98/95 users).
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_MACHINESoftwareMicrosoftWindowsNTCurrentVersionWinlogon Shell
to app.exe. Alternatively, you could call the ExitWindowsEx command from the C:winntsystem32user32.dll (or the C:windowssystemuser32.dll for Windows 98/95 users).
(Redirected from Application builder)
- 3Advanced
The application builder (AB) is a part of the LabVIEW Project environment, it has the possibilities to distribute your code in various ways:
- Executables
- DLLs
- Source distributions
- Web services
- Installers
- Packages
Depending on the LabVIEW version you have one or more of the above options might be missing.
The application builder has several interesting advanced uses
Automatic building
You can use a VI inside vi.lib that can build without user interaction. The VI is located in <vi.lib>AppBuilderBuildTargetBuildSpecification.vi. This VI takes a project path and optionally a build and target name as parameters.
Symbolic paths
Inside the application builder LabVIEW uses several symbolic paths to have envorinment dependent variables.
Symbolic path | Contents | Usage |
---|---|---|
NI_AB_PROJECTNAME | Name of the project | Automatically place the build in a folder that is named after the project |
NI_AB_TARGETNAME | Name of the (Real-Time) target |
Retrieved from 'https://labviewwiki.org/w/index.php?title=Application_Builder&oldid=8195'