summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits/testscript.pl
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-24 00:15:16 +0900
committerdaniel <danieruru@gmail.com>2013-01-24 00:15:16 +0900
commitd31d69b338c7fef5583ec705c1e748c2a2aeaba6 (patch)
treeeeaf75d97ac96b8b3d49027cd930068864500d86 /libvxi11client/perlbits/testscript.pl
parent609cb1e17a9ab8edf1ccab42574b44bc1439aeb7 (diff)
named
Diffstat (limited to 'libvxi11client/perlbits/testscript.pl')
-rw-r--r--libvxi11client/perlbits/testscript.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvxi11client/perlbits/testscript.pl b/libvxi11client/perlbits/testscript.pl
index 5af15d3..7bcfda6 100644
--- a/libvxi11client/perlbits/testscript.pl
+++ b/libvxi11client/perlbits/testscript.pl
@@ -18,9 +18,9 @@ my ($error, $statusbyte) = $instr->vxi_readstatusbyte(0);
printf "status byte is " . $statusbyte . "\n";
$instr->vxi_create_intr_chan();
-$instr->vxi_enable_srq(1, "myhandle");
+$instr->vxi_enable_srq("myhandle");
vxi_wait_for_interrupt();
-$instr->vxi_enable_srq(0, "");
+$instr->vxi_disable_srq();
$instr->vxi_destroy_intr_chan();
$instr->vxi_abort();
$instr->vxi_clear(0);