scope_get_module_id (ul_scopes)

	status.i4.v = scope_get_module_id(connect_info.g.v, module_id.i4.r)

	This routine retrieves the module ID from a scope connection.

	connect_info	scope connection structure created by a
			prior call to scope_connect
	module_id	returned module ID

	This function returns ACNET status values as follows:

	OK			success
	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

	C/C++ usage:

	static const char	ip_name[] = "";
	int	status;
	int	module_id;
	void	*connect_info;

	status = scope_connect(ip_name,&connect_info);

	status = scope_get_module_id(connect_info,&module_id);

	status = scope_disconnect(&connect_info);