A battery is a floating signal source, it has an isolated ground-reference point. If you want to use differential (diff) analog input mode you must tie the ground reference of the battery to your DAQCard analog input ground to establish a local or onboard reference for the signal. E.g. if you have +ve and -ve battery terminals connected into ch0 and ch8 input respectively, place a wire from ch8 to aignd.
Alternatively, you could just use single-ended ground referenced (rse) mode, where you just connect +ve and -ve battery terminals into an analog channel input and analog input ground (aignd) respectively.
I have attached a jpg of summary of available analog input configuration for DAQCards, it was taken from an NI user manual for E series DAQCards.
Not su
re if you know how to change the input configuration, but it is done through MAX. When you go to Devices and Interfaces branch and right click your device and select Properties, then go to the AI tab and it is under Mode menu item.
Gluck!