Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PCI-7344 library in C# (.NET) environment

Hi There,

 

I am a newbie and this is my first post.  I own a PCI-7344 motion controller board and I use Microsoft Visual Studio development environment to write custom code sets. I am familiar with using C# and want to access the PCI-7344 C library from within the C# program environment.

 

Has someone out there done this and be willing to share how they did it.

 

Cheers

Darryl

0 Kudos
Message 1 of 4
(5,330 Views)

Hi Darryl,

 

Once you've installed the NI-Motion Driver, you should be able to access some of the help files to get you up and running.  Mine are in this directory:

C:\Program Files\National Instruments\NI-Motion\Documentation

 

There are also some text based examples in there.

 

Cheers,

Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 2 of 4
(5,306 Views)

I have a PXI-7334 instead of a PCI-7344, but I would also like information on how to access the PXI-7334 C library from the C#(.Net) environment. 

 

I found the examples in C:\Program Files\National Instruments\NI-Motion\Documentation.  I have gotten the 1DStraightLineMotion.c program working. 

 

I found an old example One Axis Contour Move in C#.NET (http://zone.ni.com/devzone/cda/epd/p/id/4956).  It uses FlexMotion32.dll, which I can't find nor can I find something like that.

 

I know the new version of NI-Motion doesn't support .Net, but is there some work around I can use?

0 Kudos
Message 3 of 4
(5,024 Views)

Hi, 

 

You're correct and unfortunately NI Motion is not supported in C# .Net, please refer to the follow link:

 

http://digital.ni.com/public.nsf/allkb/67253305A52EFB1986256E94005945D2

 

Also, FlexMotion has been replaced with SoftMotion, which is likely why you can't find those dlls.

 

Cole R.
National Instruments
Software Engineer
0 Kudos
Message 4 of 4
(5,016 Views)