Hi nyc,
Thank you for your response.
I managed to get the sample program for the device to set the power monitor mode and read MIN, MAX and AVE data (see attached pdf file). Unfortunately the program is written in Basic and I have to admit that I have no experience whatsoever in programming in Basic.
I would be grateul is there is someone out there with a Win32 console application which can query the device (Advantest Optical Spectrum Analyser model Q8381A) and log the above mentioned data.
Again I will appreciate if I get any hints, ideas or sample programs.