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

drPutWaveformXVec

drPutWaveformXVec(
o_wave 
o_vec
)
=> t / nil

Description

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

Arguments

o_wave

Waveform data object.

o_vec

The new X 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))
drPutWaveformXVec( wave vec )

Return to top
 ⠀
X