LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Delay analog output signal generation

Hi all,

Thanks for such a wonderful platform. I have always got some idea to solve my problem here.My problem today is to delay the analog signal generation by certain seconds of time.

 

I have been generating an analog signal using NI-9263 module on NI-cDAQ 9174 and using a 5v external TTL signal to trigger the same.

I would now like to start the generation. say 5s after I press the trigger.I wonder if this can be achieved.

Looking for some helpful suggestions.

 

0 Kudos
Message 1 of 2
(1,937 Views)

You can do this using the Start.Delay and Start.DelayUnits inputs to the DAQmx Trigger property node.

 

  • Connect a property node to your DAQmx Task (the default type will read "DAQmx Event").
  • Right-click on the  node and choose "Select DAQmx Class" > "DAQmx Trigger".
  • Choose "Start" > "More" > "Delay" and then optionally drag down to also set "DelayUnits".
  • The default Delay Units is "Sample Clock Periods" - probably you want to set it to "Seconds" using the Create > Constant options.
  • Wire a value to the Delay line on the property node, to set in the appropriate units (i.e. 5 with DelayUnits = Seconds in your example).

triggering.png


GCentral
Message 2 of 2
(1,890 Views)