Can you confirm the Data# field of NSDE is not working as expected, both in ZPL and MF?
Help reference: The Optimize Tab (non-sequential ui mode) > Automatic Optimization Group (optimize tab, non-sequential) > Merit Function Editor (optimize tab, non-sequential) > NSC Operands
I expect the following to work in fully non sequential mode:
! Detector color object reference
det = 4
TotalFlux = NSDE(1,det,0,0,0,0)
MaxIrradiance = NSDE(1,det,-1,0,1,0)
But actually, the following work for me, i.e. return the correct quantity:
TotalFlux = NSDE(1,det,0,0,1,0)
MaxIrradiance = NSDE(1,det,-1,0,2,0)
Therefore, if this is confirmed, the Data# reported in the table of the Help is wrong and should be incremented by 1.
Thank you