Dear Jacopo,
JB correctly pointed out that counter output are digital TTL so you can't change amplitude nor offset.
However you can change Output frequency in analog output tasks and rewrite new analog waveform while the task is running (M series board 62xx are needed).
Please check the examples Hardware InputAndOutput>>DAQmx>>Analog Generation>>Current>>Cont Gen Voltage Wfm-Int Clk-Non Regeneration.vi and Cont Gen Voltage Wfm-Int Clk-Variable Rate.vi you should be able to get all the information you need from them.
Best Regards
FiloP
It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
Richard P. Feynman