LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I show max and min limits in a chart?

I'm using a "Get Date/Time in Seconds" to get the correct time on my x-scale, therefore I cant't use a cluster to get the max and min limits in the chart. Double (That's max and min) and Time stamp doesn't mach in the Bundle.

Can anyone help me?
0 Kudos
Message 1 of 7
(3,308 Views)


@Zee wrote:
I'm using a "Get Date/Time in Seconds" to get the correct time on my x-scale, therefore I cant't use a cluster to get the max and min limits in the chart. Double (That's max and min) and Time stamp doesn't mach in the Bundle.

Can anyone help me?




Could you possibly post a piece of the code refering to this problem and maybe even label the section of interest?
I'm afraid, I don't really follow what you're talking about.

Thanks,
ElSmitho
0 Kudos
Message 2 of 7
(3,296 Views)
I'm not sure I follow you either, but you can convert timestamp to DBL by wiring the timestamp into a To DBL VI.

___________________
Try to take over the world!
0 Kudos
Message 3 of 7
(3,294 Views)
This is just a part of my program, but you'll hopefully see what I mean.
0 Kudos
Message 4 of 7
(3,285 Views)
I never worked with the waveform format, so I hope this does the trick. My mods are marked in green. If it doesn't do what I think it does, try looking at the examples for waveform.

To change to time, you need to go into the X scale Format & Precision properties and change the format to Absolute time.

___________________
Try to take over the world!
0 Kudos
Message 5 of 7
(3,270 Views)
You need to plot the upper and lower limits as 2 additionnal waveforms. See the attached vi that present a way of generating waveforms from arrays.

CC
Chilly Charly    (aka CC)
Message 6 of 7
(3,254 Views)
Tanks for both answers, I used tst's solution and that worked perfect!
0 Kudos
Message 7 of 7
(3,215 Views)