SignalAnalyser with PC SDK

Hi,
Is there any way to automate measuring via SignalAnalyser using PC SDK? I need to start SA for every new task and then export data to csv. Does anybody have experience with that?