Opening and closing devices
You can open, read, and release the device. You cannot open the device multiple times. Each time the device is opened it must be released before it can be opened again.
About this task
You can use a device's autorecord attribute to enable automatic record collection while a device is open.
You can use a device's autopurge attribute to enable automatic purging of existing records when a device is opened and closed.