I have created a mask for a 1kHz sine wave and saved it as the default scope setting. The default measurement is Mask Failure. I have a macro that pushes the Run button and saves the data to a psdata file. I am executing the macro via the command line, "PicoScope.exe /A C:\Users\username\Documents\Waveforms\Macros\test.psmacro". The result data file contains all of the data points but does not appear to contain the Pass/Fail result of the measurement.
Is there a way to obtain the Pass/Fail result via a macro executed from the command line?