agesa_init() allways returns 0xBFFF0015 if you want to initialize a E4443A which is set to "Basic mode". The problem seems to be, that the driver wants to get it's attributes and sends a :BAND:RES:AUTO? to the analizer. But that command doesn't work, if the analizer is set to "Basic mode" and causes a timeout (see attached logfile). I think that this a bug in the driver since that makes it impossible to write a program which is independent from the analyzers prevous state. Possible fix : Set Analyzer to "Spectrumanalyzer mode" before trying to get the attributes ( at least when Reset device option is choosen) .
PS: The forum software should also accept .spy files from NI spy as attachment