The 6024E has 8 static DIO lines and 2 counter IO lines. Since the DIO lines are only software controlled, you probably will not be able to switch the lines fast enough to control a stepper motor, which can require 10kHz or more depending on the desired velocity. If you have an amplifier that accepts STEP/DIR signals, you could use one digital IO line to control the "DIR" line and one counter to output a pulse train to control the "STEP" line. The speed of the motor could be varied by changing the pulse rate from the counter and the direction controlled by switching the DIO line.
This would give you very basic contol of the motor. You could control 2 motors with the 6024E, since there are 2 counters available, however I would not expect very smooth results.
Regards,
Brent Runnels
Applications Engineer
National Instruments