The device you are using is supported under DAQmx. If you are using a API that supports DAQmx such as LabVIEW 7.x, then I suggest using a program that is written using the NI-DAQmx driver.
The next step that you should do is determine what type of signal it is that you are going to be acquiring. Is it going to be analog? If so, what is the range of the signal (i.e. 0..10 V, -10..10 V, etc.). You will then want to use a shipping example which will be installed when you install NI-DAQ. If you are using LabVIEW, you can view the examples by selecting Help from the LabVIEW menu and then selecting Find Examples. This will launch the LabVIEW Example Finder at which point you would want to locate an Analog Input example under the Hardware Input and Output directory.
Once you have the example that you wish to use, then confirm that you have the appropriate signal connections made. You can confirm that you are connected to right pins by viewing the pinout of your device. You can locate the pinout by finding the manual located at
ni.com/manuals.
If it is not an analog signal that you are trying to acquire, but rather a digital signal that is TTL compliant, then you may consider using a counter example to acquire pulse counts or frequency measurements. Again I point you to the example finder and the device manual.
In regards to seeing a flat 5 V, this typically means that you have a floating signal and the A/D is railed at the maximum range setting. Check your physical connections, your voltage range, and your terminal configuration (Differential, RSE, NRSE).
Best of luck.
Jared A