summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-02-01 00:55:21 +0900
committerdaniel <danieruru@gmail.com>2013-02-01 00:55:21 +0900
commit4b9c77d31ba6d6dd80e9cc929a1ee565fa7a5179 (patch)
tree920f545775d130934de5e681a5fb31ba16b6e30b /libvxi11client/perlbits
parent1f2c64beb20da6a635b2b5f610a6d747fadbfd7d (diff)
Fix return codes section in the docs
Diffstat (limited to 'libvxi11client/perlbits')
-rw-r--r--libvxi11client/perlbits/Client.pm12
1 files changed, 8 insertions, 4 deletions
diff --git a/libvxi11client/perlbits/Client.pm b/libvxi11client/perlbits/Client.pm
index 1bbafc7..076c5a2 100644
--- a/libvxi11client/perlbits/Client.pm
+++ b/libvxi11client/perlbits/Client.pm
@@ -346,15 +346,19 @@ Trigger the instrument.
Return codes work like this:
-1 - is a success
-0 - means the request failed locally, the state inside the client is
+
+1 - is a success
+
+0 - means the request failed locally, the state inside the client is
incorrect, i.e. calling to enable interrupts before creating the channel
or that the server couldn't be contacted
-< 0 - Any negative value is the negated VXI-11 error code from the server
+
+< 0 - Any negative value is the negated VXI-11 error code from the server"
The only exceptions to this are the read and write methods:
-0 - Error as above or zero bytes read/written
+0 - Error as above or zero bytes read/written
+
> 0 - Number of bytes read/written
=back