Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Dell Precision Tower 5810
(Spare: Dell OptiPlex 3060, being used for the PLC system)

Turn-Off/On Procedure

Turning Off

  1. Stop and close the following VIs.
    1. 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.
    2. Spill Counter (Spill_Counter_Main.vi) — Click the "STOP" button, and then close the front-panel window.
    3. Close the LabVIEW startup window.
  2. Shut down the OS.

Turning On

  1. Confirm with the NM4 network admin that the NM4 servers are up and running.
  2. Make sure that the slow-control rack and the magnet rack are up and running.
  3. Boot up the OS.
  4. Login as "e1039daq".
  5. Click "SX Virtual Link" in the taskbar to open it.  It connects to all remote USB devices automatically.
  6. Start the following VIs.
    1. Spill Counter — Double-click "Spill_Counter_Main.vi" on the desktop and click the VI "Run" icon.
    2. Cryo Control Panel — Double-click "CCP_Main.vi" on the desktop and click the VI "Run" icon.

Trouble Shooting

  1. VI shows an error about "/data2".
    1. "/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.
  2. VI shows an error about COM/Ethernet/USB communication with a device.
    1. Make sure that the device is ON.
    2. Open and close "Instacal" (whose icon is in the taskbar) if the device is MCC E-TC.
    3. Close, open and run the VI.  If this does not help, try the next step.
    4. 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

  1. Click the "STOP" button.  It might show an error, but it is fine for now

...

Turn-Off procedure

  1. Write down the last spill ID, which is shown in the VI front panel.
  2. Close the VI file, by clicking the right-top Close button of the window.  Do not  save any change, if asked.
  3. Shut down the computer.

...

Turning On

  1. 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.
  2. Boot the computer and login as "e1039daq".
  3. Open the power shell and execute "camonitor BOS EOS SPILLCOUNTER", in order to check if you can establish connection to the EPICS server.
  4. Start the VI file, by double-clicking the file icon in the file browser.
  5. Turn on the network disks manually.  It is on the right side of the front panel.
  6. 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.
  7. Double-click "bos_eos_mostreal_atBOS_sid_saved.vi" (which is a shortcut) on the desktop.
  8. Click the VI "Start" icon.
  9. Right-click "monitor_spill.ps1" on the desktop and click "Run with PowerShell".  It pops up a small text terminal.
  10. 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/ ).

...

Environmental Variables for EPICS

The target computer has to communicate with the EPICS server to set BOS, EOS and SPILLCOUNTER.  We follow this procedure.

  1. Search for "env" in the search box.
  2. Bring up "Edit the system environment variables".
  3. Click the "Environment Variables..." button.
  4. Add or modify the EPICS variables; EPICS_BASE, EPICS_CA_ADDR_HOST and EPICS_HOST_ARCH.  Example.
  5. Reboot.

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

...

Date            Status/Update/Modification                                                                User's name           Additional notes                                                                     

 

Change EPICS_CA_ADDR_HOST from 192.168.24.71 to 192.168.24.72Kenichi