Error 1097 While Calling DLL with Correct Calling Convention

Updated Oct 16, 2018

Reported In

Software

  • LabVIEW

Operating System

  • Windows
  • PharLap

Issue Details

I have a DLL that can be accessed by Excel but I receive Error 1097 when trying to call it from LabVIEW using the Call Library Function Node.

LabVIEW: (Hex 0x449) An exception occurred within the external code called by a Call Library Function Node. The exception might have corrupted the LabVIEW memory. Save any work to a new location and restart LabVIEW.

Solution

Check that all of the parameters are being passed as the correct data type. Look through the DLL to see what types of variables are required and ensure they are set as the equivalent LabVIEW datatype. For example, if the variable is being passed as a Long datatype, ensure the parameter is set to Signed 32-Bit Integer instead of 4-Byte Single. For a complete list of LabVIEW Data Structures, refer to the Related Links section.

WAS THIS ARTICLE HELPFUL?

Not Helpful