The File Reader plugin can be loaded by selecting either of File Reader options from the Live acquisition tab in the New project dialog.

Supported files

The file reader plugin supports ENVI cubes with datatype UInt16 or Float32, the data layouts depend on which type was chosen:

  • File Reader (Line Scan) supports BIL and BIP cubes.
  • File Reader (Snapshot) supports BSQ and BIP cubes.

Configuration

mira.ini

The File Reader plugin has the following options available in the mira.ini file under the acq_FileReader section:

  • preloadCubes: a boolean value to enable loading cubes into memory for faster acquisition, defaults to true.
  • resetOnStart: a boolean value to make the File Reader start from the first frame of the first cube every time acquisition is started, defaults to true.
  • timed: a boolean value to enable exposure and frame rate simulation, frame rate is the maximum frame rate allowed, defaults to true.
  • timedGlobal: a boolean value to enable simulate an internal trigger, defaults to true, requires timed to be enabled as well.

Troubleshooting

Cube file not found

This error may happen when the provided header file does not have cube file matching the expected size, for instance if the cube was compressed. If a cube is compressed, then it can be exported to a cube that the File Reader does support using the export option.