Home › Forums › Products › Vsig and Preset Development › Supermodules – substitution strings
- This topic is empty.
-
AuthorPosts
-
-
June 27, 2011 at 1:21 pm #107970razoMember
Could you explain / make an example how to write a Supermodule (eg. a Filter) so that multiple instances of it get different names for heir parameter (eg. "Frequency1", "Frequency2", etc..)?
thanks
-
June 27, 2011 at 3:43 pm #122351
If you set up substitution strings for a supermodule, the substitutions will occur when the document is saved as a sigfile (or sent to the H8000, which is essentially the same thing). For this reason you should save designs using this feature as a .sif, even though this format is essentially obsolete.
The purpose of the substitutions is to allow multiple instances of a single supermodule to have different text, without requiring that you go in and manually edit each one.
As an example, if you use the default substitution target of "^1" set to be replaced by "high", and enter a statement of "^1 band: 10", this will become "high band 10" when the sigfile is saved.
To see this result, you will have to send it to an H8000, or save the design as a new sigfile and reload it.
-
June 27, 2011 at 5:21 pm #122356razoMember
Thanks
-
June 27, 2011 at 11:26 pm #133559razoMember
How can I ensure that the inputs do not become 'twisted' after making the Supermodule, e.g. Left input becomes below Right in a stereo input/output SM?
How to give names to inputs/outputs of the Supermodule?
-
June 28, 2011 at 3:07 pm #133560
razo:
How can I ensure that the inputs do not become 'twisted' after making the Supermodule, e.g. Left input becomes below Right in a stereo input/output SM?
The solution is eternal vigilance.
razo:
How to give names to inputs/outputs of the Supermodule?
You can't really. They retain the names of their underlying connections. You could try using a NODE module (C-C or A-A) to "decouple" them.
-
June 28, 2011 at 6:19 pm #133561razoMember
nickrose:
The solution is eternal vigilance.
There is no logic to it? *sigh*
-
-
AuthorPosts
- You must be logged in to reply to this topic.