I have a PCI-MIO-16E-4 DAQ card and the SC-2345. I'm trying to generate
pulses to run a stepper motor through the digital I/O terminal block of
the SC-2345. I'm using an Allegro UCN5804B stepper-motor
translator/driver to run the motor which is where I need to send the
pulses. I'm relatively new to LABVIEW so any help will be greatly
appreciated.
I have not used the 5804B but you probably will lend a digital line out high or low to the dirrection pin (and maybe even to the full or half step pin) using a DIO output line (see the examples in labview for setting DIO lines) and I would use a counter to run a pulse train generation (examples provided as well). You can even send a finite pulse train out of the counter if you need to step a certain number of steps. So you need to look at the examples for pulse train generation, finite pulse train generation and also DIO. Hope this gets you started.
Yes, the PCI-MIO-16E-4 does allow you to change the frequency of the pulse train when the task is running. You can write an numeric value to the DAQmx Channel Property Node, the property you want is the Counter Output >> Pulse >> Frequency >> Frequency property.