*/
private static DeviceAttribute getDeviceAttribute(IDevice device) throws SalsaDeviceException {
String name = device.getName();
int separatorPos = name.lastIndexOf("/");
if (separatorPos < 0) {
throw new SalsaDeviceException("Error : invalid device name " + name + " : no \"/\".",
false);
}
String deviceName = name.substring(0, separatorPos);
String attributeName = name.substring(separatorPos + 1);
DeviceProxy proxy = getDeviceProxy(deviceName);