diff options
Diffstat (limited to 'libvxi11client/perlbits/VXI11-Client.t')
-rw-r--r-- | libvxi11client/perlbits/VXI11-Client.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvxi11client/perlbits/VXI11-Client.t b/libvxi11client/perlbits/VXI11-Client.t index 8d24475..affa622 100644 --- a/libvxi11client/perlbits/VXI11-Client.t +++ b/libvxi11client/perlbits/VXI11-Client.t @@ -18,10 +18,10 @@ BEGIN { use_ok('VXI11::Client') }; &VXI11::Client::vxi_startinterruptserver(); -my $instr = &VXI11::Client::vxi_open("roi", 0); +my $instr = &VXI11::Client::vxi_open("192.168.0.62", 0); is($instr->vxi_lock(0), 1, "Lock"); -ok($instr->vxi_write(data => "*IDN?") > 0, "Write"); +ok($instr->vxi_write("*idn?") > 0, "Write"); my ($bytes, $buff, $reason) = $instr->vxi_read(); print "got " . $bytes . ";" . $buff . "\n"; |