scope_set_trigger_type_c (ul_scopes)

	status.i4.v = scope_set_trigger_type_c(connect_info.g.v,
					       trigger.i4.v [,type.i4.v]
					       [,mode.i4.v])

	This routine sets the trigger type for a scope.

	connect_info	scope connection structure created by a
			prior call to scope_connect
	trigger		trigger to set
			(SCOPE_TRIGGER_A -> trigger A (normal choice),
			 SCOPE_TRIGGER_B -> trigger B)
	[type]		trigger type
			(CLIB_DEFAULT_ARG -> use previous value (default),
			 SCOPE_TRIGGER_TYPE_EDGE -> edge trigger,
			 SCOPE_TRIGGER_TYPE_PULSE -> pulse trigger,
			 SCOPE_TRIGGER_TYPE_LOGIC -> triggers when specified
						     conditions are met,
			 SCOPE_TRIGGER_TYPE_COMM -> triggers when a
						    communications signal
						    is found,
			 SCOPE_TRIGGER_TYPE_SERIAL -> triggers when an
						      NRZ encoded word
						      is detected) 
	[mode]		desired trigger mode
			(CLIB_DEFAULT_ARG -> use previous value (default),
			 SCOPE_TRIGGER_MODE_NORMAL,
			 SCOPE_TRIGGER_MODE_AUTO)

	This function returns ACNET status values as follows:

	OK			success
	CLIB_NOTYET		scope model is not supported
	CLIB_INVARG		invalid connection information passed
	CLIB_GENERIC_ERROR	error accessing scope information
	otherwise		other ACNET error

	This function requires the following include files:

	ul_scopes_h:scopelib_h, acnet_errors_h

	Related functions:

	scope_connect, scope_disconnect, scope_info, tds7000_set_trigger_type_c

	C/C++ usage:

	static const char	ip_name[] = "myscope.fnal.gov";
	int	status;
	int	trigger = TRIGGER;
	int	type = TYPE;
	int	mode = MODE;
	void	*connect_info;

	status = scope_connect(ip_name,&connect_info);

	status = scope_set_trigger_type_c(connect_info,trigger,type,mode);

	status = scope_disconnect(&connect_info);