function Faults2str input FaultTriggering.Utilities.Records.Faults faults = FaultTriggering.Utilities.Records.Faults(parameterFaults = FaultTriggering.Utilities.Records.Parameter_Faults(realFaults = {FaultTriggering.Utilities.Records.RealFaults(name = "FaultTriggering.Utilities.Types.Parameter_Fault_Real", path = "FaultTriggering.Examples.ActuatorExample.ActuatorFaultBus.driveline.realFaultConst.constRealFault")}, realValue = {1}, integerFaults = {FaultTriggering.Utilities.Records.IntegerFaults(name = "FaultTriggering.Utilities.Types.Parameter_Fault_Integer", path = "FaultTriggering.Examples.ActuatorExample.ActuatorFaultBus.driveline.integerFaultConst.constIntegerFault")}, integerValue = {1}, booleanFaults = {FaultTriggering.Utilities.Records.BooleanFaults(name = "FaultTriggering.Utilities.Types.Parameter_Fault_Boolean", path = "FaultTriggering.Examples.ActuatorExample.ActuatorFaultBus.driveline.disconnect.constBooleanFault"), FaultTriggering.Utilities.Records.BooleanFaults(name = "FaultTriggering.Utilities.Types.Parameter_Fault_Boolean", path = "FaultTriggering.Examples.ActuatorExample.ActuatorFaultBus.driveline.constantBooleanFault.constBooleanFault")}, booleanValue = {true, false}), variableFaults = FaultTriggering.Utilities.Records.Variable_Faults(realFaults = {FaultTriggering.Utilities.Records.RealFaults(name = "FaultTriggering.Utilities.Types.Variable_Fault_Real", path = "FaultTriggering.Examples.ActuatorExample.ActuatorFaultBus.driveline.friction.externalRealFault")}, realFaultSelect = {1}, realFaultMode = {1}, realFaultDefault = {0.0}, integerFaults = {FaultTriggering.Utilities.Records.IntegerFaults(name = "FaultTriggering.Utilities.Types.Variable_Fault_Integer", path = "FaultTriggering.Examples.ActuatorExample.ActuatorFaultBus.motor.ktFault.externalIntegerFault")}, integerFaultSelect = {1}, integerFaultMode = {1}, integerFaultDefault = {1}, booleanFaults = {FaultTriggering.Utilities.Records.BooleanFaults(name = "FaultTriggering.Utilities.Types.Variable_Fault_Boolean", path = "FaultTriggering.Examples.ActuatorExample.ActuatorFaultBus.loadSpeedSensor.externalBooleanFault"), FaultTriggering.Utilities.Records.BooleanFaults(name = "FaultTriggering.Utilities.Types.Variable_Fault_Boolean", path = "FaultTriggering.Examples.ActuatorExample.ActuatorFaultBus.motor.speedSensor.externalBooleanFault"), FaultTriggering.Utilities.Records.BooleanFaults(name = "FaultTriggering.Utilities.Types.Variable_Fault_Boolean", path = "FaultTriggering.Examples.ActuatorExample.ActuatorFaultBus.driveline.speedSensor.externalBooleanFault"), FaultTriggering.Utilities.Records.BooleanFaults(name = "FaultTriggering.Utilities.Types.Variable_Fault_Boolean", path = "FaultTriggering.Examples.ActuatorExample.ActuatorFaultBus.driveline.bearing.fault.externalBooleanFault")}, booleanFaultSelect = {1, 2, 3, 4}, booleanFaultMode = {1, 1, 1, 1}, booleanFaultDefault = {true, true, false, false})); input String comma = ","; input Integer level = 0; output String y[:]; end Faults2str;