Hello group,
i read data from a hp universal counter to detect if a measured
frequency from a device is in a right range. but sometimes i get
faulty results from my instruments, if i do a "rc = hp5313xa_dataRes
(hp53132a, &mw);".
Please see the spy-file i attached with this post. The rc-value of the
called function is always 0 (success). but if i look at the spy-file i
can see some error-messages. Please have a look at the spy-file
between line 32-36. The correct value should be approximately 10MHz
and the instruments display shows allways the correct value but the
instrument driver return other values. Since the spy-file shows the
faulty value, i think the instrument driver parse the data correctly.
But
where can the problem be located? Unfortunately the returned
function code is zero, so i can?t filter the faulty results.
Thanks in advanced for your support
Gregoire
I?m using Measurement Studio 6.0
Installed Visa-Version: 2.6
Installed Ivi-Version: 1.83
Used driver for HP53132a: Visa driver hp5313xa (dated 20.12.2001)
[Attachment hp53132a_spyfile.spy, see below]