#
# pluginHDF5.cmd
#
# Required env vars
#	CAM			- PV Prefix for all camera related PV's
#	N			- Plugin number, must be unique if more than one HDF5 plugin
#	PLUGIN_SRC	- Which port should this plugin get its data from

# Configure the plugin
# NDFileHDF5Configure( portName, queueSize, blockingCallbacks, dataSrcPortName, addr, priority, stackSize )
NDFileHDF5Configure( "HDF5$(N)", $(QSIZE), 0, "$(PLUGIN_SRC)", 0, 0, 0 )

# Load the plugin records
dbLoadRecords( "db/pluginHDF5.db",  "CAM=$(CAM_PV),CAM_PORT=$(CAM_PORT),PLUGIN_SRC=$(PLUGIN_SRC),N=$(N)" )
