Emta -
If you are looking for how often the control is updated, it can be
controlled using 'graph.immediate = false;' and 'graph.refresh;'.
If you are looking to control the actual speed of the drawing, the best
way to handle this would be through the 'animate' property (Note:
Animation applies to all Measurement Studio user interface Visual C++
controls except the numeric edit control and the 3D graph
control). In order to set the animation speed, you can do the
following:
- Left-click the control, go to View»Property Pages, and
click the Images tab.
- In the Images list box, select the portion of the control you want to
animate.
- Select a File or URL for the bitmap image you want to
animate on the control. Not all items in the Images section are available for
animation.
- Enter the number of Rows and Columns that
you want the control to divide the bitmap into. For example, enter
10
in Columns and 1
in
Rows to divide the bitmap into 10 columns that the control
cycles through at run time.
- If necessary, select Reverse to change the direction of the
animation.
- In Animate, select the speed at which you want to animate
the image.
Additionally, the Measurement Studio help page entitled
'Animating the Measurement Studio Visual C++ Controls' has a code
snippet available to help you get started with setting the property
programmatically.
I hope this helps in your development!
Andrew W. || Applications Engineer
National Instruments