Download XIA Handel library
Transcript
xiaGetParamData Syntax: int xiaGetParamData(int detChan, char *name, void *value) Description: Gets the parameter information specified by the name-value pair. name names value Type char ** values unsigned short * access unsigned short * lower_bounds unsigned short * upper_bounds unsigned short * Description The names of all of the DSP parameters for the specified detChan. The proper amount of memory must be allocated for the string array passed in. The standard size is the number of parameters (retrieved using xiaGetNumParams()) by MAXSYMBOL_LEN, which is defined in handel_generic.h. The values of all of the DSP parameters for the specified detChan. The proper amount of memory must be allocated for the array passed in. Typically, the number of parameters is retrieved from xiaGetNumParams() and then used to allocate an array of the proper length. The access information for all of the DSP parameters for the specified detChan. The proper amount of memory must be allocated for the array passed in. Typically, the number of parameters is retrieved from xiaGetNumParams() and then used to allocate an array of the proper length. The access values are interpreted as follows: 0 = Read/Write, 1 = Read Only and 2 = WriteOnly. The lower bounds information for all of the DSP parameters for the specified detChan. The proper amount of memory must be allocated for the array passed in. Typically, the number of parameters is retrieved from xiaGetNumParams() and then used to allocate an array of the proper length. If both the lower bounds and upper bounds information for a DSP parameter are equal to 0, then that DSP parameter doesn’t have any defined bounds. The upper bounds information for all of the DSP parameters for the specified detChan. The proper amount of memory must be allocated for the array passed in. Typically, the number of parameters is retrieved from xiaGetNumParams() and then used to allocate an array of the proper length. If both the lower bounds and upper bounds information for a DSP parameter are equal to 0, then that DSP parameter doesn’t have any defined bounds. Parameters: detChan detChan to get the DSP parameter names and values from. Must be a single detChan. 80