Hello
where can I get the 64 bit API? I could find only 32 bit version (portabilityLayer.dll)
This post was refereed to it but no link was supplied.
Thanks,
Ohad
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Ohad,
#1. It will be posted here http://www.ti.com/tool/dlpr200
#2. We might be using VS2010 for the DLL generation
Regards,
Sanjeev
Hello Jason and Previous Posters,
Please use the following link to download the 64-bit APIs. As the download page explains, the APIs are considered test builds, non-production and do not represent final standard product offerings.
http://software-dl.ti.com/dlp/embedded/catalog/dlp5500/dlpc200.html
Best regards,
Eric
Eric,
Thanks. Is there anything special I need to do with this? The other set of APIs had an installer. I've got the 32bit APIs opened and running in my 32bit Matlab just fine. I tried using these new PortibilityLayer.dll and PortibilityLayer.h in my 64bit Matlab and I get the same error I get when trying to open the 32bit API.
"PortabilityLayer.dll is not a valid Win32 application"
I know you don't really use Matlab but all I'm trying to do is use the loadlibrary command.
loadlibrary(PortabilityLayer.dll, PortabilityLayer.h, 'alias', 'DLP_DLL');
It works just fine with the 32bit stuff. Any thoughts?
Jason
Hello,
I think you trying to interface/run the 64bit API Lib with the 32bit MATLAB environment. Please note that this thread started with discussion about need for DLPC200 64bit API library, hence we have provided the download link.
In your case because you are running a MATLAB on 32bit Operating System environment you don't need to use this, you can continue using the official 32bit API lib provided on ti website. (DLPR200API - http://www.ti.com/tool/dlpr200)
Regards,
Sanjeev
Thanks for the reply.
I am running a 64bit operating system. I have both 32bit and 64bit versions of matlab on my machine. I can run and use the 32bit API on my 64bit operating system using the 32bit matlab but not the 64bit matlab (as i would expect to be the case).
If i try and use the 32bit API on the 64bit matlab i get the same error as i mentioned previously. If i try and use your 64bit API on either version of matlab I also get the same error i mentioned previously.
A process is either 32-bit or 64-bit, and a process can only load dlls of the same "bitness".
Hi Jason,
Thanks for providing more details. From our side we have ensured the 64bit API lib compiling using a sample Visual Studio 2010 project. We haven't tried loading on 64bit Matlab environment.
The DLL is generated for 64bit, i read in this discussion http://www.mathworks.in/matlabcentral/answers/6649 that we also need to check with the header file input. In case of DLPC200 API lib we are using same header file for 32bit and 64bit. Not sure if it is causing the issue.
One more thing, you have mentioned that you have 32bit and 64bit MATLAB environment. Please check the matlab application you are compiling is compiling for 32-bit or 64-bit target. It may happen that you are compiling 32bit application on your 64bit MATLAB environment and trying to link to 64bit DLL.
Regards,
Sanjeev