// Read the property of DataRecorder = //storage/recorder/datarecorder.1/
DeviceProxy scanProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
if (scanProxy != null) {
try {
DeviceAttribute attribute = scanProxy.read_attribute("dataRecorded");
if (attribute.extractBoolean()) {
String dataRecorderDeviceName = "storage/recorder/datarecorder.1";
Database database = TangoDeviceHelper.getDatabase();
if (database != null) {
DbDatum dbDatum = database.get_device_property(scanServerName,
"DataRecorder");