areaDetector  3-13
EPICS areaDetector framework
Functions
pxrd2_interface_misc.cpp File Reference
#include "pxrd2_interface_misc.h"
#include "PIXIEII_data_utilities_v2.h"
#include "interface_command_utilities.h"
#include "pthread.h"
#include <string.h>
#include <stdio.h>
#include <iostream>
#include "windef.h"
#include "filesystem_int.h"
#include "BoxUtilities_v2.h"
#include "pxrd2_detector_utilities.h"

Functions

void SetRunState (RUN *Run_ptr, RunState State)
 
RunState GetRunState (RUN *Run_ptr)
 
void StrRunState (RunState State, char *deststr, int maxlen)
 
RUNMODE getRunModeFromStr (const char *str)
 
int send_int_over_the_net (SOCKET data_socket, int data)
 
int ReadDataFromSocket (Connection *Conn_ptr)
 
int WriteDatatoSocket (Connection *Conn_ptr, char *str_buffer, int str_len, char *binary_buffer, int binary_len)
 
int filename_check (const char *input_str)
 
int update_run_sett (command incoming_cmd, Connection *Conn_ptr)
 
int update_sensor_sett_from_cmd (BOX *temp_box, command incoming_cmd, Connection *Conn_ptr)
 
int update_file_saving_style_from_cmd (command incoming_cmd, Connection *Conn_ptr)
 
int createFileList (FileList *List)
 
int FreeFileList (FileList *List)
 
int file_list_add_record (FileList *List_ptr, const char *char_ptr)
 
int file_check_extension (const char *filename, const char *ext)
 
int edit_map_sett_from_file (FFMapRecord *MapListRec_ptr, const char *filename)
 
int edit_frame_sett_from_file (FFMapRecord *MapListRec_ptr, const char *filename)
 
int populate_ffmap_list (FFMapList *MapList, const char *dir, const char *ext)
 
int populate_frame_list (FFMapList *MapList, const char *dir, const char *ext)
 
int stringfy_ffmap_list (FFMapList MapList, char *str, int str_len)
 
int stringfy_frame_list (FFMapList MapList, char *str, int str_len)
 
int create_folders (Connection *Conn_ptr, char *data_path, char *flat_towrite_path, char *flat_toread_path, char *default_path, int strlen)
 
int edit_sensor_properties (Connection *Conn_ptr, SENSOR Sensor)
 
int apply_special_configurations_tobox (BOX *tempbox, SENSOR Sens)
 
int get_crop_from_cmd (command incoming_cmd, Connection *Conn)
 
int get_interpol_options_from_cmd (command incoming_cmd, Connection *Conn)
 

Function Documentation

◆ apply_special_configurations_tobox()

int apply_special_configurations_tobox ( BOX *  tempbox,
SENSOR  Sens 
)

◆ create_folders()

int create_folders ( Connection *  Conn_ptr,
char *  data_path,
char *  flat_towrite_path,
char *  flat_toread_path,
char *  default_path,
int  strlen 
)

◆ createFileList()

int createFileList ( FileList List)

◆ edit_frame_sett_from_file()

int edit_frame_sett_from_file ( FFMapRecord *  MapListRec_ptr,
const char *  filename 
)

◆ edit_map_sett_from_file()

int edit_map_sett_from_file ( FFMapRecord *  MapListRec_ptr,
const char *  filename 
)

◆ edit_sensor_properties()

int edit_sensor_properties ( Connection *  Conn_ptr,
SENSOR  Sensor 
)

◆ file_check_extension()

int file_check_extension ( const char *  filename,
const char *  ext 
)

◆ file_list_add_record()

int file_list_add_record ( FileList List_ptr,
const char *  char_ptr 
)

◆ filename_check()

int filename_check ( const char *  input_str)

◆ FreeFileList()

int FreeFileList ( FileList List)

◆ get_crop_from_cmd()

int get_crop_from_cmd ( command  incoming_cmd,
Connection *  Conn 
)

◆ get_interpol_options_from_cmd()

int get_interpol_options_from_cmd ( command  incoming_cmd,
Connection *  Conn 
)

◆ getRunModeFromStr()

RUNMODE getRunModeFromStr ( const char *  str)

◆ GetRunState()

RunState GetRunState ( RUN *  Run_ptr)

◆ populate_ffmap_list()

int populate_ffmap_list ( FFMapList *  MapList,
const char *  dir,
const char *  ext 
)

◆ populate_frame_list()

int populate_frame_list ( FFMapList *  MapList,
const char *  dir,
const char *  ext 
)

◆ ReadDataFromSocket()

int ReadDataFromSocket ( Connection *  Conn_ptr)

◆ send_int_over_the_net()

int send_int_over_the_net ( SOCKET  data_socket,
int  data 
)

◆ SetRunState()

void SetRunState ( RUN *  Run_ptr,
RunState  State 
)

◆ stringfy_ffmap_list()

int stringfy_ffmap_list ( FFMapList  MapList,
char *  str,
int  str_len 
)

◆ stringfy_frame_list()

int stringfy_frame_list ( FFMapList  MapList,
char *  str,
int  str_len 
)

◆ StrRunState()

void StrRunState ( RunState  State,
char *  deststr,
int  maxlen 
)

◆ update_file_saving_style_from_cmd()

int update_file_saving_style_from_cmd ( command  incoming_cmd,
Connection *  Conn_ptr 
)

◆ update_run_sett()

int update_run_sett ( command  incoming_cmd,
Connection *  Conn_ptr 
)

◆ update_sensor_sett_from_cmd()

int update_sensor_sett_from_cmd ( BOX *  temp_box,
command  incoming_cmd,
Connection *  Conn_ptr 
)

◆ WriteDatatoSocket()

int WriteDatatoSocket ( Connection *  Conn_ptr,
char *  str_buffer,
int  str_len,
char *  binary_buffer,
int  binary_len 
)