LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate two finite digital pulse train using pcI 6221

Hi All,
I have a NI6221 PCI board, and am trying generate two finite digital pulse trains in my project to control a stepping motor: one pulse train is a single pulse for the motor direction, the other is a finite pulse train for the motor movement.
I looked into the example  "gen dig pulse train-finite dig start.vi", and was able to generate the finite pulse train using counter 0. My question is how could I generate the single pulse? It seems that I can not use counter 1 because it is already paired with counter 0. Could  anyone tell me how to generate a single pulse using a digital line, and keep the timing relationship with the counter 0? I am totally new to labview. Your help will be greatly appreciated.
 
Thank you,
hma01
0 Kudos
Message 1 of 2
(2,756 Views)

Hi, have a look at the following link.  It tells you how to create a finite digital pulse train with a single counter.  Then you can use the Gen Dig pulse with Dig Start in example finder and use the counter internal output to trigger the pulse. 

 

Chris_K



Message Edited by Chris_K_ on 03-13-2008 07:11 PM
0 Kudos
Message 2 of 2
(2,729 Views)