Changing x-asis on a family of waves
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Changing x-asis on a family of waves

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
Svenn Are Bjerkem
Guest





Posted: Thu Nov 10, 2005 1:10 pm    Post subject: Changing x-asis on a family of waves Reply with quote

Hi,

I have successfully ben able to change the x-axis of a single simulation
result:

(setq to_be_x (clip VT("/sig1")))
(setq useful_signal (clip VT("/sig2")))

(setq new_x_axis (drGetWaveformYVec to_be_x))
(drPutWaveformXVec useful_signal new_x_axis)

(plot useful_signal)

sig1 and sig2 are two signals from the same simulation with the same x-
axis and same number of points. I am so to speak plotting sig2 vs sig1.

Now if I run a corner simulation and try the same, then icfb exits with
a segmentation fault.

My question is if I am misunderstanding the functionality of
drPutWaveformXVec when I try to use it on a family of waveforms or if it
is not currently supported to change the x-axsis of a family in one run
like this.

I guess that ripping the family apart, changing x-axis for each single
member and then putting together a new family before sending it off to
plot, would be a work-around (which I will try next)

--
Svenn

Back to top
Andrew Beckett
Guest





Posted: Fri Nov 11, 2005 1:10 pm    Post subject: Re: Changing x-asis on a family of waves Reply with quote

On Thu, 10 Nov 2005 13:31:02 +0100, Svenn Are Bjerkem <svenn.are@bjerkem.de>
wrote:

Quote:
Hi,

I have successfully ben able to change the x-axis of a single simulation
result:

(setq to_be_x (clip VT("/sig1")))
(setq useful_signal (clip VT("/sig2")))

(setq new_x_axis (drGetWaveformYVec to_be_x))
(drPutWaveformXVec useful_signal new_x_axis)

(plot useful_signal)

sig1 and sig2 are two signals from the same simulation with the same x-
axis and same number of points. I am so to speak plotting sig2 vs sig1.

Now if I run a corner simulation and try the same, then icfb exits with
a segmentation fault.

My question is if I am misunderstanding the functionality of
drPutWaveformXVec when I try to use it on a family of waveforms or if it
is not currently supported to change the x-axsis of a family in one run
like this.

I guess that ripping the family apart, changing x-axis for each single
member and then putting together a new family before sending it off to
plot, would be a work-around (which I will try next)

Hi Svenn,

You can probably use famMap to do this - to iterate over the members of
the family and then do the drPutWaveformXVec on each child waveform.

Regards,

Andrew.
Back to top
DarthJess
Guest





Posted: Mon Nov 14, 2005 9:10 pm    Post subject: Re: Changing x-asis on a family of waves Reply with quote

I believe there's a pcr on this issue: pcr 756405.

-Jess


Andrew Beckett wrote:
Quote:
On Thu, 10 Nov 2005 13:31:02 +0100, Svenn Are Bjerkem <svenn.are@bjerkem.de
wrote:

Hi,

I have successfully ben able to change the x-axis of a single simulation
result:

(setq to_be_x (clip VT("/sig1")))
(setq useful_signal (clip VT("/sig2")))

(setq new_x_axis (drGetWaveformYVec to_be_x))
(drPutWaveformXVec useful_signal new_x_axis)

(plot useful_signal)

sig1 and sig2 are two signals from the same simulation with the same x-
axis and same number of points. I am so to speak plotting sig2 vs sig1.

Now if I run a corner simulation and try the same, then icfb exits with
a segmentation fault.

My question is if I am misunderstanding the functionality of
drPutWaveformXVec when I try to use it on a family of waveforms or if it
is not currently supported to change the x-axsis of a family in one run
like this.

I guess that ripping the family apart, changing x-axis for each single
member and then putting together a new family before sending it off to
plot, would be a work-around (which I will try next)

Hi Svenn,

You can probably use famMap to do this - to iterate over the members of
the family and then do the drPutWaveformXVec on each child waveform.

Regards,

Andrew.


Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB