02-26-2013 05:21 AM
Hi
I tried to import dll file to labview for able to control steper motor but I obtained this problem as shown in pic below I don't know how solve this any idea about how solve this problem please?
02-26-2013 08:35 AM
Are you sure that's the right header file? It's named differently than the source code file.
LV is indicating that the functions defined in the source code file do not match those from the header file, so it's having trouble interpreting them.
02-27-2013 04:05 AM - edited 02-27-2013 04:09 AM
Many thanks for your answer, Could you provide me by the example for compatible header file with labview may be I go to write new header file for the dll file.
02-27-2013 04:10 AM
Could I send for you the header file +Dll file to check it for me please
02-27-2013 05:11 AM - edited 02-27-2013 05:12 AM
02-28-2013 07:42 AM
Dear an.sh,
Thank you for your post to the forums.
I wanted to find out some more information in regards to what it is you are trying.
What type of .dll are you trying to bring into LabVIEW? Was it written in a text based programming language such as ANSI C/C++?
Where did you obtain the header file shown in the image? As mentioned above, the header file is different to the source code.
I can see you have tried to use the Import Shared Library Wizard.
For further information, take a look at the following links:
- Calling .NET Assemblies From LabVIEW
- Calling .NET Assemblies from LabVIEW
- Loading .NET 4.0 assemblies in LabVIEW
- Calling C/C++ DLLs Containing Simple and Complex Datatypes from LabVIEW
- How Do I Call a Dynamic Link Library (DLL) from LabVIEW?
- Concepts
- Call Library Function Returns the Wrong Function Prototype and Function Parameters for DLLs
Let me know how you get on.
Kind Regards,
03-01-2013 04:03 AM - edited 03-01-2013 04:08 AM
Many thanks for your help
the Dll made by c and I will attached with this replay have a look for it please
Best regards
03-01-2013 06:13 AM
I tried to building my VI by MoveBlock I found
all function in side Dll return Boolean type as I shown below in pic and there are no Boolean in Labview type as shown in pic any one have any idea about that
03-01-2013 06:37 AM
I think in that case you could use numeric. I don't remember exactly what options you have for a numeric return type...
03-07-2013 10:25 AM
Hi an.sh,
I hope you are well.
Have you managed to sort out the data type conflict you were seeing?
Do you need further assistance? Do you have any further queries?
Kind Regards,