Enabling TopSpin Accounting: Difference between revisions

From Network for Advanced NMR
Jump to navigationJump to search
Created page with "== Overview == Bruker offers a built-in Accounting feature that that allows labs and facilities to track usage of the spectrometer on a per-user or per-project basis. It's often used by core facilities and shared instrumentation environments to monitor time spent acquiring data, enforce user access limits, or generate billing records. == Requirements for TopSpin < 4.x == Prior to TopSpin 4.x NAN utilizes the Bruker Accounting file to track when experiments start and end..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{NDTS_Navbox}}
== Overview ==
== Overview ==
Bruker offers a built-in Accounting feature that that allows labs and facilities to track usage of the spectrometer on a per-user or per-project basis. It's often used by core facilities and shared instrumentation environments to monitor time spent acquiring data, enforce user access limits, or generate billing records.
NDTS needs to detect when experiments start and end for harvesting to work properly. For TopSpin 4.x and later the NDTS daemon can auto-detect when experiments begin and end. For TopSpin 3.x and earlier the NDTS daemon needs to utilize the built-in TopSpin Accounting feature that allows facilities and labs to track usage of the spectrometer on a per-user basis.


== Requirements for TopSpin < 4.x ==
== Requirements for TopSpin < 4.x ==

Latest revision as of 16:55, 18 June 2025

Overview

NDTS needs to detect when experiments start and end for harvesting to work properly. For TopSpin 4.x and later the NDTS daemon can auto-detect when experiments begin and end. For TopSpin 3.x and earlier the NDTS daemon needs to utilize the built-in TopSpin Accounting feature that allows facilities and labs to track usage of the spectrometer on a per-user basis.

Requirements for TopSpin < 4.x

Prior to TopSpin 4.x NAN utilizes the Bruker Accounting file to track when experiments start and end to know when to harvest completed datasets. Note that for TopSpin 4.x uses a different mechanism to detect experiment start and end events that does not require the user to enable accounting.

  • Enable the Accounting feature for each workstation user
  • Set use_accounting=true in the daemon configuration file (/opt/nan-dtdaemon/data/ndtd_configuration.dat)

Accounting Features

There are several features of TopSpin accounting that facilities may utilize, but for NAN key features are:

  • recording the user ID
  • captures login/logout times
  • captures experiment start/stop times and experiment numbers

Enabling Accounting

IMPORTANT: Must be done on a per-user basis

To enable Accounting, open the TopSpin Preferences or Settings menu

Enable Accounting Feature in TopSpin

Enable Accounting by setting Write accounting info after 'zg' to yes

Limitations

  • Accounting logs are only written after an experiment is complete. The start and end time appears in the log, but NDTS cannot detect when an acquisition is in progress for TopSpin 3.x as the log does not exist until the experiment completes.
  • Log files only only recorded for datasets started with zg and not go.