NAME

Lab::Moose::Instrument::RS_SMB - Rohde & Schwarz SMB Signal Generator

VERSION

version 3.904

SYNOPSIS

my $smb = instrument(
   type => 'RS_SMB',
   connection_type => 'VXI11',
   connection_options => {host => '192.168.3.26'},
   );
   
# Set frequency to 2 GHz
$smb->set_frq(value => 2e9);

# Get frequency from device cache
my $frq = $smb->cached_frq();

# Set power to -10 dBm
$smb->set_power(value => -10);

METHODS

Used roles:

Lab::Moose::Instrument::SCPI::Source::Power
Lab::Moose::Instrument::SCPI::Output::State

get_power/set_power

$smb->set_power(value => -10);
$power = $smb->get_power(); # or $smb->cached_power();

Get set output power (dBm);

get_frq/set_frq

$smb->set_frq(value => 1e6); # 1MHz
$frq = $smb->get_frq(); # or $smb->cached_frq();

Get/Set output frequency (Hz).

COPYRIGHT AND LICENSE

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

Copyright 2017       Andreas K. Huettel, Simon Reinhardt
          2018       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.