OutputReady
- Updated2026-03-24
- 1 minute(s) read
Specifies whether simulation data is ready.
Syntax
Property OutputReady ( _
ByVal outputName As String) _
As Boolean
Remarks
A read-only property which returns True if a given output, specified by the parameter outputName, is ready for collection. Use EnumOutputs to obtain a list of available test points.
outputName is not case sensitive. If outputName has not first been set as a requested output node by SetOutputRequest, an error occurs.
Once output data is available, use GetOutputData to retrieve it.
Example
' Start the simulation
Call Circuit.RunSimulation(2, False)
' Simulate until the first set out output data is ready
' Set a timeout of 5 seconds
Dim timedOut As Boolean
Circuit.WaitForNextOutput(timedOut, 5000)
' Make sure the output is ready
If (Not timedOut) Then
Do While (Not Circuit.OutputReady(outputs(0)))
Loop
' Retrieve the outputs
Dim dataArray As Variant
Call Circuit.GetOutputData(outputs(0), dataArray,
SimulationInterpolationRaw)
EndIf
See Also