diff options
Diffstat (limited to 'libvxi11client/perlbits/testscript.pl')
-rw-r--r-- | libvxi11client/perlbits/testscript.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvxi11client/perlbits/testscript.pl b/libvxi11client/perlbits/testscript.pl index f9653b6..9ba7053 100644 --- a/libvxi11client/perlbits/testscript.pl +++ b/libvxi11client/perlbits/testscript.pl @@ -11,7 +11,7 @@ my $instr = vxi_open("roi", 0); $instr->vxi_lock(0); $instr->vxi_write(data => "*IDN?"); -my ($bytes, $buff, $reason) = $instr->vxi_read(256, 0, 0, 0); +my ($bytes, $buff, $reason) = $instr->vxi_read(); print "got " . $bytes . ";" . $buff . " reason " . $reason ."\n"; my ($error, $statusbyte) = $instr->vxi_readstatusbyte(0); |