Pasi,
What do you mean by "write the trace to analyzer"? Did you actually acquire anything with the analyzer?
There are some application examples come with the instrument driver, try run those examples and see if they work first.
You also said "For reading/writing the other parameters I use simple vi's by me." Do you mean that you wrote your own VIs?