ATTR_PROGRESSBAR_UPDATE_MODE

LabWindows/CVI 2017 Help

Edition Date: May 2017

Part Number: 370051AG-01

»View Product Info

DOWNLOAD (Windows Only) tr>
LabWindows/CVI 2010 Help
LabWindows/CVI 2012 Help
LabWindows/CVI 2013 Help
LabWindows/CVI 2015 Help
LabWindows/CVI 2017 Help
LabWindows/CVI 2020 Help

Data Type: integer
Access:read/write
Functions:ProgressBar_GetAttribute
ProgressBar_SetAttribute
Description: The update mode of the progress bar.
Default Value: VAL_PROGRESSBAR_AUTO_MODE
Values:
VAL_PROGRESSBAR_MANUAL_MODE (1)In this mode, the progress bar changes its value only when you update it explictly using ProgressBar_SetPercentage or ProgressBar_AdvanceMilestone.
Use this mode when you can interrupt the task frequently to update the progress bar in small increments.
VAL_PROGRESSBAR_AUTO_MODE (2)In this mode, the progress bar advances automatically and asynchronously in accordance with the estimated total time for the task.
If you have milestones defined for the control, the progress bar stops when it reaches each milestone until you explicitly advance the control to that milestone.
Use this mode when you cannot interrupt the task frequently to update the progress bar and when you expect repeated sessions to have similar duration times.
If the progress bar is overlapped by another control in the panel, you must be able to process events regularly in the thread that owns the progress bar's panel.
VAL_PROGRESSBAR_MARQUEE_MODE (3)In this mode, the progress bar does not indicate how far along the task is. Instead, a shortened portion of the progress bar moves continuously across the control.
Use this mode when it is not possible to estimate how far along a task is and instead you want to indicate that a task is in progress. This functionality is equivalent to a wait cursor.
If the progress bar is overlapped by another control in the panel, you must be able to process events regularly in the thread that owns the progress bar's panel.
LabWindows/CVI
Compatibility:
LabWindows/CVI 2009 and later

WAS THIS ARTICLE HELPFUL?

Not Helpful