Menu

Tree [3921df] default tip /
 History

Read Only access


File Date Author Commit
 administration_tools 2024-12-14 Goetz Pfeiffer Goetz Pfeiffer [1a0d70] Changes for hosting at sourceforge.
 cache 2018-12-13 Goetz Pfeiffer Goetz Pfeiffer [d4710b] Create and distribute a mercurial signature file.
 config 2024-11-21 Goetz Pfeiffer Goetz Pfeiffer [cf7648] Define reverse tunnel usage in rsync-dist.config.
 doc 2024-12-14 Goetz Pfeiffer Goetz Pfeiffer [1a0d70] Changes for hosting at sourceforge.
 extra 2017-03-03 Goetz Pfeiffer Goetz Pfeiffer [a806b4] Test some functions in uniserv with the help of...
 scripts 2025-03-02 Goetz Pfeiffer Goetz Pfeiffer [b355f3] id_db is now a sub repository of the uniserv pr...
 src 2025-05-05 Goetz Pfeiffer Goetz Pfeiffer [0ee6be] Put the current position error in register 19.11.
 .hgignore 2024-12-14 Goetz Pfeiffer Goetz Pfeiffer [1a0d70] Changes for hosting at sourceforge.
 .hgsub 2025-03-02 Goetz Pfeiffer Goetz Pfeiffer [c037bf] Fix in .hgsub to make this compatible with the ...
 .hgsubstate 2025-05-05 Goetz Pfeiffer Goetz Pfeiffer [3921df] Use new id_db version with UE51 limit switch fix.
 .hgtags 2013-09-13 convert-repo convert-repo [8021f0] update tags
 LICENSE 2024-12-14 Goetz Pfeiffer Goetz Pfeiffer [1a0d70] Changes for hosting at sourceforge.
 Makefile 2025-03-02 Goetz Pfeiffer Goetz Pfeiffer [b355f3] id_db is now a sub repository of the uniserv pr...
 README.rst 2024-12-14 Goetz Pfeiffer Goetz Pfeiffer [1a0d70] Changes for hosting at sourceforge.
 configure 2025-03-02 Goetz Pfeiffer Goetz Pfeiffer [b355f3] id_db is now a sub repository of the uniserv pr...

Read Me

uniserv

This is the uniserv project, uniserv is a program that runs on the UniDrive devices that are used for undulator control at Bessy and the MLS.

uniserv communicates by a CAN bus with the undulator control IOC which runs the IDCP application.

The UniDrive device is programmed in the DPL language. The uniserv program for each axle for each undulator is generated from a common source.

Configuring the project

Simply enter the command:

./configure

This should install additional software needed to build uniserv in a local directory.

Creating the DPL programs

Enter the command:

make local

This creates a directory "build". All created files are in this directory. Within "build" a directory "dpl" is created. In "dpl" there is a directory for each undulator that uses uniserv, e.g. a directory "UE56-2" for the UE56/2 undulator (slashes "/" are replaced with dashes "-" since slashes have a special meaning in unix).

Now distribute the programs to the server hosts by issuing:

make

A copy of the build directory is now copied to the directory /opt/IOC/Releases/uniserv/dist/[ISO-Date] on the servers aragon.acc.bessy.de and shoshoni.blc.bessy.de.

This is done in order to always have a copy of all installed DPL programs on the servers.

In order to distribute to the servers, you must run "make" as user "idadm". You shoudl also have the ssh-agent running, you can start the agent for user "idadm" by entering "agent" on the command line.

Downloading on the UniDrive devices

You need to have the Sypt program installed on a windows PC that has a connection to the UniDrive devices.

There you have to have or create a Sypt Project for that undulator.

You have to exit sypt, copy all files from the directory "/opt/IOC/Releases/uniserv/dist/[ISO-date]/dpl/[undulator]" from the server aragon.acc.bessy.de or shoshoni.blc.bessy.de to the project directory and restart sypt.

When Sypt is running, select "rebuild all". After all programs have been rebuilt go online and select "download". Download the program to all drives.

License

Copyright 2021 Helmholtz-Zentrum Berlin für Materialien und Energie GmbH <https://www.helmholtz-berlin.de>

Author: Goetz Pfeiffer <Goetz.Pfeiffer@helmholtz-berlin.de>

This file is part of uniserv, the insertion device control program.

uniserv is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

uniserv is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with uniserv. If not, see <https://www.gnu.org/licenses/>.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.