Dell Precision Tower 5810
(Spare: Dell OptiPlex 3060, being used for the PLC system)
Turn-Off/On Procedure
Turning Off
- Stop and close the following VIs.
- Cryo Control Panel (CCP_Main.vi) — Click the "Stop All Subsys" button, click the "Stop This Panel" button, and then close the front-panel window.
- Spill Counter (Spill_Counter_Main.vi) — Click the "STOP" button, and then close the front-panel window.
- Close the LabVIEW startup window.
- Shut down the OS.
Turning On
- Confirm with the NM4 network admin that the NM4 servers are up and running.
- Make sure that the slow-control rack and the magnet rack are up and running.
- Boot up the OS.
- Login as "e1039daq".
- Click "SX Virtual Link" in the taskbar to open it. It connects to all remote USB devices automatically.
- Start the following VIs.
- Spill Counter — Double-click "Spill_Counter_Main.vi" on the desktop and click the VI "Run" icon.
- Cryo Control Panel — Double-click "CCP_Main.vi" on the desktop and click the VI "Run" icon.
Trouble Shooting
- VI shows an error about "/data2".
- "/data2" does not get mounted if it is not online when booting up the OS. There is a way of mounting it manually. But for now please reboot the OS.
- VI shows an error about COM/Ethernet/USB communication with a device.
- Make sure that the device is ON.
- Open and close "Instacal" (whose icon is in the taskbar) if the device is MCC E-TC.
- Close, open and run the VI. If this does not help, try the next step.
- Close all VIs and LabVIEW itself. Then open and run all VIs. It is because some devices are recognized by LabVIEW only when LabVIEW starts.
BOS+EOS Handler
A program to detect the BOS & EOS signals to update the BOS, EOS & SPILLCOUNTER variables on EPICS.
Turning Off
- Click the "STOP" button. It might show an error, but it is fine for now
...
Turn-Off procedure
- Write down the last spill ID, which is shown in the VI front panel.
- Close the VI file, by clicking the right-top Close button of the window. Do not save any change, if asked.
- Shut down the computer.
...
Turning On
- Make sure that the NIM bin with the gate generator for BOS/EOS is on. It is in the bottom of the right most rack.
- Boot the computer and login as "e1039daq".
- Open the power shell and execute "camonitor BOS EOS SPILLCOUNTER", in order to check if you can establish connection to the EPICS server.
- Start the VI file, by double-clicking the file icon in the file browser.
- Turn on the network disks manually. It is on the right side of the front panel.
- Replace the initial spill ID shown in the VI front panel with "last spill ID + 1" that you wrote down in the turn-off procedure.
- Double-click "bos_eos_mostreal_atBOS_sid_saved.vi" (which is a shortcut) on the desktop.
- Click the VI "Start" icon.
- Right-click "monitor_spill.ps1" on the desktop and click "Run with PowerShell". It pops up a small text terminal.
- Wait for one minute at max to confirm that the text terminal shows new records of BOS, EOS and SPILLCOUNTERStart VI, by clicking the arrow icon in the VI front panel.
Communication with Slow Control Devices
...
All virtual USB devices are usually disconnected. You have to connect/disconnect each device before/after you use it via "SX Virtual Link". You can click the icon in the taskbar to bring up the user interface like this.
Usage of Git Repository
The "uva-spin" GitHub repository ( https://github.com/uva-spin ) is cloned at "github" on desktop. Our default software to manipulate the repository is "Git Bash" in "Git for Windows" ( https://gitforwindows.org/ ).You can right-click the desktop and click "Git Bash Here" in the menu, or you can click the icon of "Git Bash" in the task bar. Once a text terminal of "Git Bash" is opened, you can do "cd github/e1039-target-controls", "git pull", etc.
Environmental Variables for EPICS
...
- Search for "env" in the search box.
- Bring up "Edit the system environment variables".
- Click the "Environment Variables..." button.
- Add or modify the EPICS variables; EPICS_BASE, EPICS_CA_ADDR_HOST and EPICS_HOST_ARCH. Example.
- Reboot.
Disabling Automatic Windows Update
There are several ways of disabling the automatic Windows updates on Windows 10 Pro. Let's use "Group Policy" on the target computer. It was disabled by the following procedure on 2021-10-25.
- Search for "gpedit.msc" (using the task-bar search box) and execute it.
- Go to "Computer Configuration" -> "Administrative Templates" -> "Windows Components" -> "Windows Update".
- Double click "Configure Automatic Updates" policy setting and select "Enabled".
- Choose "2" ("Notify for download and notify for install") under "Configure automatic updating" section.
- Click "Apply", followed by "OK".
...
Misc Settings
The following settings were made, as instructed in another page.
- Git repository
- NFS mount
- Disabling automatic Windows update
Change in Target Computer Setup
...