lab-measurement / Lab-Measurement

Lab::Measurement allows to perform test and measurement tasks with Perl scripts.
https://www.labmeasurement.de/
Other
10 stars 12 forks source link

Keithley2000.pm is broken for all connections except VISA #55

Closed akhuettel closed 3 years ago

akhuettel commented 3 years ago
    my $status = Lab::VISA::viSetAttribute(
        $self->{vi}->{instr},
        $Lab::VISA::VI_ATTR_TMO_VALUE, $timeout
    );
    if ( $status != $Lab::VISA::VI_SUCCESS ) {
        croak "Error while setting baud: $status";
    }

^ you can't do this because you dont know whether the device is even attached with Lab::VISA ...

akhuettel commented 3 years ago

Fixed in 323776283a81ffd09fcbecd58df0b1bbe78ed4b5