Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Increasing the hight time of a single pulse

I am quite new in using Labview, and have bumped in to this annoying problem:
Basically I would like to create single ttl pulses with a user specified high time of anything from 0.5 ms to 100 ms, and repeat this procedure every (1 s -10 s) a certain amount of times.
For some reason I cannot change the high time to anything higher than 15 ms, even though it gets an input higher that 15 ms. Anything below 15 ms the whole program works just fine.
Does anyone know what could be the problem?
I am using the pci-6024E card.

Kind regards Kaqmak

0 Kudos
Message 1 of 3
(3,360 Views)

Hello Kaqmak

The reason that it seems you only are able to set a high time of about 15 mS is that you are terminating your task before its completed. You should use the "DAQmx wait until done.vi" as shown in the "Gen Dig Pulse.vi" example which is included in the Example finder of LabVIEW. I have attached an example of how to do this...

You should be able to generate a pulse that is at least about 167 seconds.. see the following link.

http://digital.ni.com/public.nsf/websearch/F66CCAB02D3B901886256A03005EE14A?OpenDocument

Regards

Mohadjer, NI-DK

0 Kudos
Message 2 of 3
(3,346 Views)
Thanks a lot. Exactly what I need.
0 Kudos
Message 3 of 3
(3,343 Views)