Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
9 ratings:
 3.55 out of 5     Rate this Document

Unusual Error Messages Loading, Executing, or Debugging an Application When Using NI-DAQ for Windows

Primary Software: Driver Software>>NI-DAQ
Primary Software Version: 6.9.3
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-DAQmx

Problem:

I have received one or more error messages in the following situations:

  1. When using NI-DAQ function calls from Visual Basic or Visual C++.
    • a DLL load or initialization error involving nidaq32.dll or nipalu.dll
    • "First Chance Exception", possibly in module nipalu.dll
    • "Error 48 file not found : nidaq32.dll"
    • "Error 10459 - Interface Error"

  2. When using ComponentWorks DAQ programs.
    • Data Acquisition devices are visible from Measurement and Automation Explorer (MAX) but are not listed within the property pages of the ComponentWorks DAQ controls
    • "Run-time error '-2147417848 (80010108)'" that references the ComponentWorks DAQ method that attempted to call into NI-DAQ

  3. In the Windows Event Viewer
    • [nipalu] Info: Fixed shared memory disabled in process: 00000E20. global shared memory address: 21400000, local shared memory address: 035F0000, global nipalu location: 64009040, local nipalu location: 64009040.


Solution:

When you attempt to use NI-DAQ 6.x (or 7.x Traditional) from multiple applications or in conjunction with other NI hardware drivers, NI-DAQ may fail to load if it is unable to acquire the necessary resources.

The recommended solution is to migrate to the new NI-DAQmx driver where this issue has been fixed. To download NI-DAQmx, please visit the Drivers and Updates: Current Versions. To learn more about NI-DAQmx, please visit http://www.ni.com and search for "NI-DAQmx". Note that the ComponentWorks DAQ control does not currently support DAQmx.

Otherwise, to resolve this issue using NI-DAQ 6.x or 7.x Traditional, proceed sequentially through the following list of possible solutions. After trying each solution, attempt to reproduce the issue. If the issue has not yet been resolved, proceed to the next solution in the list.

  1. Shut down all applications that are using NI-DAQ (examples include MAX, LabVIEW, Measurement Studio, Visual Studio). Now try loading your applications in a different order - in particular, try loading the application that gave you the error first.
  2. Update to the latest version of NI-DAQ.
  3. Update to the latest versions of all other National Instruments drivers used by the target system.
  4. Download the palBase utility attached below to your Windows folder, C:\WINDOWS for Windows 95, 98, ME, or C:\WINNT for Windows 2000 and XP. The palBase utility allows you to fine tune the way that NI-DAQ acquires resources from the system by making changes to both the drivers and the registry.

    Check to see if you have an error message in the Windows Event Viewer (Control Panel >> Administrative Tools >> Event Viewer >> Application) that looks similar to the following:
    [nipalu] Info: Fixed shared memory disabled in process: 00000E20. global shared memory address: 21400000, local shared memory address: 035F0000, global nipalu location: 64009040, local nipalu location: 64009040.

    To execute the palBase application from a DOS command prompt:

      a. Go to the Start menu and select Run.
      b. Type command and press Enter.
      c. If you had an error message in the Windows Event Viewer we will use some of the values provided as parameters for palBase. If you did not have an error message simply try the example parameters below. If you have an error message in the Windows Event Viewer use the global nipalu location with the last four digits zeroed as the -b parameter. Use the global shared memory address as the -s parameter.
      d. In the command prompt window, type palBase -b 64000000 -s 21400000 and press Enter.
      e. Reboot the system and try your applications again. If the issue is resolved, you may delete the palBase utility.


  5. Repeat 4. This time, at the command line, type palBase -b 64000000 -s 44000000
  6. Repeat 4. This time, at the command line, type palBase -b 44800000 -s 45800000
  7. Repeat 4. This time, at the command line, type palBase -b 32800000 -s 36800000 -d 18400000
  8. Repeat 4. This time, at the command line, type palBase -b 33400000 -s 35400000 -d 34400000

If the issue remains, or if palBase reports an error, please contact National Instruments Technical Support at the link below.

To restore your system to default values, open a DOS command prompt as explained in Option 4 above, type palBase -b 64000000 -s 0 -d 21000000, and press Enter.

Related Links:
Drivers and Updates: Current Versions
National Instruments Technical Support

Attachments:


palBase.exe


Report Date: 10/02/2002
Last Updated: 05/05/2008
Document ID: 2Q1HG8A6

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit