dio_simulate_query

	status.i4.v = dio_simulate_query(do_fake.i4.r, auto_populate.i4.r,
					 set_read.i4.r, specs.g.v)

	This routine returns the present mode of DIO simulation use.
	See dio_simulate.
	
	do_fake		returned simulation mode flag
			(TRUE  -> DIO use simulation mode,
			 FALSE -> DIO use real mode)
	auto_populate	returned method of auto-population for simulation mode:
			(DIO_AUTOPOP_NONE -> do not auto populate,
			 DIO_AUTOPOP_DPM  -> use real data pool to populate,
			 DIO_AUTOPOP_DBM  -> use real database to populate,
			 DIO_AUTOPOP_SCR  -> use Save/Restore file,
			 DIO_AUTOPOP_SDA  -> use SDA file,
			 DIO_AUTOPOP_DL   -> use Lumberjack file)
	set_read	when in simulation or fake mode only:
			(TRUE -> settings wil be applied to the reading value
				 rather than the setting value of the device,
			 FALSE-> normal use; settings will be reflected only
				 in the setting value of the device)
	specs		returned data acquistion specification depending
			on data source
			(DIO_AUTOPOP_NONE -> not used,
			 DIO_AUTOPOP_DPM  -> not used,
			 DIO_AUTOPOP_DBM  -> not used,
			 DIO_AUTOPOP_SCR  -> structure of type DIO_SR_SPEC,
			 DIO_AUTOPOP_SDA  -> structure of type DIO_SDA_SPEC,
			 DIO_AUTOPOP_DL   -> structure of type DIO_DL_SPEC)

	This function returns ACNET status values as follows:

	OK			success
	negative value		ACNET error

	This function requires the following include files:

	diolib_h, acnet_errors_h

	Related functions:

	mio_read, mio_set, mio_control, mio_cancel, mio_fill_status

	C/C++ usage:

	int	status;
	int	do_fake;
	int	auto_populate;
	int	set_read;
	void	*specs;

	status = dio_simulate_query(&do_fake,&auto_populate,&set_read,
				    specs);