LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in the call of a DLL function

Hi all,

I have a problem with the call of a function from Labview through the
Call Library Function Node. I configure the Node with the correct
convention (the same as the developer), the correct parameters
(despite the fact that there are some differences like the change from
"int32" to "long") and browse correctly the name of the DLL. But when
I try to run the VI, I obtain the next message:

Labview: An exception occurred within the external code called by a
Call Library Node. This might have corrupted LabVIEW's memory. Save
any work to a new location and restart LabVIEW.
VI "func_x.vi" was stopped at Call Library Function Node 0x240 of
subVI "func_x.vi"

I've tried to change the parameters in order to know if that was the
proble
m, but I've obtained the same result.

Can anyone help me?
0 Kudos
Message 1 of 2
(2,363 Views)
Two questions

First are you using the C calling convention or the WINAPI calling convention. Try using the WINAPI.

Second is this a dll created in LV or from another language?
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
Message 2 of 2
(2,363 Views)