LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

two different x-axis time scales

Attached is my LabVIEW 2019 SP1 (64-bit) mixed graph application VI. In this VI, y1 is sampled at 1 Hz and y2 is sampled at 10 Hz. How do I insert another x-axis for y1 vs. "time_stamp"?

 

Is XY graph the answer for two different x-axis time scales?

0 Kudos
Message 1 of 6
(1,569 Views)

Not sure why your front panel opens with the upper right corner completely offscreen. Please fix that before attaching next time. Also please don't have objects scale to the front panel size. That's extremely annoying during debugging.

 

I am not sure what you actually want, but your graph only has one pane, so why are you using a mixed signal graph instead if just a plain graph with multiple plots?

 

I would also recommend to continue with basic training, for example, your sequence structure serves (almost) no purpose. You first FOR loop does not need a shift register and built array. Autoindexing at the output tunnel gives you the same things much more efficiently. All your waveform gymnastics don't make a lot of sense.

 

It typically is more productive to tell us what you want to do and what the user should see instead of telling us how you want to do it. What do you want to see on the graph?

0 Kudos
Message 2 of 6
(1,525 Views)

Hi cha,

 

you create waveforms, so why don't you use a waveform graph?

 

(As Christian wrote: don't ask "how" yo want to solve your problem, but instead tell us "what" the problem is!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(1,501 Views)

One of the problems seems to be that they want a second x-axis. While it is easy to add a second x axis, it seem difficult to mix an axis with absolute time and an axis with ignored timestamp. (The "ignore timestamp" is a global option for the graph.) I have not studies it in detail, but could not get it to work right with some very quick casual attempts. I probably missed something.

 

Obviously, we need much more detailed information to understand exactly what the OP wants.

0 Kudos
Message 4 of 6
(1,495 Views)

Hello altenbach,

 

You are correct! How do I include "y1 vs. time_stamp" in either waveform or mixed graph ?

 

0 Kudos
Message 5 of 6
(1,491 Views)

Thanks, GerdW,

 

Is it possible to add another x-axis for "time_stamp" in your waveform graph ?

0 Kudos
Message 6 of 6
(1,489 Views)