06-13-2005 11:06 PM
			
    
	
		
		
		06-15-2005
	
		
		12:15 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		07-09-2025
	
		
		04:21 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
In Response To: "we plan to integrate PCI-7358 motion card into our app using C#. Is there any way we can directly using FlexMotion32.dll in C#? It's normal DLL not COM. File Version:5.2.0.3001. Thanks." 
Hey Zhijun,
First of all, the driver version that you have currently, version 5.2.0, is not the most recent version that is available on the National Instruments website. You can find a list of all the current and old NI Motion Control Drivers at the following link Motion Control Drivers. If you have Windows 2000 or XP then you will want the most up to date driver which can be found at NI-Motion.
Now to answer your question, you can directly call the FlexMotion32.dll from your C# program. You will have access to all of the functions that are in the FlexMotion DLL. This DLL is just like calling any other DLL in C#, and it is not COM, just a normal DLL. Someone else has also performed this FlexMotion32.dll call in their code and they discussed it in the following Discussion Forum: How to call the National Instruments flexmotion32.dll from C.
I hope this answers your questions and points you in the right direction to get you started. Please let me know if you have any further questions regarding this DLL or the C# call to it. Thanks, and have a great day.
Regards,
DJ
Applications Engineer
National Instruments