01-06-2010 12:42 PM
Solved! Go to Solution.
01-07-2010 01:15 PM
Hello sheekooo,
The digital input/output on the USB-6008 is software timed, so it will only change values when you call the digital write function in your program. Typically, to drive something like a motor, you would want to use a counter to generate a pulse train to do so. This is much more tightly timed and can output higher frequencies. Unfortunately, with the USB-6008, the on-board counter is a simple event counter, and you cannot generate an external output signal from this counter. However, if you do have a different DAQ board with counter output, you can control the motor position relatively easily. Hope this helps
01-08-2010 07:22 AM
thanks for your reply, but the frequency doesn't matter now with my project, i could use the digital ip/op. i want an example vi explaining how to control bipolar stepper motor.
could you help me please, thanks.
01-11-2010 07:14 PM
As Andy mentioned, the control of signals being sent through the digital I/O on the USB-6008 is completely in software. We do not have any shipping examples that cater to using the USB-6008 for motion control. I would definitely recommend getting our motion-specific hardware or a DAQ device that is capable of hardware timing the digital output.
If you want to configure digital I/O tasks in DAQmx to output signals to your stepper motor, you could get started by looking at our digital pulse train examples that are shipped with LabVIEW. If you have any specific questions on setting up your DAQ program, please post this in the corresponding discussion forum board. I hope this helps.
03-04-2010 06:55 PM
03-04-2010 07:01 PM
03-04-2010 10:48 PM
03-05-2010 05:38 AM
well first you have to know the sequence you would send to the driver .. i recommend BAL-35 it's very easy driver.
the second point install NI-DAQmx, and when you are ready send me the sequence of your driver, and i'll help you.
03-08-2010 08:39 PM
Thank you for all of your help. I am new to this and I appreciate a helping hand. Please find in the following attachments the manual for the driver that was suggested by the company where we bought the motor and the info about the motor. Again thanks so much!
03-08-2010 09:30 PM
you are more than welcome .. ok i attached a vi that could help you .. i'll illustrate how to connect your driver to your usb data acquisition card.
1-on the digital I/P O/P side of the DAQ there's a 5V pin, connect it to the both 5V pins (Pulse and Direction) of the driver.
2- the other 2 pins (Pul- and Dir-) connect it to port0/line0 for Pul- , and port0/ line1 for Dir-. ( you can configure the ports as u like from the block diagram window of the vi ).
3- let the enable pins without connection. ( it's normally enabled).
for motor connection: (dont connect any of these pins to the DAQ)
there are 6 pins.
first you need to know the wires of the motor coils, you could test it with any AVO meter.
1- the first pin connected to the ground of the battery.
2- the second pin to the positive pole of the battery.
3,4 the first coil.
5,6 the second coil.
try it and i hope i helped you, tell me if it worked.