4.10 Hints for setting up control programs
LDC340 / Page 64
4.10 Hints for setting up control programs
The following flowcharts show the communication sequences between a control
computer and a LDC340 using the IEEE488 interface. Use this sequences to ensure
a fast and secure communication.
Flowchart for writing device commands
Figure 6
Writing device commands
Start writing
Write command to
device (ibwrt ...)
Poll status byte
(ibrsp ...)
Is FIN-bit set ?
No
Yes
Yes
No
Is EAV-bit set ?
Is FIN-bit set ?
No
Yes
Poll status byte
(ibrsp ...)
Query error-queue
(write “:SYST:ERR?“
to the device)
Read error-message
(ibrd ...)
Yes
No
Is EAV-bit set ?
End