From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-11-2021 12:57 AM
Dear rolfk,
I use PCI-6024E as my DAQ hardware board.
Thanks for all your assistance, greatly appreciated!
Duke Tang
05-11-2021 01:00 AM - edited 05-11-2021 01:00 AM
Hi duke,
@duke840101 wrote:
I use PCI-6024E as my DAQ hardware board.
While that board is marked "obsolete" you still can use it with DAQmx…
05-11-2021 08:00 PM - edited 05-11-2021 08:35 PM
Dear rolfk,
I deleted all subvi containing Ivdaq.dll. The program can control the stepper motor as I expected.
Now, I want to load Ivdaq.dll under a 32-bit system on a 64-bit computer (all Labview programs and subvi and .dll files are run in "Program Files (x86)" and registered in the "SysWOW64" directory file, Then delete them all in the "program files" and "system32" directory files), but Ivdaq.dll cannot be loaded again.
With error loading message "/Ivdaq.dll dynamic link library (DLL) initialization routine failed".
Can you explain why?
Duke Tang
Reference:
2. https://docs.microsoft.com/en-us/windows/win32/winprog64/process-interoperability
05-12-2021 01:28 AM - edited 05-12-2021 01:45 AM
You simply can’t do that. NI-DAQ and any hardware driver really, consists of two parts.
1) device drivers which run in the OS kernel and need to match the binary model of your OS, For a 64-bit OS they MUST be 64-bit too.
2) the user access interface in form of DLLs which must match the binary model of your calling application. NI-DAQ has no 64-bit support for both of those parts, so use of 32-bit LabVIEW doesn’t help at all.
You’ll have to bite the sour apple and replaceall NI-DAQ calls with DAQmx calls. Yes that’s work as the DAQmx API was considerably redesigned, but the good news is that DAQmx is considerably more consistent and easier to use than the older NI-DAQ API.