‎08-27-2003 11:15 AM
‎08-28-2003
09:52 AM
- last edited on
‎07-09-2026
09:18 AM
by
Content Cleaner
My first thought would be that the DLL you are calling has dependencies that are missing. For example, I believe the NAII DLLs you are referencing require the CVI Run-Time Engine DLL for LabVIEW RT, "cvi_lvrt.dll". I believe putting this DLL, along with the ones mentioned above, in the ni-rt/system folder would resolve the issue.
There is a 3rd party utility called Dependency Walker (depends.exe) that shows DLL dependencies. Any DLL that your "top-level" DLL requires to run will be listed here. You don't need to worry about the OS-specific DLLs so much (kernel32.dll, user32.dll, gdi32.dll, ntdll.dll, etc) but the ones that do not come with the OS are required.
When calling VIs on the RT system by loading them from disk by reference, you must ensure *ALL* mod
ules required (including DLLs, any of that DLL's dependencies, vi.lib VIs, etc) are all in the same location on the RT system. The best way to ensure this is to build a startup.exe out of your dynamic VIs, and then call them by reference from within the startup executable.
There is more information about this here:
Bad Execution State and Error 1003 when Using VI Server to Start VIs Stored on an RT Controller [link removed; article no longer available]
You can get Dependency Walker here:
Dependency Walker
Hope this helps,
Jeff Boettcher
Applications Engineering
National Instruments
‎08-28-2003 10:21 AM
‎08-29-2003
10:01 AM
- last edited on
‎07-09-2026
09:18 AM
by
Content Cleaner
Hello,
The error 63 & 66 (sometimes 56 too) with the host VI of the RT Communication Wizard is often caused by FIFO errors on the RT side (which you don't see until the host VI actually runs). The cause of these FIFO errors is usually because one or more of the controls or indicators in the original time-critical VI is within a case structure that does not execute on the first iteration of the loop. Because of this, the FIFO does not get properly created. See the following document for more information on this.
RT Communication Wizard Creates RT FIFOs that May Not Get Initialized Correctly [link removed; article no longer available]
‎08-19-2008 08:21 AM
I have the same problem with the CEI-830. The system fails to deploy some functions although i installed the dll required (interface.dll, user32.dll and winmm.dll). I still have an error of deployment and my target displays the following message : Error loading "WINMM.DLL" : Missing export 'GetWinStationInfo' from USER32.DLL.
Thanks for your replies
‎08-20-2008 03:08 PM
Hi Fayet,
What software do you have running on the target? How have you installed the dll you need?
It sounds like the dll need wrappers for you to use them. How are you deploying your LabVIEW to the CEI-830?