mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00
runtime, zmqwhm rx_zmqhwm in python
This commit is contained in:
parent
90a9cea670
commit
d5dcc8e138
@ -349,7 +349,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
@element
|
@element
|
||||||
def nframes(self):
|
def framecounter(self):
|
||||||
"""
|
"""
|
||||||
[Jungfrau][Mythen3][Gotthard2][Moench][CTB] Number of frames from start run control.
|
[Jungfrau][Mythen3][Gotthard2][Moench][CTB] Number of frames from start run control.
|
||||||
Note
|
Note
|
||||||
@ -1009,6 +1009,32 @@ class Detector(CppDetectorApi):
|
|||||||
ip = ut.make_ip(ip) #Convert from int or string to IpAddr
|
ip = ut.make_ip(ip) #Convert from int or string to IpAddr
|
||||||
ut.set_using_dict(self.setClientZmqIp, ip)
|
ut.set_using_dict(self.setClientZmqIp, ip)
|
||||||
|
|
||||||
|
|
||||||
|
@property
|
||||||
|
def zmqhwm(self):
|
||||||
|
"""
|
||||||
|
Client's zmq receive high water mark. Default is the zmq library's default (1000), can also be set here using -1.
|
||||||
|
This is a high number and can be set to 2 for gui purposes.
|
||||||
|
One must also set the receiver's send high water mark to similar value. Final effect is sum of them.
|
||||||
|
Setting it via command line is useful only before zmq enabled (before opening gui).
|
||||||
|
"""
|
||||||
|
return self.getClientZmqHwm()
|
||||||
|
|
||||||
|
@zmqhwm.setter
|
||||||
|
def zmqhwm(self, n_frames):
|
||||||
|
self.setClientZmqHwm(n_frames)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def rx_zmqhwm(self):
|
||||||
|
"""
|
||||||
|
Receiver's zmq send high water mark. Default is the zmq library's default (1000). This is a high number and can be set to 2 for gui purposes. One must also set the client's receive high water mark to similar value. Final effect is sum of them. Also restarts receiver zmq streaming if enabled. Can set to -1 to set default value.
|
||||||
|
"""
|
||||||
|
return self.getRxZmqHwm()
|
||||||
|
|
||||||
|
@rx_zmqhwm.setter
|
||||||
|
def rx_zmqhwm(self, n_frames):
|
||||||
|
self.setRxZmqHwm(n_frames)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@element
|
@element
|
||||||
def udp_dstip(self):
|
def udp_dstip(self):
|
||||||
@ -1965,7 +1991,7 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
@element
|
@element
|
||||||
def now(self):
|
def runtime(self):
|
||||||
"""[Jungfrau][Mythen3][Gotthard2][Moench][CTB] Time from detector start up.
|
"""[Jungfrau][Mythen3][Gotthard2][Moench][CTB] Time from detector start up.
|
||||||
Note
|
Note
|
||||||
-----
|
-----
|
||||||
@ -3079,6 +3105,14 @@ class Detector(CppDetectorApi):
|
|||||||
"""
|
"""
|
||||||
return ClkFreqProxy(self)
|
return ClkFreqProxy(self)
|
||||||
|
|
||||||
|
|
||||||
|
def readout(self):
|
||||||
|
"""
|
||||||
|
Mythen3] Starts detector readout. Status changes to TRANSMITTING and automatically returns to idle at the end of readout.
|
||||||
|
"""
|
||||||
|
self.startDetectorReadout()
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
---------------------------<<<Debug>>>---------------------------
|
---------------------------<<<Debug>>>---------------------------
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user