Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

FlexMotion Command For Initialize

Could someone please tell me if there is a FlexMotion command for initializing a motion control card? I am using a PCI-7334 stepper controller card along with a MID-7604 4-axis driver power unit. In MAX, I can find a button for initializing the PCI-7334 card, so instinct tells me that there must be a command for performing this initialization down in the FlexMotion ".dll". I have searched through the list of FlexMotion commands, and I cannot seem to locate this command. ANy help that could be provided would be appreciated. Thank you.
0 Kudos
Message 1 of 5
(3,883 Views)
The command you are looking for is flex_initialize_controller(). You should be able to find it in the NI-Motion Function Help.

I hope this helps,

Jochen Klier
National Instruments
0 Kudos
Message 2 of 5
(3,880 Views)

Thank you Jochen for your response. I downloaded the "FlexMotion Software Reference Manual" from the link below:

Link: http://digital.ni.com/manuals.nsf/websearch/92003B670CC3CB3F862567C800755B95

Interestingly enough, I did a search of the "321943b.pdf" document that I had downloaded and was unable to locate a "flex_initialize_controller" command. I'll give this command a try. Thanks again for your help!

 

0 Kudos
Message 3 of 5
(3,878 Views)
In fact the document that you have linked is from 1999. At this time this command wasn't implemented, yet. In the meantime we have renamed FlexMotion to NI-Motion and you can find all function descriptions in the helpfiles that you can find in
\Startmenue\Programs\National Instruments\NI-Motion\Documentation

If you search for manuals on ni.com please always make sure that you open the most recent ones. E. g. on the page that you have linked there is a warning that tells you that the manual might be out of date.

Jochen


0 Kudos
Message 4 of 5
(3,873 Views)
I was able to find the updated documentation on my hard drive. Thanks again Jochen for all of your help!
0 Kudos
Message 5 of 5
(3,859 Views)