Preparation and properties of thin film YBa2Cu3OX devices