LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ProgressBar Problems

hi all,

 

just used the progressbar.fp the first time inside a project. two things dont like me:

 

->in marquee-mode the moving part of the bar is flickering and is not visualized in an optical good manner

->I'm not able to set the marquee-speed (tried it AFTER converting the slide to a progressbar and BEFORE starting it). if I set the speed over calling Progressbar_SetAttribute() the progressbar doenst run anymore. I also tested it inside the progressdemo-example - the same result.

 

any idea ?

 

(CVI2010 in XP)

 

best regards

 

Simon

0 Kudos
Message 1 of 4
(2,795 Views)

Hi Simon,

 

can you attach your example? What do you mean by "marquee-mode"?

 

Best regards

Suse

______________________________
Certified LabVIEW Developer (CLD)
0 Kudos
Message 2 of 4
(2,764 Views)

Simon,

 

How are you setting the speed of the marquee? Note that SetAttribute function uses a variadic parameter, so if you're passing it a numeric constant, you must be careful to use a double, otherwise the compiler will mangle it.

 

I tested the following and it seems to work:

 

ProgressBar_SetAttribute (panelHandle, PANEL_PROGRESS, ATTR_PROGRESSBAR_MARQUEE_SPEED, 80.0);

 

Luis

0 Kudos
Message 3 of 4
(2,757 Views)

hi luis,

 

you are right - that was it.

 

thanks and best regards

 

Simon

0 Kudos
Message 4 of 4
(2,690 Views)