Rearanging expressions in ADE
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
Rearanging expressions in ADE

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





Posted: Wed Nov 09, 2005 5:10 pm    Post subject: Rearanging expressions in ADE Reply with quote

Hi,

has anybody found an easier way to rearrange the output expressions in
ADE than to go into the saved state and edit the "outputs" file?

For the curious:
I save the state with ADE, then cd into the proper .artist_states/
directory. I then edit the "outputs" file with vi. (or any other editor
which can move to complement parenthesis), I then move to the first line
saying
tmp1 = (let
and place the cursor on the ( and press % (shift-5 in vi) to jump to the
corresponding ) near the end of the file. Right above this ) there is a
line saying something like:
list(tmp1 tmp2 tmp3 tmp4 tmp5)
If I want that expression 3 and 5 should change place, I change to:
list(tmp1 tmp2 tmp5 tmp4 tmp3)
and save the file in vi. Then I load the state in ADE and make sure that
only "outputs" is checked and load the state. Voila, the signals have
changed place.

If you now save the state again, and edit again with vi, you will see
that ADE has moved the expressions physically in the output file so that
there is not going to be any problem with remembering which index is
which expression. tmp1 is expression 1, tmp2 is expression 2 etc.

Will also have influence on the sequence of the expession plots in AWD.

--
Svenn

Back to top
fogh
Guest





Posted: Wed Nov 09, 2005 5:10 pm    Post subject: Re: Rearanging expressions in ADE Reply with quote

Yes, I posted this last spring:

http://groups.google.com/group/comp.cad.cadence/browse_frm/thread/c3a6f690a2ac64e7/02cb2db48f6d3c02?lnk=st&q=ade+outputs+editor&rnum=1#02cb2db48f6d3c02

and a follow up to explain how to use it:
http://groups.google.com/group/comp.cad.cadence/tree/browse_frm/thread/c3a6f690a2ac64e7/c3fcf38f03b3e696?rnum=1&q=ade+outputs+editor&_done=%2Fgroup%2Fcomp.cad.cadence%2Fbrowse_frm%2Fthread%2Fc3a6f690a2ac64e7%2F02cb2db48f6d3c02%3Flnk%3Dst%26q%3Dade+outputs+editor%26rnum%3D1%26#doc_8eb41a886a667503


Actually I also found after that a way to use X11 to detect right-mouse-button
clicks in ADE, and I was about to put the 2 together, but there did not seem to
be much interest.


Svenn Are Bjerkem wrote:
Quote:
Hi,

has anybody found an easier way to rearrange the output expressions in
ADE than to go into the saved state and edit the "outputs" file?

For the curious:
I save the state with ADE, then cd into the proper .artist_states/
directory. I then edit the "outputs" file with vi. (or any other editor
which can move to complement parenthesis), I then move to the first line
saying
tmp1 = (let
and place the cursor on the ( and press % (shift-5 in vi) to jump to the
corresponding ) near the end of the file. Right above this ) there is a
line saying something like:
list(tmp1 tmp2 tmp3 tmp4 tmp5)
If I want that expression 3 and 5 should change place, I change to:
list(tmp1 tmp2 tmp5 tmp4 tmp3)
and save the file in vi. Then I load the state in ADE and make sure that
only "outputs" is checked and load the state. Voila, the signals have
changed place.

If you now save the state again, and edit again with vi, you will see
that ADE has moved the expressions physically in the output file so that
there is not going to be any problem with remembering which index is
which expression. tmp1 is expression 1, tmp2 is expression 2 etc.

Will also have influence on the sequence of the expession plots in AWD.
Back to top
Svenn Are Bjerkem
Guest





Posted: Wed Nov 09, 2005 9:10 pm    Post subject: Re: Rearanging expressions in ADE Reply with quote

In article <43722d27$0$6554$e4fe514c@dreader11.news.xs4all.nl>,
adff@CUTTHIS.xs4all.nl says...
Quote:
Actually I also found after that a way to use X11 to detect right-mouse-button
clicks in ADE, and I was about to put the 2 together, but there did not seem to
be much interest.

Well, I didn't use expression heavily at that time, Sorry :-)

Thanks for the pointer, I will integrate it into my environment and let
you know my milage.
--
Svenn

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