Lab::Moose::Instrument::RS_SMB - Rohde & Schwarz SMB Signal Generator
version 3.611
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);
Used roles:
$smb->set_power(value => -10); $power = $smb->get_power(); # or $smb->cached_power();
Get set output power (dBm);
$smb->set_frq(value => 1e6); # 1MHz $frq = $smb->get_frq(); # or $smb->cached_frq();
Get/Set output frequency (Hz).
This software is copyright (c) 2017 by the Lab::Measurement team; in detail:
Copyright 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.