4.10 Hints for setting up control programs
LDC340 / Page 66
NOTE
During the test phase of control programs all program messages should
be transmitted separately. Each command should be followed by a status
request (response message) so that possible errors are read out directly
after the command causing them.
NOTE
The producer of the interface card of the control computer will provide
communication functions for both directions between PC and LDC340 for
all common software packages. These will be embedded into the pro-
gramming text and accomplish the data transfer between control computer
and LDC340. We recommend to build these write and read back com-
mands into separate functions and then use these functions for the data
transfer.
In these functions a globally to set flag should be requested that would
determine whether the write or read back communication is to be read out
together with talker and listener address at IEEE488 systems additionally
into a data file or on the printer. When communication problems occur at
the bus or in case of error messages that cannot be explained the evalua-
tion of the data transfer between the LDC340 and the control computer will
then be possible without much effort.
This also applies in programming the RS232C interface