Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

starting freqout, output a clock signal

Does anyone know how i start freqout in labview. On test panels i can start it and it appears on a PFI pin, but i cant figure out how to start it running in labview.
 
Ultimatley, im looking to use a clock signal (either this or an external clock) to trigger the daq to write the next bit in an array to an output pin. The aim being to use this to program a bunch of DACs. Ive done similar triggering to output analog signals in labview before so that bit of it i should be able to do.
 
In a nutshell im just trying to set a clock running and then be able to use that clock externally.
 
cheers
Mike
0 Kudos
Message 1 of 2
(3,890 Views)
Hi Mike,

Have a look in the DAQmx examples for how to generate a clock source. Go to Help » Find Examples in LabVIEW and browse to Hardware Input and Output » DAQmx » Gen Dig Pulse Train-Continuous.vi. This will output a square wave of settings you specify to the default PFI line for your hardware.

Once you are running this, you can then use another example, such as Hardware Input and Output » DAQmx » Cont Write Dig Port-Ext Clk to output digital signals using the square wave as the timebase.

Finally, you can route the clock to other pins using the DAQmx routing VIs - go to the functions palette in LabVIEW then to Measurement I/O » DAQmx » DAQmx Advanced » DAQmx Signal Routing. Have a look at the help for these functions that let you route your clock source around.

Hope that helps!
Tom

Applications Engineering, NI UK
Message 2 of 2
(3,860 Views)