NAME

Lab::Moose::Instrument::Zhinst - Base class for Zurich Instruments device drivers

VERSION

version 3.613

METHODS

list_nodes

my $nodes = $instr->list_nodes(path => $path, mask => $mask);

Call Lab::Zhinst ListNodes method.

get_value

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.

sync_set_value

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.

sync_poll

my $sample = $instr->sync_poll(
    path => "$device/imps/0/sample",
    timeout => 0.1,
);

Poll event and return the most recent value in the event. Before doing the poll, flush the event queque with a Sync to ensure that we get a newly recorded event.

COPYRIGHT AND LICENSE

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.