sr_sda_config_devices_c

	status.i4.v = sr_sda_config_devices_c(usage.i1a.r, case_number.i4.v,
					      num_scalars.i4.r,
					      scalar_dis.i4p.r,
					      scalar_pis.i2p.r,
					      scalar_lengths.i4p.r,
					      scalar_offsets.i4p.r,
					      scalar_dat_evts.i1p.r,
					      num_snapshots.i4.r,
					      snap_dis.i4p.r,
					      snap_pis.i2p.r,
					      snap_ais.i4p.r,
					      snap_dat_evts.i1p.r,
					      num_ftps.i4.r,
					      ftp_dis.i4p.r,
					      ftp_pis.i2p.r,
					      ftp_ais.i4p.r,
					      ftp_dat_evts.i1p.r)

	This routine will return the list of devices configured for
	acquisition by SDA.  A value of NULL can be passed for any of
	the returned arguments if that value is not needed.

	usage		null terminated SDA usage string
			(SDA_USAGE_NAME_LEN characters)
	case_number	desired case number
			(If a value of CLIB_DEFAULT_ARG is passed,
			 data will be collected for all cases.)
	num_scalars	returned number of scalar devices
	scalar_dis	returned array of scalar device indices
			(This memory should be freed by the caller.)
	scalar_pis	returned array of scalar device property indices
			(This memory should be freed by the caller.)
	scalar_lengths	returned array of scalar device lengths
			(This memory should be freed by the caller.)
	scalar_offsets	returned array of scalar device offsets
			(This memory should be freed by the caller.)
	scalar_dat_evts	returned array of scalar data event strings
			(20 characters per entry)
			(This memory should be freed by the caller.)
	num_snapshots	returned number of snapshot devices
	snap_dis	returned array of snapshot device indices
			(This memory should be freed by the caller.)
	snap_pis	returned array of snapshot device property indices
			(This memory should be freed by the caller.)
	snap_ais	returned array of snapshot device array indices
			(This memory should be freed by the caller.)
	snap_dat_evts	returned array of snapshot device data event strings
			(254 characters per entry)
			(This memory should be freed by the caller.)
	num_ftps	returned number of fast time plot devices
	ftp_dis		returned array of fast time plot device indices
			(This memory should be freed by the caller.)
	ftp_pis		returned array of fast time plot device property indices
			(This memory should be freed by the caller.)
	ftp_ais		returned array of fast time plot device array indices
			(This memory should be freed by the caller.)
	ftp_dat_evts	returned array of fast time plot data event strings
			(254 characters per entry)
			(This memory should be freed by the caller.)

	This function returns status values as follows:

	OK			success
	CLIB_INVARG		no such SDA usage or case number
	CLIB_MEMFAIL		dynamic memory allocation failure
	SQL_xxx			error reading database

	This function requires the following include files:

	cbslib_h, cns_data_structs_h, acnet_errors_h

	Related functions:

	sr_sda_config_find_device_c, sr_sda_config_device_c,
	sr_sda_config_device_list_c, sr_file_devices_c, sr_file_has_device_c,
	sr_file_has_devices_c, sr_sda_data_lengths_c, sr_file_menu_c,
	sr_sda_cases_present_c, sr_sda_subcases_present_c,
	sr_sda_num_subcases_c, sr_get_device_c, sr_get_device_raw_c,
	sr_get_array_device_c, sr_get_snapshot_c, sr_read_snapshot_c,
	sr_snapshot_header_c, sr_snapshot_info_c, sr_snapshot_info_list_c,
	sr_is_on_c, sr_is_positive_c, sr_status_c, sr_status_text_c,
	sr_restore_device_c, sr_sda_case_times_c

	C/C++ usage:

	static const char	usage[] = "ColliderShot";
	char	*scalar_dat_evts;
	char	*snap_dat_evts;
	char	*ftp_dat_evts;
	short	*scalar_pis;
	short	*snap_pis;
	short	*ftp_pis;
	int	status;
	int	case_number = CLIB_DEFAULT_ARG;
	int	num_scalars;
	int	num_snapshots;
	int	num_ftps;
	int	*scalar_dis;
	int	*scalar_lens;
	int	*scalar_offs;
	int	*snap_dis;
	int	*snap_ais;
	int	*ftp_dis;
	int	*ftp_ais;

	status = sr_sda_config_devices_c(usage,case_number,&num_scalars,
					 &scalar_dis,&scalar_pis,&scalar_lens,
					 &scalar_offs,&scalar_dat_evts,
					 &num_snapshots,&snap_dis,&snap_pis,
					 &snap_ais,&snap_dat_evts,&num_ftps,
					 &ftp_dis,&ftp_pis,&ftp_ais,
					 &ftp_dat_evts);