mecar_get_crate (ul_mecarlib)

	status.i4.v = mecar_get_crate()

	This routine returns the currently active MECAR crate number.

	This function returns status values as follows:

	DIO_NO_SUCH		no MECAR crate is available
	otherwise		active MECAR crate number

	This function requires the following include files:

	ul_mecarlib_h:mecarlib_h, acnet_errors_h

	Related functions:

	mecar_get_ramp, mecar_ramp_length, mecar_ramp_time_to_current,
	mecar_ramp_current_to_time, mecar_ramp_fit_current_to_time