A collection of examples for the pylibnidaqmx module, Pearu Peterson's python interface to the NI-DAQmx library from National Instruments:
an example which prints out the hardware configuration for the NI-DAQ boards on a computer
Turn a digital output on and off based upon a system software timing (imprecise)
Do high-performance digital output by using the sample clock while doing simulatenous analog input sampling
Do high-performance digital output by using the sample clock while doing simulatenous analog output
How to do simultaneous analog input and output using finite sampling.