Download This documentation as PDF

Transcript
1 The Lab::Measurement package
Configures all the details of the device’s DC voltage measurement function.
$range is a positive numeric value (the largest expected value to be measured) or
one of ’MIN’, ’MAX’, ’AUTO’. It specifies the largest value to be measured. You can
set any value, but the HP/Agilent 34401A effectively uses one of the values 0.1, 1, 10,
100 and 1000V.
$integration_time is the integration time in seconds or MIN MAX DEF. This implicitly sets the provided resolution.
$resolution sets the resolution of the measurment. If set, $integration_time is overwritten.
configure_voltage_dc_trigger
$hp - > c o n f i g u r e _ v o l t a g e _ d c _ t r i g g e r ( $range , $integration_time ,
$count , $delay , $resolution )
Configures the device for successive triggered reading events. Does not initiate the
trigger facility. Reading can then be performed calling triggered_read(). The first
three parameters are just passed to configure_voltage_dc.
$count is an integer for the number of successive readings that follow one single
trigger event.
$delay is the delay in seconds between these readings.
triggered_read
@data = $hp - > triggered_read () ;
Sends a trigger pulse and fetches the values from the instrument buffer once the
reading is finished.
read_trig()
facility.
Sends a read trigger to the device. It does not initialize the trigger
init() Initializes the trigger facility. The device is then in the state "waiting for
trigger".
get_value
$data = hp - > get_value () ;
Inherited from Lab::Instrument::Multimeter. Performs a single reading in the current
configuration.
get_voltage_dc
$datum = $Agi - > get_voltage_dc ( $range , $resolution ) ;
Preset and make a dc voltage measurement with the specified range and resolution.
146