LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in xy-graph

Solved!
Go to solution

Hi,

I like to plot a graph for the following scenario:

when there is 00000, it will replace with the previous value and plot with different color (red dot) & auto scale the y scale when x-scroll the window frame.

Attach with my vi.

 

Thanks and regards,

Simon

0 Kudos
Message 1 of 10
(3,530 Views)

Can you give the file with version 8.5?

 

BEN

0 Kudos
Message 2 of 10
(3,523 Views)
Message 3 of 10
(3,497 Views)

Thanks kate.

I'm out of office..

0 Kudos
Message 4 of 10
(3,484 Views)
Solution
Accepted by topic author simon76

Hi !!

I've attached the solution for your problem.

It did'nt work because when you are scanning form string the dot you use in your seconds makes an error (i'm sure you had noticed that 🙂 ).

Furthermore, you cannot create 2 plots in the way you tried, you need a cluster of arrays (X &Y) NOT 2 arrays of clusters, that is the reason beacuse you couldn't connect the wire to the XY graph.

 

If you need anything else don't hesistate to comment here :).

 

Greetings from Spain

🙂 Don't forget Kudos 🙂

 

24272iAB6B982E1B4FF8B9

Message 5 of 10
(3,458 Views)

Hi Jordi,

Thanks for your help here.

It's no needed for dot replacement else it will really no working...Smiley Wink

 

Kudos for your explaination here....

 

thanks.

0 Kudos
Message 6 of 10
(3,423 Views)

This all seems a bit too complicated. Here's a simpler way to do all this:

 

 

Let me know if you have questions.

Download All
Message 7 of 10
(3,421 Views)

Nice Solution ..Altenbach

0 Kudos
Message 8 of 10
(3,413 Views)

Great one ...

btw, the time x-scale only display the first & last of the time stamp, is it possible  to have time stamp in between??

 

0 Kudos
Message 9 of 10
(3,402 Views)

 


@simon76 wrote:

Great one ...

btw, the time x-scale only display the first & last of the time stamp, is it possible  to have time stamp in between??


Right-click the x-axis and change to a different axis style

.

 

0 Kudos
Message 10 of 10
(3,387 Views)