mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-22 09:37:59 +02:00
in between
This commit is contained in:
@ -439,13 +439,38 @@ class slsDetectorUsers
|
||||
virtual void finalizeDataset(double *a, double *v, double *e, int &np);
|
||||
|
||||
|
||||
/**
|
||||
Enable data streaming from receiver (zmq)
|
||||
\param i 1 to set, 0 to reset and -1 to get
|
||||
\returns data streaming enable
|
||||
*/
|
||||
/** Enable or disable streaming data from receiver (creates transmitting sockets)
|
||||
* @param enable 0 to disable 1 to enable -1 to only get the value
|
||||
* @returns data streaming from receiver enable
|
||||
*/
|
||||
int enableDataStreamingFromReceiver(int i=-1);
|
||||
|
||||
/**
|
||||
* Enable data streaming to client (creates receiving sockets)
|
||||
* @param i 0 to disable, 1 to enable, -1 to get the value
|
||||
* @returns data streaming to client enable
|
||||
*/
|
||||
int enableDataStreamingToClient(int i=-1);
|
||||
|
||||
/**
|
||||
* Set/Get receiver streaming out ZMQ port
|
||||
* If imod is -1, when setting it calculates and sets the port for all individual detectors
|
||||
* and when getting it returns only the port of individual detector in first position
|
||||
* @param i sets, -1 gets
|
||||
* @param imod module index, -1 for all
|
||||
* @returns receiver streaming out ZMQ port ()
|
||||
*/
|
||||
int setReceiverDataStreamingOutPort(int i, int imod=-1);
|
||||
|
||||
/**
|
||||
* Set/Get client streaming in ZMQ port
|
||||
* If imod is -1, when setting it calculates and sets the port for all individual detectors
|
||||
* and when getting it returns only the port of individual detector in first position
|
||||
* @param i sets, -1 gets
|
||||
* @param imod module index, -1 for all
|
||||
* @returns client streaming in ZMQ port
|
||||
*/
|
||||
int setClientDataStreamingInPort(int i, int imod=-1);
|
||||
|
||||
/**
|
||||
get get Module Firmware Version
|
||||
|
Reference in New Issue
Block a user