mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
WIP doc
This commit is contained in:
parent
e85326d415
commit
bc09b8bfb9
@ -407,6 +407,13 @@ class Detector(CppDetectorApi):
|
|||||||
@property
|
@property
|
||||||
@element
|
@element
|
||||||
def numinterfaces(self):
|
def numinterfaces(self):
|
||||||
|
"""[Jungfrau][Gotthard2] Number of udp interfaces to stream data from detector. Default is 1.
|
||||||
|
Note
|
||||||
|
-----
|
||||||
|
Also enables second interface in receiver for listening (Writes a file per interface if writing enabled). \n
|
||||||
|
Also restarts client and receiver zmq sockets if zmq streaming enabled. \n
|
||||||
|
[Gotthard2] second interface enabled to send veto information via 10Gbps for debugging. By default, if veto enabled, it is sent via 2.5 gbps interface.
|
||||||
|
"""
|
||||||
return self.getNumberofUDPInterfaces()
|
return self.getNumberofUDPInterfaces()
|
||||||
|
|
||||||
@numinterfaces.setter
|
@numinterfaces.setter
|
||||||
@ -670,8 +677,8 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
Note
|
Note
|
||||||
-----
|
-----
|
||||||
[Gotthard] 0, 90, 110, 120, 150, 180, 200
|
[Gotthard] 0, 90, 110, 120, 150, 180, 200 \n
|
||||||
[Eiger][Mythen3][Gotthard2] 0 - 200
|
[Eiger][Mythen3][Gotthard2] 0 - 200 \n
|
||||||
[Jungfrau][Ctb][Moench] 0, 60 - 200
|
[Jungfrau][Ctb][Moench] 0, 60 - 200
|
||||||
"""
|
"""
|
||||||
return element_if_equal(self.getHighVoltage())
|
return element_if_equal(self.getHighVoltage())
|
||||||
@ -723,6 +730,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def lock(self):
|
def lock(self):
|
||||||
|
"""Lock detector to one client IP, 1 locks, 0 unlocks. Default is unlocked."""
|
||||||
return element_if_equal(self.getDetectorLock())
|
return element_if_equal(self.getDetectorLock())
|
||||||
|
|
||||||
@lock.setter
|
@lock.setter
|
||||||
@ -739,6 +747,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def lastclient(self):
|
def lastclient(self):
|
||||||
|
"""Get Client IP Address that last communicated with the detector."""
|
||||||
return element_if_equal(self.getLastClientIP())
|
return element_if_equal(self.getLastClientIP())
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@ -784,6 +793,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def led(self):
|
def led(self):
|
||||||
|
"""[Ctb] Switches on/off all LEDs. Default is enabled. """
|
||||||
return element_if_equal(self.getLEDEnable())
|
return element_if_equal(self.getLEDEnable())
|
||||||
|
|
||||||
@led.setter
|
@led.setter
|
||||||
@ -879,6 +889,11 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def partialreset(self):
|
def partialreset(self):
|
||||||
|
"""[Eiger] Sets up detector to do partial or complete reset at start of acquisition. 0 complete reset, 1 partial reset. Default is complete reset.
|
||||||
|
Note
|
||||||
|
-----
|
||||||
|
Advanced Function!
|
||||||
|
"""
|
||||||
return element_if_equal(self.getPartialReset())
|
return element_if_equal(self.getPartialReset())
|
||||||
|
|
||||||
@partialreset.setter
|
@partialreset.setter
|
||||||
@ -895,6 +910,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def overflow(self):
|
def overflow(self):
|
||||||
|
"""[Eiger] Enable or disable show overflow flag in 32 bit mode. Default is disabled. """
|
||||||
return element_if_equal(self.getOverFlowMode())
|
return element_if_equal(self.getOverFlowMode())
|
||||||
|
|
||||||
@overflow.setter
|
@overflow.setter
|
||||||
@ -912,6 +928,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def interruptsubframe(self):
|
def interruptsubframe(self):
|
||||||
|
"""[Eiger] Enable last subframe interrupt at required exposure time. Disabling will wait for last sub frame to finish exposing. Default is disabled."""
|
||||||
return element_if_equal(self.getInterruptSubframe())
|
return element_if_equal(self.getInterruptSubframe())
|
||||||
|
|
||||||
@interruptsubframe.setter
|
@interruptsubframe.setter
|
||||||
@ -929,11 +946,25 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def measuredperiod(self):
|
def measuredperiod(self):
|
||||||
|
"""
|
||||||
|
[Eiger] Measured frame period between last frame and previous one.
|
||||||
|
|
||||||
|
Note
|
||||||
|
-----
|
||||||
|
Can be measured with minimum 2 frames in an acquisition.
|
||||||
|
:setter: Not implemented
|
||||||
|
"""
|
||||||
res = self.getMeasuredPeriod()
|
res = self.getMeasuredPeriod()
|
||||||
return element_if_equal([it.total_seconds() for it in res])
|
return element_if_equal([it.total_seconds() for it in res])
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def measuredsubperiod(self):
|
def measuredsubperiod(self):
|
||||||
|
"""
|
||||||
|
[Eiger] Measured sub frame period between last sub frame and previous one.
|
||||||
|
Note
|
||||||
|
-----
|
||||||
|
:setter: Not implemented
|
||||||
|
"""
|
||||||
res = self.getMeasuredSubFramePeriod()
|
res = self.getMeasuredSubFramePeriod()
|
||||||
return element_if_equal([it.total_seconds() for it in res])
|
return element_if_equal([it.total_seconds() for it in res])
|
||||||
|
|
||||||
@ -1173,6 +1204,11 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def maxdbitphaseshift(self):
|
def maxdbitphaseshift(self):
|
||||||
|
"""[CTB][Jungfrau] Absolute maximum Phase shift of of the clock to latch digital bits.
|
||||||
|
Note
|
||||||
|
-----
|
||||||
|
:setter: Not Implemented
|
||||||
|
"""
|
||||||
return element_if_equal(self.getMaxDBITPhaseShift())
|
return element_if_equal(self.getMaxDBITPhaseShift())
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@ -1193,6 +1229,11 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def maxadcphaseshift(self):
|
def maxadcphaseshift(self):
|
||||||
|
"""[Jungfrau][CTB][Moench] Absolute maximum Phase shift of ADC clock.
|
||||||
|
Note
|
||||||
|
-----
|
||||||
|
:setter: Not Implemented
|
||||||
|
"""
|
||||||
return element_if_equal(self.getMaxADCPhaseShift())
|
return element_if_equal(self.getMaxADCPhaseShift())
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@ -1237,6 +1278,12 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def pattern(self):
|
def pattern(self):
|
||||||
|
"""[Mythen3][Moench][Ctb] Loads ASCII pattern file directly to server (instead of executing line by line).
|
||||||
|
|
||||||
|
Examples
|
||||||
|
---------
|
||||||
|
>>> d.pattern = '/tmp/pat.txt'
|
||||||
|
"""
|
||||||
# TODO! Clean fix
|
# TODO! Clean fix
|
||||||
print("Set only")
|
print("Set only")
|
||||||
return 0
|
return 0
|
||||||
@ -1244,6 +1291,7 @@ class Detector(CppDetectorApi):
|
|||||||
# patioctrl
|
# patioctrl
|
||||||
@property
|
@property
|
||||||
def patioctrl(self):
|
def patioctrl(self):
|
||||||
|
"""[Ctb][Moench] 64 bit mask defining input (0) and output (1) signals."""
|
||||||
return element_if_equal(self.getPatternIOControl())
|
return element_if_equal(self.getPatternIOControl())
|
||||||
|
|
||||||
@patioctrl.setter
|
@patioctrl.setter
|
||||||
@ -1252,6 +1300,12 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patlimits(self):
|
def patlimits(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Limits (start and stop address) of complete pattern.
|
||||||
|
|
||||||
|
Examples
|
||||||
|
---------
|
||||||
|
>>> d.patlimits = [0x23, 0x40]
|
||||||
|
"""
|
||||||
return element_if_equal(self.getPatternLoopAddresses(-1))
|
return element_if_equal(self.getPatternLoopAddresses(-1))
|
||||||
|
|
||||||
@patlimits.setter
|
@patlimits.setter
|
||||||
@ -1260,6 +1314,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patmask(self):
|
def patmask(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Sets the bits that will have a pattern mask applied to the selected patmask for every pattern."""
|
||||||
return element_if_equal(self.getPatternMask())
|
return element_if_equal(self.getPatternMask())
|
||||||
|
|
||||||
@patmask.setter
|
@patmask.setter
|
||||||
@ -1273,6 +1328,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patwait0(self):
|
def patwait0(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Wait 0 address."""
|
||||||
return element_if_equal(self.getPatternWaitAddr(0))
|
return element_if_equal(self.getPatternWaitAddr(0))
|
||||||
|
|
||||||
@patwait0.setter
|
@patwait0.setter
|
||||||
@ -1281,6 +1337,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patwait1(self):
|
def patwait1(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Wait 1 address."""
|
||||||
return element_if_equal(self.getPatternWaitAddr(1))
|
return element_if_equal(self.getPatternWaitAddr(1))
|
||||||
|
|
||||||
@patwait1.setter
|
@patwait1.setter
|
||||||
@ -1289,6 +1346,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patwait2(self):
|
def patwait2(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Wait 2 address."""
|
||||||
return element_if_equal(self.getPatternWaitAddr(2))
|
return element_if_equal(self.getPatternWaitAddr(2))
|
||||||
|
|
||||||
@patwait2.setter
|
@patwait2.setter
|
||||||
@ -1297,6 +1355,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patwaittime0(self):
|
def patwaittime0(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Wait 0 time in clock cycles."""
|
||||||
return element_if_equal(self.getPatternWaitTime(0))
|
return element_if_equal(self.getPatternWaitTime(0))
|
||||||
|
|
||||||
@patwaittime0.setter
|
@patwaittime0.setter
|
||||||
@ -1305,6 +1364,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patwaittime1(self):
|
def patwaittime1(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Wait 1 time in clock cycles."""
|
||||||
return element_if_equal(self.getPatternWaitTime(1))
|
return element_if_equal(self.getPatternWaitTime(1))
|
||||||
|
|
||||||
@patwaittime1.setter
|
@patwaittime1.setter
|
||||||
@ -1313,6 +1373,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patwaittime2(self):
|
def patwaittime2(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Wait 2 time in clock cycles."""
|
||||||
return element_if_equal(self.getPatternWaitTime(2))
|
return element_if_equal(self.getPatternWaitTime(2))
|
||||||
|
|
||||||
@patwaittime2.setter
|
@patwaittime2.setter
|
||||||
@ -1321,6 +1382,12 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patloop0(self):
|
def patloop0(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Limits (start and stop address) of loop 0.
|
||||||
|
|
||||||
|
Examples
|
||||||
|
---------
|
||||||
|
>>> d.patloop0 = [0x23, 0x40]
|
||||||
|
"""
|
||||||
return element_if_equal(self.getPatternLoopAddresses(0))
|
return element_if_equal(self.getPatternLoopAddresses(0))
|
||||||
|
|
||||||
@patloop0.setter
|
@patloop0.setter
|
||||||
@ -1329,6 +1396,12 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patloop1(self):
|
def patloop1(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Limits (start and stop address) of loop 1.
|
||||||
|
|
||||||
|
Examples
|
||||||
|
---------
|
||||||
|
>>> d.patloop1 = [0x23, 0x40]
|
||||||
|
"""
|
||||||
return element_if_equal(self.getPatternLoopAddresses(1))
|
return element_if_equal(self.getPatternLoopAddresses(1))
|
||||||
|
|
||||||
@patloop1.setter
|
@patloop1.setter
|
||||||
@ -1337,6 +1410,12 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patloop2(self):
|
def patloop2(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Limits (start and stop address) of loop 2.
|
||||||
|
|
||||||
|
Examples
|
||||||
|
---------
|
||||||
|
>>> d.patloop2 = [0x23, 0x40]
|
||||||
|
"""
|
||||||
return element_if_equal(self.getPatternLoopAddresses(2))
|
return element_if_equal(self.getPatternLoopAddresses(2))
|
||||||
|
|
||||||
@patloop2.setter
|
@patloop2.setter
|
||||||
@ -1345,6 +1424,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patnloop0(self):
|
def patnloop0(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Number of cycles of loop 0."""
|
||||||
return element_if_equal(self.getPatternLoopCycles(0))
|
return element_if_equal(self.getPatternLoopCycles(0))
|
||||||
|
|
||||||
@patnloop0.setter
|
@patnloop0.setter
|
||||||
@ -1353,6 +1433,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patnloop1(self):
|
def patnloop1(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Number of cycles of loop 1."""
|
||||||
return element_if_equal(self.getPatternLoopCycles(1))
|
return element_if_equal(self.getPatternLoopCycles(1))
|
||||||
|
|
||||||
@patnloop1.setter
|
@patnloop1.setter
|
||||||
@ -1361,6 +1442,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def patnloop2(self):
|
def patnloop2(self):
|
||||||
|
"""[Ctb][Moench][Mythen3] Number of cycles of loop 2."""
|
||||||
return element_if_equal(self.getPatternLoopCycles(2))
|
return element_if_equal(self.getPatternLoopCycles(2))
|
||||||
|
|
||||||
@patnloop2.setter
|
@patnloop2.setter
|
||||||
|
@ -457,10 +457,13 @@ class Detector {
|
|||||||
/** [Jungfrau][Gotthard2] */
|
/** [Jungfrau][Gotthard2] */
|
||||||
Result<int> getNumberofUDPInterfaces(Positions pos = {}) const;
|
Result<int> getNumberofUDPInterfaces(Positions pos = {}) const;
|
||||||
|
|
||||||
/** [Jungfrau][Gotthard2] Also restarts client and receiver zmq sockets
|
/** [Jungfrau][Gotthard2] Number of udp interfaces to stream data from
|
||||||
* [Gotthard2] second interface enabled to send veto information via 10gbps
|
* detector. Default is 1. \n Also enables second interface in receiver for
|
||||||
* for debugging. By default it is sent via 2.5gbps if veto enabled
|
* listening (Writes a file per interface if writing enabled). \n Also
|
||||||
* n can be 1 or 2 */
|
* restarts client and receiver zmq sockets if zmq streaming enabled. \n
|
||||||
|
* [Gotthard2] second interface enabled to send veto information via 10Gbps
|
||||||
|
* for debugging. By default, if veto enabled, it is sent via 2.5 gbps
|
||||||
|
* interface. */
|
||||||
void setNumberofUDPInterfaces(int n, Positions pos = {});
|
void setNumberofUDPInterfaces(int n, Positions pos = {});
|
||||||
|
|
||||||
/** [Jungfrau] */
|
/** [Jungfrau] */
|
||||||
@ -822,7 +825,7 @@ class Detector {
|
|||||||
/** [Eiger] */
|
/** [Eiger] */
|
||||||
Result<bool> getOverFlowMode(Positions pos = {}) const;
|
Result<bool> getOverFlowMode(Positions pos = {}) const;
|
||||||
|
|
||||||
/** [Eiger] */
|
/** [Eiger] Overflow in 32 bit mode. Default is disabled.*/
|
||||||
void setOverFlowMode(bool value, Positions pos = {});
|
void setOverFlowMode(bool value, Positions pos = {});
|
||||||
|
|
||||||
/** [Eiger] */
|
/** [Eiger] */
|
||||||
@ -861,7 +864,9 @@ class Detector {
|
|||||||
/** [Eiger] */
|
/** [Eiger] */
|
||||||
Result<bool> getInterruptSubframe(Positions pos = {}) const;
|
Result<bool> getInterruptSubframe(Positions pos = {}) const;
|
||||||
|
|
||||||
/** [Eiger] when set, the last subframe is interrupted at end of acq */
|
/** [Eiger] Enable last subframe interrupt at required exposure time.
|
||||||
|
* Disabling will wait for last sub frame to finish exposing. Default is
|
||||||
|
* disabled. */
|
||||||
void setInterruptSubframe(const bool enable, Positions pos = {});
|
void setInterruptSubframe(const bool enable, Positions pos = {});
|
||||||
|
|
||||||
/** [Eiger] minimum two frames */
|
/** [Eiger] minimum two frames */
|
||||||
@ -885,8 +890,7 @@ class Detector {
|
|||||||
/** [Eiger] Advanced */
|
/** [Eiger] Advanced */
|
||||||
Result<bool> getPartialReset(Positions pos = {}) const;
|
Result<bool> getPartialReset(Positions pos = {}) const;
|
||||||
|
|
||||||
/** [Eiger] Advanced
|
/** [Eiger] Advanced used for pulsing chips. Default is Complete reset */
|
||||||
* used for pulsing chips */
|
|
||||||
void setPartialReset(bool value, Positions pos = {});
|
void setPartialReset(bool value, Positions pos = {});
|
||||||
|
|
||||||
/** [Eiger] Advanced
|
/** [Eiger] Advanced
|
||||||
@ -1267,7 +1271,7 @@ class Detector {
|
|||||||
/** [CTB] */
|
/** [CTB] */
|
||||||
Result<bool> getLEDEnable(Positions pos = {}) const;
|
Result<bool> getLEDEnable(Positions pos = {}) const;
|
||||||
|
|
||||||
/** [CTB] */
|
/** [CTB] Default is enabled. */
|
||||||
void setLEDEnable(bool enable, Positions pos = {});
|
void setLEDEnable(bool enable, Positions pos = {});
|
||||||
|
|
||||||
/**************************************************
|
/**************************************************
|
||||||
@ -1340,9 +1344,8 @@ class Detector {
|
|||||||
/** [CTB][Moench][Mythen3] */
|
/** [CTB][Moench][Mythen3] */
|
||||||
Result<uint64_t> getPatternBitMask(Positions pos = {}) const;
|
Result<uint64_t> getPatternBitMask(Positions pos = {}) const;
|
||||||
|
|
||||||
/** [CTB][Moench][Mythen3] Sets the bitmask that the mask will be applied to
|
/** [CTB][Moench][Mythen3] Sets the bits that will have a pattern mask
|
||||||
* for every pattern
|
* applied to the selected patmask for every pattern. */
|
||||||
*/
|
|
||||||
void setPatternBitMask(uint64_t mask, Positions pos = {});
|
void setPatternBitMask(uint64_t mask, Positions pos = {});
|
||||||
|
|
||||||
/** [Mythen3] */
|
/** [Mythen3] */
|
||||||
@ -1498,6 +1501,7 @@ class Detector {
|
|||||||
|
|
||||||
Result<bool> getDetectorLock(Positions pos = {}) const;
|
Result<bool> getDetectorLock(Positions pos = {}) const;
|
||||||
|
|
||||||
|
/** lock detector to one client IP. default is unlocked */
|
||||||
void setDetectorLock(bool lock, Positions pos = {});
|
void setDetectorLock(bool lock, Positions pos = {});
|
||||||
|
|
||||||
/** Get last client IP saved on detector server */
|
/** Get last client IP saved on detector server */
|
||||||
|
@ -2106,8 +2106,7 @@ std::string CmdProxy::PatternLoopAddresses(int action) {
|
|||||||
if (action == defs::HELP_ACTION) {
|
if (action == defs::HELP_ACTION) {
|
||||||
if (cmd == "patlimits") {
|
if (cmd == "patlimits") {
|
||||||
os << "[start addr] [stop addr] \n\t[Ctb][Moench][Mythen3] Limits "
|
os << "[start addr] [stop addr] \n\t[Ctb][Moench][Mythen3] Limits "
|
||||||
"of complete "
|
"of complete pattern."
|
||||||
"pattern."
|
|
||||||
<< '\n';
|
<< '\n';
|
||||||
} else if (cmd == "patloop0") {
|
} else if (cmd == "patloop0") {
|
||||||
os << "[start addr] [stop addr] \n\t[Ctb][Moench][Mythen3] Limits "
|
os << "[start addr] [stop addr] \n\t[Ctb][Moench][Mythen3] Limits "
|
||||||
|
@ -1640,11 +1640,12 @@ class CmdProxy {
|
|||||||
numinterfaces, getNumberofUDPInterfaces, setNumberofUDPInterfaces,
|
numinterfaces, getNumberofUDPInterfaces, setNumberofUDPInterfaces,
|
||||||
StringTo<int>,
|
StringTo<int>,
|
||||||
"[1, 2]\n\t[Jungfrau][Gotthard2] Number of udp interfaces to stream "
|
"[1, 2]\n\t[Jungfrau][Gotthard2] Number of udp interfaces to stream "
|
||||||
"data from detector. Default: 1.\n\t"
|
"data from detector. Default: 1.\n\tAlso enables second interface in "
|
||||||
"[Gotthard2] 2 will select 10gbps as channel for veto data streaming "
|
"receiver for listening (Writes a file per interface if writing "
|
||||||
"in detector and also enable second interface in receiver to listen to "
|
"enabled).\n\tAlso restarts client and receiver zmq sockets if zmq "
|
||||||
"it. This is mainly for debugging purposes. By default, numinterfaces "
|
"streaming enabled.\n\t[Gotthard2] second interface enabled to send "
|
||||||
"is 1 and if veto enabled, it is sent via 2.5 gbps interface");
|
"veto information via 10Gbps for debugging. By default, if veto "
|
||||||
|
"enabled, it is sent via 2.5 gbps interface.");
|
||||||
|
|
||||||
INTEGER_COMMAND(
|
INTEGER_COMMAND(
|
||||||
selinterface, getSelectedUDPInterface, selectUDPInterface,
|
selinterface, getSelectedUDPInterface, selectUDPInterface,
|
||||||
@ -1909,7 +1910,7 @@ class CmdProxy {
|
|||||||
|
|
||||||
INTEGER_COMMAND(overflow, getOverFlowMode, setOverFlowMode, StringTo<int>,
|
INTEGER_COMMAND(overflow, getOverFlowMode, setOverFlowMode, StringTo<int>,
|
||||||
"[0, 1]\n\t[Eiger] Enable or disable show overflow flag in "
|
"[0, 1]\n\t[Eiger] Enable or disable show overflow flag in "
|
||||||
"32 bit mode.");
|
"32 bit mode. Default is disabled.");
|
||||||
|
|
||||||
INTEGER_COMMAND(
|
INTEGER_COMMAND(
|
||||||
flippeddatax, getBottom, setBottom, StringTo<int>,
|
flippeddatax, getBottom, setBottom, StringTo<int>,
|
||||||
@ -1931,8 +1932,8 @@ class CmdProxy {
|
|||||||
|
|
||||||
TIME_GET_COMMAND(measuredperiod, getMeasuredPeriod,
|
TIME_GET_COMMAND(measuredperiod, getMeasuredPeriod,
|
||||||
"[(optional unit) ns|us|ms|s]\n\t[Eiger] Measured frame "
|
"[(optional unit) ns|us|ms|s]\n\t[Eiger] Measured frame "
|
||||||
"period between last frame and previous one. Useful data "
|
"period between last frame and previous one. Can be "
|
||||||
"only for acquisitions with more than 1 frame.");
|
"measured with minimum 2 frames in an acquisition.");
|
||||||
|
|
||||||
TIME_GET_COMMAND(measuredsubperiod, getMeasuredSubFramePeriod,
|
TIME_GET_COMMAND(measuredsubperiod, getMeasuredSubFramePeriod,
|
||||||
"[(optional unit) ns|us|ms|s]\n\t[Eiger] Measured sub "
|
"[(optional unit) ns|us|ms|s]\n\t[Eiger] Measured sub "
|
||||||
@ -1941,7 +1942,8 @@ class CmdProxy {
|
|||||||
INTEGER_COMMAND(
|
INTEGER_COMMAND(
|
||||||
partialreset, getPartialReset, setPartialReset, StringTo<int>,
|
partialreset, getPartialReset, setPartialReset, StringTo<int>,
|
||||||
"[0, 1]\n\t[Eiger] Sets up detector to do partial or complete reset at "
|
"[0, 1]\n\t[Eiger] Sets up detector to do partial or complete reset at "
|
||||||
"start of acquisition. 0 complete reset, 1 partial reset.");
|
"start of acquisition. 0 complete reset, 1 partial reset. Default is "
|
||||||
|
"complete reset. Advanced function!");
|
||||||
|
|
||||||
/* Jungfrau Specific */
|
/* Jungfrau Specific */
|
||||||
|
|
||||||
@ -2187,8 +2189,8 @@ class CmdProxy {
|
|||||||
|
|
||||||
INTEGER_COMMAND_HEX_WIDTH16(
|
INTEGER_COMMAND_HEX_WIDTH16(
|
||||||
patsetbit, getPatternBitMask, setPatternBitMask, StringTo<uint64_t>,
|
patsetbit, getPatternBitMask, setPatternBitMask, StringTo<uint64_t>,
|
||||||
"[64 bit mask]\n\t[Ctb][Moench][Mythen3] 64 bit values "
|
"[64 bit mask]\n\t[Ctb][Moench][Mythen3] Sets the bits that will have "
|
||||||
"applied to the selected patmask for every pattern.");
|
"a pattern mask applied to the selected patmask for every pattern.");
|
||||||
|
|
||||||
EXECUTE_SET_COMMAND(patternstart, startPattern,
|
EXECUTE_SET_COMMAND(patternstart, startPattern,
|
||||||
"\n\t[Mythen3] Starts Pattern");
|
"\n\t[Mythen3] Starts Pattern");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user