Controlling E9Screen EPC9 Installation 83
Appendix I: Controlling E9SCREEN
Communication between E9Screen and other Programs
E9Screen has two functions which enable a second acquisition program to share the
AD/DA-board. This allows the E9Screen to control the EPC9, while the second program
can use the AD/DA-board for acquisition:
1. E9Screen uses the two functions in the drivers of the AD/DA-board to reserve and
release the AD/DA-board for exclusive use.
2. E9Screen writes a file containing gain and holding potential applied to the EPC9,
and the user program can extract those information from it.
Reserving the AD/DA-board for exclusive use
E9Screen reserves the AD/DA-board for exclusive use, while it performs acquisition.
E9Screen can release the AD/DA-board, when it stops acquiring. This occurs when the
user switches to another application and the option "Enable Background" in the EPC9
drop-down menu is de-selected. E9Screen then resumes acquisition, when the user
switches back and the AD/DA-board driver is not reserved by another process. Thus,
both programs can use the AD/DA-board at well defined times. Please, read in the ITC-
16 driver manual ("Driver.pdf") the description of the functions ITC16_Reserve and
ITC16_Release:
• E9Screen calls ITC16_Release, when it is switched to the background and option
"Enable Background" is de-selected.
• E9Screen calls ITC16_Reserve, when it is switched back to the foreground. E9Screen
will continue to call ITC16_Reserve until the function messages that the AD/DA-
board has been released by the other application. Only then E9Screen will resume
acquisition.
The “EPC9out.EPC” file
E9Screen writes the file “EPC9out.EPC” in the “E9Screen” folder every time when
switching from E9Screen to another application. This feature can be used by other
acquisition programs to obtain the gain and holding potential applied to the EPC9. The
information in this file is as follows: