Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

trigger delay with digital edge trigger

I'm trying to set up a trigger for a task that generates a digital pulse train. I'm using the DAQmx tirgger vi with digital edge and would like to include a variable delay. My version of LabVIEW is 8.5. In the LabVIEW help I can see that there is a property node for the trigger called Start:More:Delay. Will this do the job? If so, how come I cannot find this property anywhere under the trigger node (under Start:More I only see retriggerable). Is there some toolbox I need to install? If this will not do the job or there are better ways to do this, I would very much like to hear about it.
 
Thanks,
 
Peter
0 Kudos
Message 1 of 4
(5,019 Views)
Hello Peter

Right-click the Property Node and choose Select Filter from the shortcut menu to make the Property Node show only the properties supported by a particular device installed in the system or supported by all the devices installed in the system.

Hope this resolves you problem.
Regards,
Eirikur Runarsson
0 Kudos
Message 2 of 4
(4,999 Views)

Hi Eirikur,

thank you for your reply.

When I set the filter to show only attributes for configured devices I do not get the option of delay (I can see this if I have it show all attributes). My counter card is a PCI-6602. Do you know if this does not support the delay option? If so, is there another way to set a trigger delay?

Thanks,

Peter.

0 Kudos
Message 3 of 4
(4,959 Views)
Hi Peter,

You are right. The PCI-6602 does not support the Start trigger delay.

Another way to set a delay is to use DAQmx Create Channel configure it as an counter output, pulsegeneration and the frequency,
and set the initial delay control to the amount of time to delay.

You can see this in an example named Gen Dig Pulse Train-Finite Dig Start.vi which can be found in the Example Finder
under Hardware Input Output\DAQmx\Generating Digital Pulses\Gen Dig Pulse Train-Finite Dig Start.vi

DAQmx Create Channel (CO Pulse Generation-Frequency).vi has a control named Initial Delay and is the
amount of time in seconds the DAQmx Create Channel waits before generating the first pulse.
If you want a varialbe delay, you can just replace this constant with a control.

Regards,
Eirikur Runarsson
0 Kudos
Message 4 of 4
(4,893 Views)