NAME

Lab::Moose::Instrument::SCPI::Sense::Function - Role for the SCPI SENSe:FUNCtion subsystem

VERSION

version 3.671

DESCRIPTION

This role is intended for instruments which support a single sense function. The command for setting the function must be SENS:FUNC $function. Instruments with concurrent sense shell use the Sense::Function:Concurrent role.

The set sense function is used by other SENSE: roles, like SENSE:NPLC. For example,

 $source->sense_function(value => 'CURR');
 $source->sense_nplc(value => 10);

will set the integration time for current measurement to 10 power line cycles.

METHODS

sense_function_query

sense_function

Query/Enable the sense function used by the instrument

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by the Lab::Measurement team; in detail:

  Copyright 2016       Simon Reinhardt
            2017       Andreas K. Huettel, Simon Reinhardt
            2018       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.