Lab::Moose::Instrument::RS_FSV - Rohde & Schwarz FSV Signal and Spectrum Analyzer
version 3.641
my $data = $fsv->get_spectrum(timeout => 10);
This driver implements the following high-level method:
$data = $fsv->get_spectrum(timeout => 10, trace => 2, precision => 'double');
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 for the sweep operation. If this is not given, use the connection's default timeout.
number of the trace (1..6). Defaults to 1.
floating point type. Has to be 'single' or 'double'. Defaults to 'single'.
This driver consumes the following roles:
This software is copyright (c) 2018 by the Lab::Measurement team; in detail:
Copyright 2016 Simon Reinhardt 2017 Andreas K. Huettel, Simon Reinhardt
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Lab::Measurement, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lab::Measurement
CPAN shell
perl -MCPAN -e shell install Lab::Measurement
For more information on module installation, please visit the detailed CPAN module installation guide.