ScrSetSourceMagnitude

Sets the current or voltage magnitude of a specified source.

UI Command:   None.
Syntax:   obj.ScrSetSourceMagnitude(<refDes>, <magnitude>)
Parameters:  

BSTR refDes

BSTR magnitude (including unit)

Return Value:  

BOOL

  • 0 – Failure
  • 1 – Success
VB Example:  

outcome = obj.ScrSetSourceMagnitude ("I_1", "2.5A")

IPY Example:  

oDoc.ScrSetSourceMagnitude('I_1', '2.5A')