NAME
Lab::Moose::Instrument::DummySource - Dummy YokogawaGS200 source for use with 'Debug' connection
VERSION
version 3.881
SYNOPSIS
use Lab::Moose;
my $source = instrument(
type => 'DummySource',
connection_type => 'Debug',
connection_options => {verbose => 0},
# mandatory protection settings
max_units_per_step => 0.001, # max step is 1mV/1mA
max_units_per_second => 0.01,
min_units => -10,
max_units => 10,
);
# Step-sweep to new level.
# Stepsize and speed is given by (max|min)_units* settings.
$source->set_level(value => 9);
# Get current level from device cache (without sending a query to the
# instrument):
my $level = $source->cached_level();
COPYRIGHT AND LICENSE
This software is copyright (c) 2023 by the Lab::Measurement team; in detail:
Copyright 2017 Simon Reinhardt
2020 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.