man8/SRSfunc_gen
Table of Contents
SRSfunc_gen - Stanford Research DS335 function generator I/O service
SRSfunc_gen <argument list>
Serial I/O service for a
Stanford
Research DS335 function generator.
The program expects to find several RefNames
under the label specified on the command line.
- --dbman_host <hn>
The host where dbman is running.
If this argument is not supplied the default
is "localhost". If the DBMAN_HOST environment variable is present is overrides
the default. This argument in turn overrides previous settings.
- --local <path>
The path name of the device to open for local mode.
Note that the local
or remote option must be specified.
- --remote <host>,<sock>
The remote host and socket to connect to.
Note that the remote or local
option must be specified.
- --label <label>
A label from the database.
- --help
Prints the help message and exits.
Argument processing is
done using Unix long argument syntax. For remote mode, the port number is
extracted from /etc/services. Supposedly this can also be a numeric value.
The RefNames in this group
relate directly to parameters in the function generator.
Please consult
the function genertor manual for more information.
This is a command to the program to reissue the initialization and resync
the function generator with the database.
Amplitude Control
Frequency Control
Waveform Selection.
When the program is
started or a reset is issued the function generator is initialized in the
following way:
set ttl output level
set DC offset to 0v
turn sync output on
set termination to hiZ
turn sweep off
Not all of the function generator parameters are supported. This may
be expanded in the future.
The function generator needs to have RS232 communication
enabled and the baud rate set to match the com port settings.
#
# local port connection
stty 9600 < /dev/ttyS0
SRSfunc_gen --dbman_host csdev1 --local /dev/com2 --label "SCX TA-1"
#
# communication using a terminal server
#
SRSfunc_gen --dbman_host csdev1 --remote csdev11,ETSraw1 --label "SCX 02-1"
Note
that the label will need to be quoted for the shell to treat it as a single
argument.
Note also that the example lines are very long and have probably
been wrapped by the software which produced by formatted manual page.
$Id: SRSfunc_gen.8,v 1.4 2007/07/17 16:23:13 kitchen Exp $
Table of Contents