You copied the Doc URL to your clipboard.

GUIPoll component

This section describes the GUIPoll component.

GUIPoll - about

This component provides a periodic signal for driving a GUI refresh in a visualization component

ARM® intends it for use as a subcomponent inside of a LISA-based visualization component.

You can configure the period at which the GUIPoll component runs in milliseconds of real time, not simulation time. The component produces a gui_callback() signal at approximately this period, even when the simulation is paused.

You must implement the slave side of the gui_callback() signal in a LISA-based visualization component. Use this event to invoke the Visualisation::poll() method to keep the GUI updated.

This is a LISA+ component.

GUIPoll - ports

This section describes the ports.

Table 4-216 GUIPoll ports

Name Protocol Type Description
gui_callback GUIPollCallback Master Sends callback requests to the visualization component.

GUIPoll - parameters

This section describes the parameters.

Table 4-217 GUIPoll parameters

Name Type Allowed values Default value Description
delay_ms Integer - 20 Determines the period, in milliseconds of real time, between gui_callback() calls.

GUIPoll - verification and testing

This component passes tests as part of the PhoneSkin example platform, confirming that the system continues to refresh the GUI after the simulation stops.

Was this page helpful? Yes No