Hi,
I'm controlling an oscilloscope through GPIB. The oscilloscope is the DL9040 from the Yokogawa company. I'm using the driver provided from NI and it works properly. With the driver I can communicate with the instrument without problems (acquire waveforms, save image..). However, I have a problem trying to measure some parameters from the waveform like the frequency, duty cycle and others.
My problem is that the response of the oscilloscope to any query is NaN. For example, if I want to measure the frequency of the trace 1 (wavefrom from channel 1) I have to write the followign command:
:MEAS:TRACE1:AREA1:FREQ:VAL?
And unfortunately the response is NaN. I don't understand this, because if I measure the frequency manually with the buttons of the instrument the frequency is 10 kHz.I don't know where is the error or what things I have to configure. I also have to say that this happens with any paramater to measure (Burst, Maximum, MInimum..).
I have attached the VI that I used to measure the parameters.
Any help is appreciated.
Thank you.