Register | Login

Quick search in Advantech Support Portal 
Print

[Technical Inquiry] ADAM-5550CE and ADAM-5240

ADAM-5550CE and ADAM-5240

Hello,I have got some problem about using the sample code coming with .NET Class Library.
I am trying to run the code of ADAM-5240 on ADAM-5550CE.
The executable file (.exe), AdvMotNet.dll, and AdvMotApi_Map.dll had been put at the same folder.
But when I tried opening the board, the following message showed up as a windows' error message.


Can't find PInvoke DLL 'AdvMotApi_Map.dll'


What should I do to solve this problem?
Thank you in advance.
Share |

TOP

I assume you mean the ADAM5024 example, I could not find an example for the 5240.  First, make sure you compiled the sample for the ADAM-5550.  There is one in the ...\Samples\WinCE\Adam5550\VC#\Adam5024 folder.  This is different from the one in the ...\Samples\WinCE\VC#\Adam5024 folder.

Make sure you copy all of the DLL files in the bin folder to your target device.  I have the following dll files:
Advantech.Adam.dll
Advantech.Common.dll
Advantech.Protocol.dll

If all of the above does not work, try copying the DLL files into the \windows folder.  You should not have to do this though.

Thanks,
Rob
Share |

TOP