Skip to content

kmnhan/SESExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SESExtension

Custom user interface to SES.

This library only provides the bare minimum for writing custom header entries to data saved by SES. See cexports.def. On calling GDS_UI_GetSpectrumInfo, the library attempts connection to a zmq server of socket type PUB with port number 5556 that keeps publishing header entry strings. If the server is not running or has become unresponsive, SES will hang on saving data. The zmq client is implemented in clients.h. Most of the code in this library has been adapted from the monochromator and manipulator library examples provided by Scienta Omicron.

Disclaimer

This user interface has not been tested with real analyzers. Use at your own risk.

Getting Started

Setup build environment

  • Install latest Visual Studio Build Tools or install MinGW-w64.

  • Install cmake & git

    winget install -e --id Kitware.CMake
    winget install --id Git.Git -e --source winget
  • Clone and setup vcpkg

    git clone --recurse-submodules https://github.com/kmnhan/SESExtension.git
    cd SESExtension
    .\vcpkg\bootstrap-vcpkg.bat
    .\vcpkg\vcpkg install cppzmq
  • Install cppzmq

    .\vcpkg\vcpkg install cppzmq

Building

Build with an appropriate compiler that matches the operating system of the data acquisition computer.

Installing

Setup according to the SES documentation. Note that the .dll file for the libzmq library (generated on build) must be in the same directory with UIExtension_Library.dll. For the library to function, it must be built in Release configuration.

About

Custom user interface to SES

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published