-
Notifications
You must be signed in to change notification settings - Fork 2
Stanford DG645
Wiki > The Backend System > Specific Device IOC > Signal Generators > Stanford DG645
For the Litron Laser Timing Control see here.
Stanford DG645 is a digital delay generator. There is an IOC, emulator and tests for it. The OPI is constructed in a modular fashion out of smaller OPIs, to be reused if needed. The IOC is using a 'fork' version of Delaygen (original here).
Currently does not support RECSIM mode.
The device supports varying BAUD rates but other communication parameters are fixed, hence we do not have macros for them. Default BAUD rate is 9600.
The device also supports an ethernet connection using Telnet. In order to connect via ethernet, follow these steps on the device:
- In the NET menu (SHIFT -> STO) set:
-
TCPIP = Enabled
-
DHCP = Enabled
-
Telnet = Enabled
-
Reset = Yes
-
Press the Enter Button
-
- Then access the status menu (SHIFT -> 6) and use the arrows to navigate to TCPIP Status.
- Press 6 until you get to IP
- Make a note of this IP address
Then in IBEX:
- Set the
INTERFACE
macro toETHERNET
- Set the
ADDR
macro to the IP you wrote down earlier - Start the IOC
This IP will be reassigned if the device is down for a while. So steps 2-7 will need to be repeated.
The IOC currently covers setting and reading of delays of channels T0, T1, A, B, C, D, E and F. T0 is the base channel that is not changeable from the IOC. Channels A-F can be configured to have their own delay value, offset by reference to another channel. For example:
- Channel T0 is currently 0ms
- Channel A is currently 5ms + T0
- Channel D is currently 10ms + A
Then final delay for channel D is 15ms which in the GUI is called a 'channel width'.It is possible to chain references across all of the channels. Channel T1 serves as max function of all the other channels.
Channel widths are calculated by the IOC for the sake of drawing graphs. For example, channel width AB would be delay of channel A + delay of channel B.
Graphs are controlled using a script. The script's only purpose is to read data from the IOC and does not influence it's behaviour. Graphs are a visual representation of length, starting point and polarity of delay between two channels. All of this functionality was based on behaviour of the VI (C:\LabVIEW Modules\Drivers\Stanford DG645).
Negative or positive polarity logic will influence if the graph's max value is -1 or 1. NIM/TTL/NR logic works as follows:
- NIM, if OutputAmpAO is set to 0.8 and OutputOffsetAO is set to -0.8
- TTL, if OutputAmpAO is set to 4 and OutputOffsetAO is set to 0
- NR if neither of above is true
This is based on VI's behaviour.
The device supports an error queue of up to 20 errors. The VI, and subsequently the IOC currently displays a queue of 10 translated error messages.