summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits/testscript.pl
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2013-01-22 14:33:34 -0500
committerMichael J. Chudobiak <mjc@avtechpulse.com>2013-01-22 14:33:34 -0500
commit23c4e25ef1e8109b1f344cc1eb74e2a0156ddd66 (patch)
treeaaf33defb8b1d2bf7e83a6ce7d8ff19c637e57ce /libvxi11client/perlbits/testscript.pl
parent63f018d9d0a4b1ae11f9adb6f5bd3c9315b00130 (diff)
put real IP address in test scripts, add perl header
Diffstat (limited to 'libvxi11client/perlbits/testscript.pl')
-rw-r--r--libvxi11client/perlbits/testscript.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/libvxi11client/perlbits/testscript.pl b/libvxi11client/perlbits/testscript.pl
index b487ab4..2f06434 100644
--- a/libvxi11client/perlbits/testscript.pl
+++ b/libvxi11client/perlbits/testscript.pl
@@ -1,3 +1,5 @@
+#!/usr/bin/perl
+
use strict;
use warnings;
@@ -5,7 +7,7 @@ use 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);
$instr->vxi_lock(0);
$instr->vxi_write("*IDN?", -1, 0, 0);