Hello.
Is this attribute part of the Keysight editor?
I would like to somehow get the “Step Name” into my c# program and store the string in a variable.
I usually write the attributes by myself with a description and some settings in my c# program.
The problem is that in my whole c# solution I can’t find this attribute and also I didn’t write the description so I don’t know where it is.
@rolf_madsen, I noticed that although my test step shows the parameter with units, e.g. step name contains “({voltage})” suffix and displays as “(36 V)” in PathWave, when calling GetFormattedName() from a TestStep I only get “(36)”, which is missing “V”. My use case: I want to use the formatted step name as part of the filename of an artifact that is generated from steps in a sweep, but the “V” is not included.
If this is a bug and you do not want to change the existing behavior, I guess you could add an optional parameter to GetFormattedName to enable inclusion of units.
Rolf, I apologize as I am not able to reproduce now, but I think I had confused a few log results on steps that did not specify Units with ones that did and they were named the same. My bad.
FWIW, thank you for being responsive to these technical forums.