| 1 | package Lab::Moose::Instrument::RS_ZNL; | ||||||||||
| 2 | 1 | $Lab::Moose::Instrument::RS_ZNL::VERSION = '3.931'; | |||||||||
| 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 | 0 | ▶ | sub format_border_query() { | ||||||||
|
Subroutine
format_border_query: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 17 | 0 | return 'SWAP'; | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | 0 | ▶ | sub format_border { | ||||||||
|
Subroutine
format_border: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 21 | 0 | my ( $self, $value, %args ) = validated_setter( \@_ ); | |||||||||
| 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__ | ||||||||||