Hello,
I am using the GenericVisualizer as a simple logging display. Is it possible to change the font size for this? I would like it to be larger.
Thanks
AJ
GenericVisualization font size
-
kereszte
- Posts: 4
- Joined: 04 Sep 2010, 21:04
Thanks for the reply.
The line that you mentioned has this:
mChannelNameCache.resize( i + 1 );
which I do not believe affects the font size.
Are you talking about AxisFont()? I changed this but it doesn't change the size of the text output in my GenericVisualizer screen. (It seems to change the font sizes of various signal displays.)
Thanks
AJ
The line that you mentioned has this:
mChannelNameCache.resize( i + 1 );
which I do not believe affects the font size.
Are you talking about AxisFont()? I changed this but it doesn't change the size of the text output in my GenericVisualizer screen. (It seems to change the font sizes of various signal displays.)
Thanks
AJ
-
kereszte
- Posts: 4
- Joined: 04 Sep 2010, 21:04
I am sorry, I spelled the class name wrong. The class name is GenericVisualization and it's referred to in the "Implementing a Signal Processing Filter" tutorial under the section labeled "Visualizing filter output". The class can display wave forms as well as text. I am using it for text and would like to control the font size.
Thanks
AJ
Thanks
AJ
-
kereszte
- Posts: 4
- Joined: 04 Sep 2010, 21:04
it worked
Thanks a lot for your help. it worked.
I have another issue with placing the visualization window.
I am working on a filter that uses the GenericVisualization screen. I have a few configuration options to allow the user to set the window location as well as height/width. In the initialize function, I configure the window like this:
if (taskLogVis != NULL)
{
delete taskLogVis;
}
taskLogVis = new GenericVisualization("mylog");
(*taskLogVis) << GetTimeStamp() << " - " << "Faulty Probe Filter Starting" << std::endl;
taskLogVis->Send(CfgID::Top, logWindowY);
taskLogVis->Send(CfgID::Left, logWindowX);
taskLogVis->Send(CfgID::Width, logWindowWidth);
taskLogVis->Send(CfgID::Height, logWindowHeight);
Note:
-taskLogVis is the GenericVisualization.
-The logWindow* variables are user configurable parameters.
This sets the window location the 1st time it gets called (i.e. the 1st time that the user presses 'set config'), however it will not change the window location any time after that (if the user changes the config and then presses 'set config' again).
Am I doing this incorrectly?
Thanks
AJ
I have another issue with placing the visualization window.
I am working on a filter that uses the GenericVisualization screen. I have a few configuration options to allow the user to set the window location as well as height/width. In the initialize function, I configure the window like this:
if (taskLogVis != NULL)
{
delete taskLogVis;
}
taskLogVis = new GenericVisualization("mylog");
(*taskLogVis) << GetTimeStamp() << " - " << "Faulty Probe Filter Starting" << std::endl;
taskLogVis->Send(CfgID::Top, logWindowY);
taskLogVis->Send(CfgID::Left, logWindowX);
taskLogVis->Send(CfgID::Width, logWindowWidth);
taskLogVis->Send(CfgID::Height, logWindowHeight);
Note:
-taskLogVis is the GenericVisualization.
-The logWindow* variables are user configurable parameters.
This sets the window location the 1st time it gets called (i.e. the 1st time that the user presses 'set config'), however it will not change the window location any time after that (if the user changes the config and then presses 'set config' again).
Am I doing this incorrectly?
Thanks
AJ
Who is online
Users browsing this forum: No registered users and 0 guests
