LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When did Draw Arc .vi Change Format?

In LabView 6.1, Draw Arc .vi had different wiring than in LabView 2010.  I ran into a problem with a VI that I was using as a small subVi that is part of a much bigger Vi and now won't work because the Draw Arc.vi has incorrect wiring.  The only difference I can see is that what is now a connection for "PEN" (cluster wire) was a connection for "black in B/W" (boolean wire).  Basically I had a green circle that slowly turned to black as seconds ticked down.  I have tried using the "PEN" control, entering "0" as pen color and line as "solid" but still does not work as before.  Any help would be much appreciated.  Thank You, Scott

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

Hi swins,

 

I think the VI changed at least as far back as Labview 8.6. I entered the pen color as 1, and it worked fine. Here's a snippet to help...

 

Draw arc snippet

Cheers!

TJ G
0 Kudos
Message 2 of 4
(2,773 Views)

Thanks TJG !  I did try that before and it really didn't make a difference, I think. I am running this SubVI in the background so I guess it really doesn't have to work perfect, as long as it counts down, it is not a visual thing in this particular VI.  But when I did run it as a standalone VI it doesn't change color.  I have a solid green circle and when I start VI, the green slowly ticked away to black and then I had it turn red in final 10 seconds.  This SubVI was working perfect in LabView 6.1, but when I upgraded to LabView 2010, it became broken due to the Draw Arc.vi changing. 

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

swins,

 

hmm, sounds to me like it might not be the draw arc control. Are you sure that's the only one that could have broken in the upgrade? I dropped a simple little visual counter (just tied the arc size to the index of a for loop) into a sub vi as a test, and everything is working just fine for me. I'm interested to find out what's going on with your control that I can't replicate the issue. Maybe it's something specific with the color changing? 

Cheers!

TJ G
0 Kudos
Message 4 of 4
(2,712 Views)