def init_dev(dev, di_file=default_di_file):
    """Initializes the device with the di files."""

    fx2.init_dev(dev,di_file)