01-23-2013 01:34 AM
Hi all,
I am trying to generate a clock puse from the digital output of my USB DAQ 6009. The maximum frequency I was able to produce was 0.5kHz but I would like to generate atleast 1kHz. I hv wired the port0/line0 of the DIO of the DAQ to the ai0 of the DAQ and thus tried to read the output through an anlog input of the same device. I have attached both the programs here. Am not sure whether it is right. Please help out. Thanks in advance.
Solved! Go to Solution.
01-23-2013 06:38 AM
With a software timing DIO, you can't say you are running at a certain rate. Software is not a reliable timing source. You could use the analog output, but you are limited to 150Hz rate with your board.
In order to make a good clock, you need a Hardware Timed DIO.
01-23-2013 06:56 AM
Thanks for the reply. Is the value you mentioned 150Hz a constant value for the device? The data sheet specifies that the sample rate is 48KS/s for USB 6009. Does that have anything to do with the rate at which I can transmit an analog output? What i exactly want to know is that will I be able to send the analog output at a rate equal to the specified sample rate?
01-23-2013 07:18 AM
The 150S/s is the maximum rate of the Analog Output. The 48kS/s is the maximum rate of the Analog Input. Read the specs a little closer.
This unit is not going to do what you want. I would recommend getting a hold of your local NI rep and discuss your requirements with them. They should be able to set you up.
01-23-2013 09:14 PM
Thanks for the clarification. I understood now.