Quantcast
Channel: Motion Control and Motor Drives topics
Viewing all articles
Browse latest Browse all 1315

Anyone familiar with the National Instruments MID-7604 stepper motor drive?

$
0
0

Hello folks,

I have been tasked with using a mid-7604 to automate a 2 axis table. I was given no documentation or assistance at all, and only told that it needed to be done in C. The computer that I am working with has a whole series of NI software on it and I am not sure what was even used to control it previously.

I found a program on the computer called NI-Motion and when trying to run it manually it seems to be able to handshake with the hardware. When I attempted to do a manual 1-D move on either of the ports that are connected to a motor it results in an error.

I found the NIMOTION C reference help manuals as well as a series of example codes but I am unsure how to even send the code to the controller.

If running C code with the motion controller, does simply including the library allow communication to the motor or does the sent code have to be sent through NI-Motion somehow?

Here is an excerpt from the guide I found:

"For C/C++ users, all functions in flexmotn.h have BOARD as the first parameter. BOARD is defined as boardID (u8)—the board identification number assigned by Measurement & Automation Explorer (MAX)."[...]"Make sure you pass the correct board identification parameter for the programming language you are using. To use multiple NI-Motion devices in one application, pass the appropriate board identification parameter to each function. "


Viewing all articles
Browse latest Browse all 1315

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>