ClearInputData
- Updated2026-03-24
- 1 minute(s) read
Clears, or cancels the input specified by inputName.
Syntax
Sub ClearInputData ( _
ByVal inputName As String)
Parameters
inputName—The name of a source component in Multisim.
Remarks
If inputName is a blank string, the data for all inputs is cancelled. It also clears any inputs that have been requested using ReserveInput, even if they have no data associated with them.
Clearing an input during simulation (running or paused) does not restore its normal Multisim data values. In order to do this, the simulation must be stopped and restarted.
Attempting to clear an input that has not been set, using ReserveInput, SetInputDataRaw or SetInputDataSampled, results in an error.
Example
' Clear specific input
Circuit.ClearInput "V1"
' Clear all inputs
Circuit.ClearInput ""
See Also