10-07-2009 07:04 PM - edited 10-07-2009 07:06 PM
hey guys,
I have a TTL signal being generated from a device, I need my daq to read that TTL signal frequency and send the same TTL signal with DOUBLE the frequency.
the catch is, I only have on available counter i/o left (because the other is being used to generate to power the device).
also have a SCB 68 and I'm reading that the digital inputs can read TTL signals. So will it be possible for the digital i/o to read the TTL signal frequency and output (via counter i/o) the same TTL signal (where I can use LabVIEW to modify the frequency)?
thanks in advance!
devices:
SCB-68 E series
DAQ PCI-6229
10-09-2009 12:07 AM
You can use a digital input to calculate a frequency, it just won't be as easy as with a counter as you will have to do it in software. At that point, you can set a frequency on the counter output.
The other problem with using the digital line is that it cannot read as high of a frequency as a counter can. What frequency are you expecting your signal to be? That will help determine how feasible this setup is for you.
10-09-2009 12:49 AM
my highest frequency (F) will probably not go higher than 50 Hz.
ugh i have no idea how to set up the method you suggested to do so lol
thanks for the response!
10-09-2009 11:15 AM
10-09-2009 12:18 PM
here is what i have so far actually (in picture attached)
for some reason it only outputs on the first line of digital output
maybe it's because of the error daisy chain and everything goes in series?
i'm going to try to make it independent by making it separate and will tell you how it goes later today.
also this is the original example i got it from.
it's actually different from what i am asking but generally it is sending out 3 different frequencies (F, F/2, and F/4) in SYNC (using the same internal clock).
thanks in advance!