Page: 20/21 User Manual PULS-CTRL24, Rev.1-00: Software Utilities
Tab. 3. I/O errors
Return
value
Error message
Description
0
No error
The data transfer finished successfully.
1
Port has not
been opened yet
You attempted to use the communica-
tion channel before having opened it.
2 Cannot
open
the port
The specified port could not be
opened. Either the port does not exist
or it is being currently used by another
program.
3
Cannot get the
state of the port
The system could not get the state of
the port.
4
Cannot set the
state of the port
The system could not set the state of
the port.
5
Cannot set the
timeouts
for the port
The system could not set the timeouts
for the port.
6 Cannot
clear
the port
The system could not clear the port
buffers.
7 Error
reading
data
from the port
The system could not read data from
the port. Most probably, no data is
available because the device is either
disconnected or does not respond.
8
Error writing data
to the port
The system could not write data to the
port.
9 Wrong
data
amount written to
the port
The system could not write the proper
data amount to the port.
10
Error setting the
control lines of
the port
The system could not set the state of
the port control lines.
11 Error
reading
the
status lines of the
port
The system could not get the state of
the port status lines.
12
Device is busy
The system could not access the de-
vice since menus or dialog boxes are
active.
CGC Instruments
Tel.: +49 (371) 355 098–55
Hübschmannstr. 18 | D–09112 Chemnitz
Fax: +49 (371) 355 098–60
internet: www.cgc-instruments.com
e–mail: [email protected]