You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

The following VI file should be kept running; "D:\e1039\labview_work\TestIR\bos_eos_mostreal_atBOS.vi".  
It is to detect the BOS & EOS signals to update the BOS, EOS & SPILLCOUNTER variables on EPICS;

The turn-off/on procedures below are temporary as the configuration is being changed.
The procedure is described by Misha in DocDB 7683 also.  We had better merge the documentation when appropriate.

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.

Turn-On procedure

  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. Start VI, by clicking the arrow icon in the VI front panel.

Communication with Slow Control Devices

All devices in the slow control rack are connected with the target computer through the interface converters.  The hardware configuration is explained in README.md, note_converter.md, etc. in this repository:

https://github.com/uva-spin/Temperature-Pressure-VIs

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

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.

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.

  1. Search for "gpedit.msc" (using the task-bar search box) and execute it.
  2. Go to "Computer Configuration" -> "Administrative Templates" -> "Windows Components" -> "Windows Update".
  3. Double click "Configure Automatic Updates" policy setting and select "Enabled".
  4. Choose "2" ("Notify for download and notify for install") under "Configure automatic updating" section.
  5. Click "Apply", followed by "OK".

Reference:  https://answers.microsoft.com/en-us/windows/forum/all/how-permanently-disable-windows-10-pro-64-updates/18727670-db05-4267-80fb-cf2622eee8c1

The standard configuration about the Windows update is available at "Settings" -> "Update & Security" -> "Advanced Options".  It allows us to only postpone an update up to 35 days.

Change in Target Computer Setup

kind of a log-book.


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

 

Change EPICS_CA_ADDR_HOST from 192.168.24.71 to 192.168.24.72Kenichi












































  • No labels