NAME
Lab::Moose::Instrument::KeysightN9310A - Keysight N9310A Signal Generator
VERSION
version 3.901
SYNOPSIS
my $gen = instrument(
type => 'KeysightN9310A',
connection_type => 'VISA',
connection_options => {host => '192.168.3.26'},
);
# Set frequency to 2 GHz
$gen->set_frq(value => 2e9);
# Get frequency from device cache
my $frq = $gen->cached_frq();
# Set power to -10 dBm
$gen->set_power(value => -10);
METHODS
Used roles:
get_power/set_power
$gen->set_power(value => -10);
$power = $gen->get_power(); # or $get->cached_power();
Get set output power (dBm);
get_frq/set_frq
$gen->set_frq(value => 1e6); # 1MHz
$frq = $gen->get_frq(); # or $gen->cached_frq();
Get/Set output frequency (Hz).
COPYRIGHT AND LICENSE
This software is copyright (c) 2023 by the Lab::Measurement team; in detail:
Copyright 2017 Andreas K. Huettel, Simon Reinhardt
2018 Simon Reinhardt
2023 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.