Export powerchart

Hi,

i have export powerchart to csv. but i generate both same timestamp for each data. but the value is different. what does it mean?

Thanks

Ezt.

Is your data query asking for min/max values?

1 Like

Also, your time steps are odd, probably because you have a fixed return size and the start and end timestamps are further apart than that many hours. Failing to normalize the endpoints makes for weird and unreliable interpolations.

1 Like

I believe the powerchart is all built in things. I didn't use my own custom query to export it to csv. So I don't think it's asking for min max

You can check this by hitting the :gear: button, Pens tab, ✎, Aggregation Mode (at the bottom of the dialog).

1 Like

Hi @Transistor ,

Aggregation Mode is set to Default.

I checked, Aggregation Mode in Default is set to min/max. But it will better if can export only 1 row for each data.

Your options, according to Perspective - Power Chart | Ignition User Manual, are,

  • aggregateMode: Mode to use to group the data. Options are: default (MinMax), Average, MinMax, LastValue, SimpleAverage, Sum, Minimum, Maximum, DurationOn, DurationOff, CountOn, CountOff, Count, Range, Variance, StdDev, PctGood, or PctBad. Value is string.

Try one of the modes I've highlighted. Each of those should return a single value.