| 1 | package Lab::Moose::Instrument::RS_ZNL; | ||||||||||
| 2 | 1 | $Lab::Moose::Instrument::RS_ZNL::VERSION = '3.881'; | |||||||||
| 3 | #ABSTRACT: Rohde & Schwarz ZNL Vector Network Analyzer | ||||||||||
| 4 | |||||||||||
| 5 | 1 | ▶ | use v5.20; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 1 | ▶ | use Carp 'croak'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 1 | extends 'Lab::Moose::Instrument::RS_ZVA'; | |||||||||
| 10 | |||||||||||
| 11 | # does not support USBTMC | ||||||||||
| 12 | |||||||||||
| 13 | |||||||||||
| 14 | |||||||||||
| 15 | # The ZNL only supports SWAP byte order. It does not have a FORMAT:BORDER command. | ||||||||||
| 16 | sub format_border_query() { | ||||||||||
| 17 | 0 | ▶ | return 'SWAP'; | ||||||||
|
Subroutine
format_border_query: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | sub format_border { | ||||||||||
| 21 | 0 | ▶ | my ( $self, $value, %args ) = validated_setter( \@_ ); | ||||||||
|
Subroutine
format_border: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 22 | |||||||||||
| 23 | 0 | ▶ | if ( $value ne 'SWAP' ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 24 | 0 | croak 'The R&S ZNL only suppots SWAP byte order.'; | |||||||||
| 25 | } | ||||||||||
| 26 | 0 | return $self->cached_format_border($value); | |||||||||
| 27 | } | ||||||||||
| 28 | |||||||||||
| 29 | 1 | __PACKAGE__->meta->make_immutable(); | |||||||||
| 30 | |||||||||||
| 31 | 1 | 1; | |||||||||
| 32 | |||||||||||
| 33 | __END__ | ||||||||||
| 34 | |||||||||||
| 35 | =pod | ||||||||||
| 36 | |||||||||||
| 37 | =encoding UTF-8 | ||||||||||
| 38 | |||||||||||
| 39 | =head1 NAME | ||||||||||
| 40 | |||||||||||
| 41 | Lab::Moose::Instrument::RS_ZNL - Rohde & Schwarz ZNL Vector Network Analyzer | ||||||||||
| 42 | |||||||||||
| 43 | =head1 VERSION | ||||||||||
| 44 | |||||||||||
| 45 | version 3.881 | ||||||||||
| 46 | |||||||||||
| 47 | =head1 SYNOPSIS | ||||||||||
| 48 | |||||||||||
| 49 | my $data = $znl->sparam_sweep(timeout => 10); | ||||||||||
| 50 | |||||||||||
| 51 | =head1 METHODS | ||||||||||
| 52 | |||||||||||
| 53 | See L<Lab::Moose::Instrument::VNASweep> for the high-level C<sparam_sweep> and | ||||||||||
| 54 | C<sparam_catalog> methods. | ||||||||||
| 55 | |||||||||||
| 56 | =head1 COPYRIGHT AND LICENSE | ||||||||||
| 57 | |||||||||||
| 58 | This software is copyright (c) 2023 by the Lab::Measurement team; in detail: | ||||||||||
| 59 | |||||||||||
| 60 | Copyright 2020 Simon Reinhardt | ||||||||||
| 61 | |||||||||||
| 62 | |||||||||||
| 63 | This is free software; you can redistribute it and/or modify it under | ||||||||||
| 64 | the same terms as the Perl 5 programming language system itself. | ||||||||||
| 65 | |||||||||||
| 66 | =cut | ||||||||||