[S8346] Script to output the results of multiple case probes in a batch to a csv file

 

The following is an example of a script that outputs the results of a multi-case probe in a batch to a csv file.

app = designer.GetApplication()

# Get a probe that has already been created (probe name [test])

ref1 = app.GetModel(0).GetStudy(0).GetProbe(u"test")

# Create a graph containing the results of all cases

app.GetDataManager().CreateAllCasesProbeGraphModel(ref1)

# Export CSV file

app.GetDataManager().GetGraphModel(u"[Cases] test").WriteTable(u"D:/allcases.csv")

How to use script file

Use the JMAG Script Library after reading and agreeing to the following terms of use.