LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fill color in the plot region of a digital graph

Hi all,

 

      I am using a digital graph and I want to differentiate 1 and 0 with colors. ie 1(HIGH ) region should be filled with one color and 0(LOW) should be filled with another color. Is it possible to do in that way or any other graph/chart that support my requirements ?

 

      I have attached a image picture of my requirement.

 

      Thanks in advance.

 

 

 

Regards,

 

Raja 

 

0 Kudos
Message 1 of 5
(2,928 Views)

Hi Rajaa,

 

I hope your well.

 

I have done an example in LV8.5.

 

But basically, i've used a digital data input, used a convert to boolean array and then changed the LEDs in the indictor array to square, and with an off colour of red.

 

Let me know what you think.

 

Regards,

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 5
(2,921 Views)

Hi Hillman,

 

Thank you for your reply. Could you post that in 8.2

 

 

 

Regards,

 

Raja 

0 Kudos
Message 3 of 5
(2,916 Views)

hi

 

sure thing!!

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 4 of 5
(2,912 Views)

Hello,

 

You may also be interested in this post if you wish to have the bits colored on the graph itself.  Though if you are not using LabVIEW 8.5 or above, some of the property nodes being used are not available.

Brian Coalson

Software Engineer
National Instruments
0 Kudos
Message 5 of 5
(2,874 Views)