05-21-2024 03:53 PM
Hello. Where can I find VIs that allow me to understand what a "Tick" is in Labview using DAQmx and the FPGA module. Thank you.
05-21-2024 05:31 PM
I'm not sure I know the appropriate answer to your question, "Where can I find VIs that allow me to understand what a "Tick" is in Labview using DAQmx and the FPGA module". I'm not sure a "tick" is well-defined for DAQmx, and I'm not sure that what I think is a "tick" in FPGA is the "official" NI definition.
In DAQmx, there is a DAQmx timing function that allows you to set the "Timing Clock" that governs the sampling rate of, say, an A/D converter. This (of course) needs to be "consistent" with the capabilities of the hardware you are using, and governs how fast the signal is sampled by the hardware. When combined with the number of samples, the two (sample size / sample frequency, or, say, 1000 samples / 1000 Hz = 1 sec) tell you how often the DAQmx Read or Write produces (or requires) data.
In the FPGA, there are several timing functions that "wait" for units of time. One is the "tick", the time for a "tick" of a 40 MHz clock, or 25 ns. The other two time units are the microsecond and millisecond. Note that programming an FPGA is very different from using DAQmx to handle I/O.
Bob Schor