The script also needs import FMEDA in ISO13849 template to ISO26262 template.
I am 99% sure that we have scripted exactly that, a script that imports legacy SOX FMEDA from either an Excel export or from the original file. I will have to ask though whether we can simply post it here.
Stay tuned
Jan
Hello @Nandishwarraju , I am sharing an example with a script that I think would help with your case. While executing the script, you will be prompted to select your project files, select first the projectData file, second the .sxbom file and third the .sxfmeda file. Aline
Hello Aline, Please find script that we are currently using.
[Attachment was removed]
Hello @Nandishwarraju, here are a few other scripts you can try out, test, and adapt to your specific use case. Hope you find them useful!
Hello @Aline Iradukunda , Import is successful. But the Safe Fault Fraction is not updated with relevance from either Safe/Dangerous. Could you please check.
Hello @Nandishwarraju, you could extract safe and dangerous values from SOX into fmeda_list_sets
fmeda_list_sets
spfSafe: String(single.getAttribute("safe")), spfDangerous: String(single.getAttribute("dangerous"))
then later assign them to fm_entry.safeFaultFraction instead of assigning it to spfRelevance like below
fm_entry.safeFaultFraction
spfRelevance
if (entry.spfSafe != "") { fm_entry.safeFaultFraction = parseBigDecimal(entry.spfSafe); } else if (entry.spfDangerous != "") { fm_entry.safeFaultFraction = parseBigDecimal((100 - Number(entry.spfDangerous))); }
This means that if we have safe set in SOX we add it as is, but if it is not set and we have dangerous set, we subtract it from 100.