![FASTLITE DAZZLER Скачать руководство пользователя страница 67](http://html1.mh-extra.com/html/fastlite/dazzler/dazzler_manual_3588631067.webp)
chapter 6
Remote control
This chapter introduces the protocols, control commands and available functions to control the
Dazzler system from an program exernal to the Dazzler process.
6.1
Remote control generalities
6.1.1
Client-Server models
The Dazzler program can be viewed as a server providing the services of the Dazzler system
Most of the operations that can be performed from the front panel can be driven remotely,
while the main Dazzler program is running.
There are three ways to communicate with the Dazzler program, namely:
1. by a human operator ”manually” setting control values and pushing buttons using the
2. with an ”‘ad-hoc” IPC
by text commands called ”text file” mode. In this ”text file”
mode, the Dazzler program acts like a spooler operating on text files: this is slow but
very general. The ”text file” mode interface is based on text files generated by the remote
user program. This mechanism has some advantages:
•
the remote user program can be written in any programming environment or lan-
guage, e.g. LabView, Visual Basic, C, Python, etc.
•
the remote ”requester” program does not need to run on the Dazzler computer: it
is sufficient to share the ’default directory’ (see
) via the network
and to give write access to the requestor.
3. with a fast socket method based on the LabView
TM
socket implemention. It is introduced
briefly in this chapter and has an on-line documentation CHM file.
1
computation, signal generation and driving the Dazzler crystal.
2
GUI: Graphic User Interface
3
IPC: Inter Process Communication
61