Your post is a bit short on details...
What DAQ device are you using? What "sample clock" do you mean?
The M-series devices use what NI calls "correlated" DIO. That means the DIO subsystem doesn't have its own clock, but that you can do clocked DIO using some other source of clock signals. You can use an external clock, or one of the various on-board signals, including the output of a pulse train from a counter/timer, the sample clock from a running AI or AO scanning operation, etc.
Some S-series devices can do correlated DIO also.
Some of the dedicated DIO devices have clocks and support independent clocked DIO.
The rate is constant if your source of clock pulses has a constant rate. The counter/timers on M-series produce pulse trains at a constant rate, but you can change the rate on the fly. AI and AO clocks are at a constant rate. An external clock is whatever you provide.
John Weeks
WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com