LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ordinal 215 could not be located in dynamic link library VISA32.dll

I posted this in the hardware forums, but haven't got a respond yet, so I'm trying it here.

I'm trying to recompile code that was developed in LabView 6.0 to LabView8.2.  When I attempt to run the code, I get the following error message:
"The ordinal 215 could not be located in the dynamic link library VISA32.dll".
 
This error seems to pop up whenever I make a call to the any of the VXI vi.  Currently, we have NI-VXI 3.3.1 and VISA 4.0 installed, and we have a MXI-2 PCI card installed in the PC.  The precompiled version of the LabVIEW 6.0 code works on the same PC.
 
Thanks in advance
0 Kudos
Message 1 of 4
(5,172 Views)

What version of the visa32.dll do you have including the sub version?

Routines in Dll's are usually referenced either by ordinal position or routine name. This error is implying that

the routine that was located at ordinal 215 at one time, is not available in the visa32.dll you are using right now at the same ordinal position.

I looked in my visa32.dll and in my ordinal position 215, I have a routine called, viAssertIntrSignal which would imply some sort of error condition handler.

My visa32.dll version is 4.0.0.49152. I was curious what sub version you are running since you said you are running v4.0.

0 Kudos
Message 2 of 4
(5,162 Views)
Thanks for the reply.  I found out what the problem is.  The code in the LabVIEW 6 version had included an older versions of the VISA32.DLL in the source code directory.  I think when LabVIEW 8.2 was called, it was referencing the VISA32.DLL from the source directory instead of the one in the National Instruments directory.  After removing the VISA32.DLL in the source directory, the error went away.

Message Edited by Carl_Ray on 12-05-2006 10:49 AM

0 Kudos
Message 3 of 4
(5,157 Views)
Great. Had a feeling it was a version problem.
0 Kudos
Message 4 of 4
(5,153 Views)