Lab::Moose::Instrument::Zhinst - Base class for Zurich Instruments device drivers.
my $nodes = $instr->list_nodes(path => $path, mask => $mask);
Call Lab::Zhinst ListNodes method.
my $filter_order = $instr->get_value(path => "$device/demods/0/order", type => 'I'); my $demod_hash = $instr->get_value(path => "$device/demods/0/sample", type => 'DemodSample');
Call Lab::Zhinst Get* method. Supported values for the $type argument: I (integer), D (double), B (byte array), Demod, DIO, AuxIn.
$type
my $set_tc = $instr->sync_set_value( path => "$device/demods/0/timeconstant", type => 'D', value => '1.1', );
Call Lab::Zhinst SyncSet* method. Supported values for $type: I, D, B.
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.