Hi Bo,
For some reason your original post was not picked up, but I have posted
back here as the application is definitely relevant to this forum area.
with regards to your questions, generating singlas with a desired
frequency is a very common counter application. the timebase that you
use will define the accuracy of the signal that you generate, but you
can generate a signal with whatever frequence you desire within the
paramters of the device itself. The clock is simply the timebase that
the counter uses to know when it should generate a pulse. If you need a
signal with microsecond accuracy, I interpret it that you need to
generate a signal with a mHz frequency, is that correct?
As for generating mutliple signals with the counters. You can only
generate one signal at a time on a counter because the counter
circuitry has one counter out terminal. you can modify the frequency on
the fly so in theory by alternating quick enough, you could generate a
signal with multiple frequency components. but it doesn't sound like
this is what you want and I wouldn't reccomend it anyway, programming
this could cause you problems. As to whether you have to use counters
to generate a micro second pulse, the answer is unfortunately yes. If
you were to use DIO instead, the signal would be square wave and only
have a milli second accuracy (as this is all software allows on a
windows based system).
As to your last question, the accuracy specification refers to the
resolution of the device. by 16bits, it means that the device can
convert an analog voltage into a 2^16 number of discrete digital bins.
The maximum sampling rate is really defined by the bus platform you are
using as it essentially dictates how quickly data can be taken from the
card into. The max speed which you can sample at is 333MHZ which is the max speed that the PCI bus can transfer date. The
speed at which the ADC and multiplexer works is, at the moment, not the
limiting factor on the acquisition speed. Again, I think you are just
slightly confusing yourself over the acquisition rates and the clock
that it uses to synchronise acquisition.
I hope this clears things up for you.
Rob L
NI Applications Engineer
UK & Ireland
It only takes a click to rate this message 😉