이 내용은 고객님의 설정 언어로 확인할 수 없습니다

이 내용은 다른 사용 가능한 언어로 표시됩니다. 고객님께서 사용하시는 브라우저에 텍스트 번역에 도움이되는 기능이 포함되어 있을 수 있습니다.

Error 1097 While Calling DLL with Correct Calling Convention

Updated Apr 24, 2023

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.