Running a stepper motor while recording sound data

The issue:
I want to run a timer function which will send digital pulses to a bipolar stepper motor driver through a National Instruments USB-6009 board. Simultaneously I need to record two channels of audio through my sound card.
Is there a way that I can do both at the same time (i.e. send pulses to my motor while recording sound)?
Here is some background if you want it:
I am working on a project where I would like to read in data from two different microphones at the same time. The first one will be stationary, and the second one will be revolving on an arm controlled by a stepper motor. Because of the requirements of the experiment, I need to be able to accurately control the stepper motor's speed. Ideally I will be collecting data through my computer's sound card. Right now, I am working with the Data Acquisition Toolbox's legacy interface.

답변 (0개)

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

도움말 센터File Exchange에서 Data Acquisition Toolbox에 대해 자세히 알아보기

질문:

2013년 6월 29일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by