According to one example, an electrical device is provided comprising electrical-device components, a first memory configured to store data temporarily, a second memory, the second memory being non-volatile memory, and a control device configured to acquire data indicative of at least one parameter of at least one electrical-device component of the electrical-device components responsive to a sample condition being met, store the acquired data in the first memory, determine that a fault condition exists based on the acquired data, the fault condition being indicative of a fault of one or more of the electrical-device components, and store the acquired data in the second memory responsive to determining that the fault condition exists.
展开▼