
DAZZLER
TM
system manual Part I : installation & operation
6.2
controls. These changes can be performed even if the generator is “offline”, which can be useful
to simulate wave shapes.
The wave file path may be followed by a list of ”star” commands to be performed
before
the
processing of GUI controls. These lines follow the format:
*Command [value]
. The main
purpose of these “star” commands is to operate the buttons and other controls which are
not accessible by the controls allowed in wave text files. These commands are described in
A summary of the request files required is shown next on
It seems that erroneous commands or keys do not prevent the rest of the lines to be processed
absolute path
*command
…
*command
request file:
request.txt
key=value
…
…
key=value
wave file
Remote text using two files: this is to be used when
the wave is complex and cannot be easily produced.
request.txt the first line is the absolute path to the
wave file. The remaining lines hold the *commands.
Processing order is command dependent.
The “LOAD” button is only pressed at the end of
processing the wavefile.
keys and commands are case insensitive.
Figure 6.1: Remote text using two files
Processing of the request file information is as follows:
1. star commands
first
2. wave file controls including amp & phase section,
3. waveform loading.
If preferred, it is possible to include the wave file directly in the request file, as described in
6.2.2
Atomic write
This IPC, based on a protocol of reading/writing a file in a shared folder
, requires that
the operations, ’create’, ’write’ and ’close’ necessary to post the request file
request.txt
, be
uninterrupted (”atomic”). If not, it may occur that the polling Dazzler program will access the
request after creation but before its complete writing thus resulting in an unreliable mess.
Examples of reliable code to write request files and testing for request file deletion are shown
in the VI
PerformRemoteCall.vi
of the library
DazzRemoteControl.lvlib
. It was found
4
Inter Process Communication
V3.00 - 8
th
April 2019