sr_sda_snapshot_stats_c

	status.i4.v = sr_sda_snapshot_stats_c(device_indices.i4a.r,
					      properties.i2a.r, sda_usage.i1a.r,
					      file_number.i4.v,
					      case_number.i4.v,
					      subcase_number.i4.v,
					      start_times.u4a.r,
					      minimum_values.r8a.r,
					      maximum_values.r8a.r,
					      average_values.r8a.r,
					      rates.i4a.r, durations.r4a.r,
					      errors.i2a.r, want_ftp.i4.v,
					      num_devices.i4.v)

	This routine returns information about snapshots or fast time plots
	taken by SDA.  A value of NULL can be passed for any returned argument
	whose values are not needed.

	device_indices	device index or array of device indices
	properties	property index or array of property indices
			(If the first value is less than zero, all devices
			 will be requested with a property index which is
			 equal to the absolute value of this argument.)
			(constants are in dbprops)
	sda_usage	null terminated SDA usage string
			(A value of NULL results in Collider shot access.)
	file_number	file number from which to retrieve data
	case_number	SDA case number
	subcase_number	SDA subcase (set) number
	start_times	returned date of beginning of data acquistion
			(in clinks)
	minimum_values	returned minimum values
	maximum_values	returned maximum values
	average_values	returned average values
	rates		returned plot rates in Hz
	durations	returned plot durations in milliseconds
	errors		returned ACNET status or array of status values
	want_ftp	flag indicating whether or not fast time plot data
			is being requested
			(TRUE -> want fast time plot data,
			 FALSE -> want snapshot plot data)
	num_devices	number of devices

	This function returns status values as follows:

	OK			success
	DIO_BADARG		invalid data source or case number
	DIO_MEMFAIL		memory allocation failure
	DIO_INVLEN		too much data requested

	This function requires the following include files:

	cbslib_h, acnet_errors_h

	Related functions:

	sr_set_source_c, sr_get_device_c, sr_get_device_raw_c,
	sr_sda_cases_present_c, sr_sda_num_subcases_c,
	sr_sda_subcases_present_c, sr_sda_case_times_c,
	sr_disconnect

	C/C++ usage:

	static const char	sda_usage[] = "ColliderShot";
	short	properties[NUM_DEVICES] = {PRREAD};
	short	errors[NUM_DEVICES];
	int	status;
	int	device_indices[NUM_DEVICES] = {27235};
	int	file_number = FILE_NUMBER;
	int	case_number = SDA_DEFAULT_CASE_NUMBER;
	int	subcase_number = SDA_DEFAULT_SUBCASE_NUMBER;
	int	rates[NUM_DEVICES];
	int	want_ftp = TRUE;
	int	num_devices = NUM_DEVICES;
	unsigned int	start_times[NUM_DEVICES];
	float	durations[NUM_DEVICES];
	double	minimum_values[NUM_DEVICES];
	double	maximum_values[NUM_DEVICES];
	double	average_values[NUM_DEVICES];

	status = sr_sda_snapshot_stats_c(device_indices,properties,sda_usage,
					 file_number,case_number,
					 subcase_number,start_times,
					 minimum_values,maximum_values,
					 average_values,rates,durations,
					 errors,want_ftp,num_devices);