Defines |
#define | XSP3_UDP_HEADER_SIZE 8 |
#define | MODULE_SIZE_X 4096 |
#define | XSP3_HIST_MOD_NAME 30 |
Functions |
int | xsp3_udp_init (UDPconnection *udpconnection, char *hostIPaddress, int hostPort, char *femIPaddress, int femPort) |
| Initialise the UDP connection.
|
void * | read_and_histogram (void *args) |
int | xsp3_histogram_mkmod (int path, int chan, char *root_name, int num_tf) |
| Creates Data modules to store the histogram data.
|
int | xsp3_config_histogram_udp (int path, int card, char *hostIPaddress, int hostPort, char *femIPaddress, int femPort) |
| Configure the upd connection between the server and the xspress3 card and subsequently initializes a thread to perform the histogramming.
|
int | xsp3_config_histogram_threads (int path, int card) |
| Start event list processing threads for 1 or all cards in farm mode.
|
int | xsp3_histogram_start (int path, int card) |
| Start system and enable counting.
|
int | xsp3_histogram_arm (int path, int card) |
| Start system ready for histogramming but do not software enable histogramming.
|
int | xsp3_histogram_continue (int path, int card) |
| Continue counting from armed or paused when time framing is in software controlled (FIXED) mode.
|
int | xsp3_histogram_pause (int path, int card) |
| Pause counting in seriesof software timed frames.
|
int | xsp3_histogram_start_count_enb (int path, int card, int count_enb) |
| Start system and histogramming after resetting the UDP port and frame numbers as necessary.
|
int | xsp3_histogram_stop (int path, int card) |
| Stop histogramming.
|
int | xsp3_histogram_clear (int path, int first_chan, int num_chan, int first_frame, int num_frames) |
| Clears a section of the histogramming data buffer.
|
int | xsp3_histogram_get_dropped (int path, int chan) |
| Read how many missed UDP packets of data have been detected since last start.
|
int | xsp3_histogram_is_any_busy (int path) |
| Check if any histogarmming thread for this system is busy or waiting for data.
|
int | xsp3_histogram_is_busy (int path, int chan) |
| Check if the histogarmming thread is busy or waiting for data.
|
int | xsp3_histogram_read4d (int path, u_int32_t *buffer, unsigned eng, unsigned aux, unsigned chan, unsigned tf, unsigned num_eng, unsigned num_aux, unsigned num_chan, unsigned num_tf) |
| Read a 4 dimensional block of histogram data.
|
int | xsp3_histogram_read3d (int path, u_int32_t *buffer, unsigned x, unsigned y, unsigned t, unsigned dx, unsigned dy, unsigned dt) |
| Read a 3 dimensional block of histogram data with aux and chan combined into "y" to suit da.server.
|
int | xsp3_histogram_read_chan (int path, u_int32_t *buffer, unsigned chan, unsigned eng, unsigned aux, unsigned tf, unsigned num_eng, unsigned num_aux, unsigned num_tf) |
| Read a channel of histogram data.
|
int | xsp3_histogram_write_test_pat (int path, Xsp3TestPattern type) |
| Write a test pattern into histogramming memory.
|
Variables |
XSP3Path | Xsp3Sys [] |
char | error_message [] |
pthread_mutex_t | mutex1 = PTHREAD_MUTEX_INITIALIZER |