03-27-2009 03:13 PM
Hi,
I'm using labview 8.6 and I'm trying to use a ORIEL sterppermike with a 20025 controller.
I have implemented a VI that has a stack of commands in a for loop. Every loop has the following sequence of commands:
command 1) start the stepper
command 2) wait for feedback to reach a certain number
command 3) stop the stepper
command 4) wait a certain time before starting again
To start the stepper I use a subvi from the example folder:
C:\Program Files\National Instruments\LabVIEW 8.6\examples\DAQmx\Counter\generate pulse.llb
--> Gen Dig Pulse Train-Continuous.vi
I don't understand why the sequence get stuck at command 1 and never gets to command 2.
I attach the vi for completeness.
Thanks to anyone that will help,
Matteo
03-30-2009 05:13 PM
03-31-2009 01:58 PM
Hey Doug,
Thanks for your answer.
I'm not sure that can be. The other subvis that are running concurrently in an other loop and are using the same daq board are running smoothly acquiring data.
Any other suggestion?
Thanks,
Matteo
04-01-2009 02:16 AM
Matteo,
as you haven't added your digital generation subvi to this thread, it's a bit hard to tell what's going on. Please post this vi. This will probably shed some light on the issue.
Thanks,
Jochen