Hi,
If you have a look in the program files/national instruments/ni-daq/examples/vbasic/di directory you will find a few examples of DI. I have attached DIdoubleBufPatternGenExtClock653x.FRM which is an example of Digital input with an external clock for the 6533.
Kind Regards
Tristan
Applications Engineer
National Instruments