frig_get_global_c (ul_friglib)

	status.i4.v = frig_get_global_c(, returned_data.g.v, [,ftd.i2.v] [,type.i4.v])

	This routine returns ringwide data from a refrigerator data structure.

	name		name of data to retrieve ("xxxx_nnn")
			(Name format descriptions can be found under
			 the help topic frig_name_syntax.)
	returned_data	returned refrigerator data
	errors		array of returned ACNET status values
			(ACNET_ERR structures) (one for each refigerator house)
	[ftd]		frequency time descriptor (meaningful only if
			the data source is FRIG_MICRO)
			(FTD_ONESHOT -> one shot (default),
			 FTD_DEFAULT -> use database default FTD,
			 FTD_1HZ -> 1 Hz request,
			 FTD_EVENT_MASK OR'ed with TCLK event value -> read
			 on TCLK event (event constants are in tclk_events))
	[type]		type of global request
			(FRIG_WILD_ALL -> all Tevatron houses,
			 FRIG_WILD_FRIG -> Tevatron refrigerator houses only
			 FRIG_WILD_COMP -> Tevatron compressor houses only,
			 FRIG_GLOBAL_ALL -> all houses (including Tevatron),
			 FRIG_GLOBAL_FRIG -> all refrigerator houses,
			 FRIG_GLOBAL_COMP -> all compressor houses)

	This function returns status values as follows:

	DIO_OK			success
	DIO_BADARG		invalid type or name passed
	DIO_MEMFAIL		memory allocation failure
	DPM_xxx			data acquisition failure
	otherwise		number of values returned in error

	This function requires the following include files:

	cnsparam_h, cns_data_structs_h, ul_friglib_h:friguti_h, diolib_h, acnet_errors_h

	Related functions:

	frig_cancel_get_global_c, frig_global_info, frig_get_global_list_c,
	frig_get_value_c, frig_get_status_c, frig_get_value_c, error_in_list(_c)

	C usage:

	static const char	name[] = "FSM_0";
	short	ftd = FTD_ONESHOT;
	int	status;
	int	type = FRIG_WILD_FRIG;
	FSM_SET	returned_data[NUM_ENTRIES];

	status = frig_get_global_c(name,(void *) returned_data,errors,