summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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