Curt Corum wrote:
> I am using LabVIEW "Call Library Function" to call functions from a DLL MCBCIO32.DL
> to control an Ortec Trump PCI 2k Multi Channel Buffer card.
>
> I am getting very erratic behavior, including numerous crashes of LabVIEW,
> sporadic functionality (i.e. everything works) and spurious communications
> with the hardware through the DLL function calls.
Here are a couple of thoughts:
- First, one that is probably bogus, but perhaps worth trying because it's easy: run
Scandisk. I say this because one of the support guys here apparently got relief from
the "memory.c", line 793 failure after running Scandisk once upon a time. It certainly
could have been a coincidence.
- Second, take an even closer look at the DLLs that are getting called, paying
p
articular attention to those with array or string inputs. Page faults, exceptions,
and memory-related LabVIEW "failure" messages are a really good sign that memory
addresses are getting clobbered inside the DLLs. You'll get the failures if the wrong
LabVIEW memory addresses are getting overwritten, and you'll get the OS-level crashes
if memory associated with other applications (or the OS) is threatened.
Regards,
John Lum
National Instruments