private String[] getScriptInfo(String scriptName) {
String[] result = null;
DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(model);
if (proxy != null && scriptName != null && !scriptName.equalsIgnoreCase("do nothing")) {
try {
DeviceData devDataIn = new DeviceData();
devDataIn.insert(scriptName);
DeviceData devDataOut = proxy.command_inout(DataRecorderModel.GET_SCRIPTS_INFO_CMD, devDataIn);
if (devDataOut != null) {
result = devDataOut.extractStringArray();
}
} catch (DevFailed e) {
DataRecorderMessageManager.notifyExecuteCommandErrorDetected(model, DataRecorderModel.GET_SCRIPTS_INFO_CMD, e);
result = null;