This module provides support to control SRS CG635 clock generators
using their GPIB or RS-232 interfaces.
Several files need minor modifications to use this support in an application.
Record Name |
Record Type |
Description |
---|---|---|
$(P)$(R)IDN |
waveform |
Instrument
identification string. |
$(P)$(R)RST | bo |
Reset the instrument. |
$(P)$(R)CLS | bo |
Clear the instrument status
registers. |
$(P)$(R)GetSTB | longin |
Read the the serial poll status
byte. |
$(P)$(R)GetESR | longin |
Read the event status register. |
$(P)$(R)GetESE $(P)$(R)SetESE |
longin longout |
Read/Write the event status
enable register. Bits set in this register cause the serial
poll status byte ESB bit to be set when the corresponding bit is set in
the event status register. |
$(P)$(R)GetSRE $(P)$(R)SetSRE |
longin longout |
Read/Write the service
request enable register. Bits set in this
register cause a service request when the corresponding bit is
set in the serial poll status register. |
$(P)$(R)GetOPC |
longin |
Read the state of the instrument
operation complete flag which is set when all prior commands have
completed. |
Record Name |
Record Type |
Description |
---|---|---|
$(P)$(R)GetTimebase | mbbi |
Read the
type of timebase installed in the instrument. |
$(P)$(R)GetFreq $(P)$(R)SetFreq |
ai ao |
Read/Write
the frequency of the generated signal (Hz). |
$(P)$(R)GetStdCMOS $(P)$(R)SetStdCMOS |
mbbi mbbo |
Read/Write
the levels of the CMOS output. A readback value of -1 indicates
that the CMOS output levels do not correspond to one of the standard
levels. |
$(P)$(R)Get0CMOS $(P)$(R)Set0CMOS $(P)$(R)Get1CMOS $(P)$(R)Set1CMOS |
ai ao ai ao |
Read/Write the CMOS output
levels corresponding to a logic 0/1. Terminating the CMOS output
in 50Ω will
reduce the voltages to half the specified values. |
$(P)$(R)GetStdQ $(P)$(R)SetStdQ |
mbbi mbbo |
Read/Write the levels of the Q/Q* outputs. A readback value of -1 indicates that the Q/Q* output levels do not correspond to one of the standard levels. |
$(P)$(R)Get0Q $(P)$(R)Set0Q $(P)$(R)Get1Q $(P)$(R)Set1Q |
ai ao ai ao |
Read/Write the Q/Q* output levels corresponding to a logic 0/1. |
$(P)$(R)GetRunState $(P)$(R)SetRunState |
bi bo |
Read/Write
the instrument run state (0-stopped, 1-running). |
$(P)$(R)GetStopLevel $(P)$(R)SetStopLevel |
longin longout |
Read/Write the logic level to
which the outputs will be driven when the instrument is stopped.
Writing a value of 2 will toggle the level. |