frig_fsm_current_state_c (ul_friglib)

	status.i4.v = frig_fsm_current_state_c(,,

	This routine returns the current state of a Finite State Machine (FSM).

	house		house name (HOUSE_NAME_LEN characters),
	name		pseudo name of finite state machine ("FSM_xxx")
			(Name format descriptions can be found under
			 the help topic frig_name_syntax.)
	curr_states	returned current state values  (A value of -1
			indicates that the FSM isn't active.)
	status_values	returned refrigerator status data  (Individual values
			will be the result of the 'OR'ing of the following
			(FRIG_IS_DEFINED -> FSM is defined,
			 FRIG_IS_ENABLED -> FSM is enabled,
			 FRIG_IS_ACTIVE -> FSM is active)
	num_entries	number of entries (default is 1)

	This function returns ACNET status values as follows:

	DIO_OK			success
	DIO_BADARG		invalid house or name passed
	DIO_MEMFAIL		memory allocation failure
	DPM_xxx			data acquisition failure

	This function requires the following include files:

	cnsparam_h, ul_friglib_h:friguti_h, acnet_errors_h

	Related functions:

	frig_disable_fsm_c, frig_enable_fsm_c, frig_deactivate_fsm_c,
	frig_activate_fsm_c, frig_get_value_c, frig_get_status_c

	C usage:

	static const char	house[HOUSE_NAME_LEN+1] = "A1";
	static const char	name[] = "FSM_0";
	unsigned short	status_values[NUM_ENTRIES];
	int	status;
	int	curr_states[NUM_ENTRIES];
	int	num_entries = NUM_ENTRIES;

	status = frig_fsm_current_state_c(house,name,curr_states,