Hi,
I am using LabVIEW 2009 with PCI 6602 to do pulse generation (not pulse train!) according to an external trigger signal (say the pulse freqency is around 20Hz, but it is not a constant). My thought was to use a switch turn "on" the generation, and there should be no generation from the counter output if the switch is toggled "off". I modified the example "Gen Dig Pulse-Retriggerable.vi" to try to control the generation, but it was not successful. What I did was simply applying a case structure to the example code. The problem I encountered was that before I turned on the switch (namely, the boolean is false) there was no pulse generation, and once the switch was on (true) the counter output sent out the pulses; however, if I click the boolean again, the generation does not stop until I hit the stop button. Is there a right way to turn the pulse generation on or off?
The attachment is my VI.
Thanks,
Bobby