Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

drPutWaveformYVec

drPutWaveformYVec( 
o_wave
o_vec 
)
=> t / nil

Description

Puts the data vector o_vec into the waveform data object o_wave. o_vec is the Y vector of the waveform data object. If the o_wave already contains a X vector, the length of o_vec must be the same as that of the X vector.

Arguments

o_wave

Waveform data object.

o_vec

The new Y data vector.

Value Returned

t

Returns t if data vector is added successfully.

nil

Returns nil if there is an error.

Examples

wave = drCreateEmptyWaveform()
vec = drCreateVec( 'double '(1 2 3 4 5))
drPutWaveformYVec( wave vec )

Return to top
 ⠀
X