LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simultaneous pulse generation from 2 counter channels of E-series card

hi ,
 
Im generating pulses of 2khz from 2 counter channels of 6024E.I had used the example of Dig pulse train continuous to achive this.
The problem i need to resolve is, both pulses doesn't trigger at same time,there is some delay in 100-200microseconds between the two.but since my freq is 2khz,this is of huge value for me.
 
Kindly suggest for a solution to resolve this?(Is this limitaion,when we use both the channels of counter channels for E-Series device)
 
-Thanks
Murali
0 Kudos
Message 1 of 5
(2,831 Views)
Hi murali_vml,
 
If you simply want to start both counters at the same time and they both have the same frequency, you could include both counter in your task. For example, in your Dig Pulse Train-Continuous example, you could set Counter(s) to "Dev1/ctr0:1" in your front panel under Channel Parameters. However, if you want to have different frequencies for both you will need to set up a hardware trigger for both counters using the same source. I hope this helps.
 
S_Hong
National Instruments
Applications Engineer
0 Kudos
Message 2 of 5
(2,807 Views)
Hi Hong,
Thanks for the reply.
 
In case if i provide hardware trigger through the other counter channel,i can refer the pulse generation continuous-dig start example for reference.
 
what is connection from hardware side?,is that i just need to connect the gate pin of trigger counter to the source of other 2 counters.
 
kindly suggest
-Murali
0 Kudos
Message 3 of 5
(2,790 Views)

Hi murali_vml,

There should be no need for any external connections except for the PFI lines if you choose to use an external trigger. If you want to avoid external connections, you can set up a dummy Analog Output and use the AO start trigger as your trigger source for your 2 counters. I would also like to point out that the use of a counter to trigger your generation is not possible since your board only has 2 counters.

S_Hong
National Instruments
Applications Engineer
0 Kudos
Message 4 of 5
(2,767 Views)

Hi Hong,

Thanks once again for support.Actually i was having another Analog output card which has 2 counter channels,that was the reason i was thinking of providing trigger through counter channels.

But anyway AO Start trigger was enough to match my requirement and also i can manage with a single Card.

-Murali

 

0 Kudos
Message 5 of 5
(2,744 Views)