You set the mode of acquisition in the Measurement & Automation Explorer. If you are wanting to set this mode programmatically, you can do it with the AI_Configure function. You can even set some channels to differential and others to single-ended as detailed in the Knowledgebase
here.
Best Regards,
Chris Matthews
National Instruments