diff options
Diffstat (limited to 'libvxi11client/perlbits/testscript.pl')
-rwxr-xr-x[-rw-r--r--] | libvxi11client/perlbits/testscript.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvxi11client/perlbits/testscript.pl b/libvxi11client/perlbits/testscript.pl index 9ba7053..f7e9e42 100644..100755 --- a/libvxi11client/perlbits/testscript.pl +++ b/libvxi11client/perlbits/testscript.pl @@ -7,10 +7,10 @@ use VXI11::Client; vxi_startinterruptserver(); -my $instr = vxi_open("roi", 0); +my $instr = vxi_open("192.168.0.62", 0); $instr->vxi_lock(0); -$instr->vxi_write(data => "*IDN?"); +$instr->vxi_write("*idn?"); my ($bytes, $buff, $reason) = $instr->vxi_read(); print "got " . $bytes . ";" . $buff . " reason " . $reason ."\n"; |