NAME

Lab::Moose::Instrument::HP8596E - HP8596E Spectrum Analyzer

VERSION

version 3.831

SYNOPSIS

my $data = $hp->get_spectrum(trace=>1, timeout => 10);

Driver for HP8596E series spectrum analyzers

METHODS

validate_trace_param

Validates or applies hardware friendly aliases to trace parameter. Trace has to be in (1..3).

Missing SCPI functionality

HP8596E has no Sense:Sweep:Points implementation

sense_sweep_points_query

sense_sweep_points

NAME

Lab::Moose::Instrument::HP8596E - HP Spectrum Analyzer

VERSION

version 3.621

METHODS

This driver implements the following high-level method:

get_spectrum

$data = $hp->get_spectrum(timeout => 10, trace => 2);

Perform a single sweep and return the resulting spectrum as a 2D PDL:

[
 [freq1,  freq2,  freq3,  ...,  freqN],
 [power1, power2, power3, ..., powerN],
]

I.e. the first dimension runs over the sweep points.

This method accepts a hash with the following options:

timeout

timeout for the sweep operation. If this is not given, use the connection's default timeout.

trace

number of the trace (1..3). Defaults to 1.

SEE ALSO

This driver modeled closely to RS_FSV (see Lab::Moose::Instrument::RS_FSV) and should perform similar functions.

In particular commands from the following SCPI subsystems are implemented

Lab::Moose::Instrument::SCPI::Sense::Frequency, Lab::Moose::Instrument::SCPI::Sense::Sweep

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by the Lab::Measurement team; in detail:

Copyright 2018       Eugeniy E. Mikhailov
          2020       Andreas K. Huettel

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.