- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On page 63 in Component Author Guide" is a (short) explanation in how to refer to a component's parameters.
It folloows the syntax of
`<@ParameterName>` (do not care for the colour, its a forum sw bug)
which will be expanded to the parameter's value at the time the c-code gets generated.
Just to satisfy my curiosity: What kind of component are you building?
Happy coding
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On page 63 in Component Author Guide" is a (short) explanation in how to refer to a component's parameters.
It folloows the syntax of
`<@ParameterName>` (do not care for the colour, its a forum sw bug)
which will be expanded to the parameter's value at the time the c-code gets generated.
Just to satisfy my curiosity: What kind of component are you building?
Happy coding
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you enter the parameters in the Component symbol file, you can get that in your header file as a macro.
#define `$INSTANCE_NAME`_ParameterName `$ParameterName`
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, forget the "<" and ">" in my last post. I mis-read something.
To use "@" or "$" are equivalent.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content