Lab::XPRESS::Sweep::Frame - Frames for nested sweep structures
version 3.651
use Lab::XPRESS::hub; my $hub = new Lab::XPRESS::hub(); my $frame = $hub->Frame(); $frame->add_master($sweep_0); $frame->add_slave($sweep_1); $frame->add_slave($sweep_2); $frame->add_slave($sweep_3); $frame->start();
.
Parent: Lab::XPRESS::Sweep
The Lab::XPRESS::Sweep::Frame class implements a module to organize a nested sweep structure in the Lab::XPRESS::Sweep framework.
The Frame object has no parameters. .
my $frame = $hub->Frame();
Instantiates a new Frame object.
$frame->add_master($sweep);
use this methode to add a master sweep to the frame object. A Frame accepts only a single master sweep.
$frame->add_slave($sweep);
use this methode to add a slave sweep to the frame object. A Frame can have several slave sweeps.
The order in which the slave sweeps are added to the frame object, defines the sequence in which the individual slave sweeps will be executed.
$frame->add_slave($sweep_1); $frame->add_slave($sweep_2); $frame->add_slave($sweep_3);
The frame object accepts also another frame object as a slave sweep. This way you can build up a multi level nested sweep structure.
my $inner_frame = $hub->Frame(); my $outer_frame = $hub->Frame(); $inner_frame->add_master($sweep_0); $inner_frame->add_slave($sweep_1); $inner_frame->add_slave($sweep_2); $inner_frame->add_slave($sweep_3); $outer_frame->add_master($sweep_10); $outer_frame->add_slave($sweep_11); $outer_frame->add_slave($inner_frame); $outer_frame->add_slave($sweep_11); $outer_frame->start();
$frame->start();
use this methode to execute the nested sweeps.
This software is copyright (c) 2018 by the Lab::Measurement team; in detail:
Copyright 2012 Stefan Geissler 2013 Andreas K. Huettel, Christian Butschkow, Stefan Geissler 2014 Christian Butschkow 2016 Simon Reinhardt 2017 Andreas K. Huettel
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
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.