Lee,
This is going to be very difficult to do with the DI-330 since it isn't really meant for an application like that. You could try to use software polling to determine the time between changes, but your results will be very dependent on the time between changes and not very accurate compared to the next solution.
The other solution is to use a counter module such as the CTR-500 or CTR-502. These modules are designed for applications like this. Check out the CTR-500 and CTR-502 operating instructions to find out more about the voltage requirements and such. Here are the links:
http://digital.ni.com/manuals.nsf/websearch/5AE49B0DECF9430286256D4A0061F5DA?OpenDocument&node=132100_US
http://digital.ni.com/manuals.nsf/websearch/FD58CA0682B21E5B86256D4A006
2510A?OpenDocument&node=132100_US
Ames