Hi Timo
The integers for AC is 10045, DC is 10050 and grnd is 10066. I am attaching a picture where u can find these integers for the options.
As far as example for configuring SVT sweep VI you can get a VI called SVXMPL_getting started with swept sine.vi (DAQmx) in Find examples
Search for Sweep and u will get this VI. It explains a lot and is in detail about how you can configure your acquistion. Play with that Vi and you will get what you want from it for your data acquistion.
Regards,
Nitin