Vertical Time Charts


BeeHay

Recommended Posts

Hello again AzeoTech!

I am attempting to create a vertical chart that increments over time instead of a value...

I have created a V.channel labeled SystemTime with Systime() in the expression box...

I have also made a chart, with the Y expression equal to V.SystemTime, the X expression is a variable that increments every second in a while(1) loop with a delay(1) mixed in...

The charts left axis 1 is scaled from V.SystemTime - 240, to V.SystemTime.

The bottom axis is scaled from -10 to a slider on the screen labeled ChangeX.

The chart is moving vertically over time, but the display, I believe, is in the DF time (seconds since 1970)

ie 1300449050...

I have tried using FormatDateTime() in the V.Channels expression box, but it just displays 0 through 11 on the chart...

Also, my X value is displaying, but is just a bar across the top of the chart...I can see the line "change", but doesn't "flow" down the chart...

I have ensured my value is incrementing every second, with a history of 1000...

Can I scale the time on the left axis to a readable time?

Also, any help with my display trace would be great...

Thanks!!!

Link to comment
Share on other sites

You can't format in time in the Y axis. My recommendation is turn off the axis labels and use some variable value controls to do the labelling yourself. Other people in your industry (and others I'm sure) have successfully done this and may have some input as well.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.