08-18-2009 05:07 AM
Hi,
I am very new to labwindows dev and I am trying to debug a small test i have written. In the app i use an external dll for a device i need to connect to. I have included the header file and .lib files in the project and compiled succesfully but when it comes to running on the target PXI i get the error:
cvi_lvrt: cannot load library
'\NI-RT\cvi\temp\as_cPCI75ds1.dll'
i have tried everything, directly FTPing the dll into that directory on the PXI, checked that the dll is compatable, which it is and nothing works. Do i have to install the dll on the target PXI first? i have googled the subject and searched the help to no avail and this is really my last hope.
I hope someone can help
Thank You
James
08-21-2009 08:46 AM
Hello James,
You have said that the dll is compatible and that is it definately in the right directory, so that is an excellent start to debugging.
If you could attach your test code with the DLL and anything else I might need then I can try debugging the code myself 🙂
Thanks!
08-24-2009 02:47 AM
Hi
Thank you for responding. I dont think its actually my code because i am purely making a single call to the dll nothing more. I think its more of a configuration issue in that i dont think labwindows can find the dll when deploying to the target. The only instructions i have is to copy the dll to windows/system directory.
Thank you
James
08-24-2009 03:47 AM
Sorry James, I will clarify myself:
I had meant to say that I wanted a copy of your dll and code so that I could exactly recreate your scenario on my PXI system. I will try using any dll and see if I get an issue if you'd prefer. 🙂
09-04-2009 03:45 AM
James,
Have you got any updates on this issue?
If you are still unsucessful, could you try using this tool to verify compatibility with Real Time.
Thanks,