added util block1394 copied from mechatronics-software