LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

chart visualization

i want to display machine data in the form of a bar chart or any other visualization technique. 

lets say a data labeled "A" is being stored from machine. My front end user wants to visualize the trend of "A" within a selected interval of date. the date range can be one day, few days, whole month or even years. 

what is the best way to create an adaptable visualization depending on monthly yearly weekly or daily data bar chart?

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

Hi Sibangi,

 

LabVIEW graphs also support "bar plots" when you configure the plot properties.


@SibangiB wrote:

what is the best way to create an adaptable visualization depending on monthly yearly weekly or daily data bar chart?


So all you need to do is to collect/filter the data you want to visualize and the plot them on a graph…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,650 Views)

if i consider my x-axis to be the time line, and want to visualize my data points over a year, i cannot represent 365 datas on x-axis. in this particular case my application should automatically create a monthly data visualization with 12 data points on my axis. 

 

this flexibility i want to achieve

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

Hi Sibangi,

 


@SibangiB wrote:

if i consider my x-axis to be the time line, and want to visualize my data points over a year, i cannot represent 365 datas on x-axis. in this particular case my application should automatically create a monthly data visualization with 12 data points on my axis.


So you need a simple case structure:

IF ArraySize(plotdata) > limit THEN
  Decimate plotdata as needed
ENDIF

Is there any specific problem with your code?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(2,642 Views)

this idea might be helpful!

i will try to create the code and get back if it works.

 

thank you in advance!!

0 Kudos
Message 5 of 5
(2,640 Views)