LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Waveform Chart X scale

But if you are going to post a VI for a demo, you should at least make it a good demo.  Having someone constantly change the Xscale offset of a chart with the current time in a loop is just plain wrong and is going to really confuse an inexperienced LV programmer when they can't figure out why their VI isn't working correctly.

0 Kudos
Message 31 of 48
(1,195 Views)

I think it is working. And he was having doubt about X-axis, as per the PC time X axis time is changing.

I am sorry if it is confusing and I will try not to repeat it

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 32 of 48
(1,193 Views)

@Ranjeet_Singh wrote:

Please dont judge the VI which is posted only for demo. I just want to show him the settings for X axis.


But your settings for the X axis were completely wrong! It is a serious mistake to rewrite t0 with every iteration of the loop. I had to say something to make sure the OP does not try to use your suggestion.

 

(Edit: Just noticed Ravens comment above. He already expressed what I wanted to say)

0 Kudos
Message 33 of 48
(1,186 Views)

Sir 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 34 of 48
(1,173 Views)

Ranjeet_Singh wrote:


Check here.

0 Kudos
Message 35 of 48
(1,169 Views)

Hi guys.

Very thanks for your help.

I used your suggetions for x-axis. And the x-axis works very good, i found my true problem: the plot. I changed x-scale and the plot don´t change. The waveform chart printing the values in same interval, independent of x-axis.
I don´t understood why??? My head are sick because it 😕

Icaro Kossmann
LabVIEW 8.6 Newbie.
Brazil
0 Kudos
Message 36 of 48
(1,156 Views)

Kossmann wrote:

I used your suggetions for x-axis. And the x-axis works very good, i found my true problem: the plot. I changed x-scale and the plot don´t change. The waveform chart printing the values in same interval, independent of x-axis.


What do you mean by "same interval". Can you show us a picture. Then explain what you expect to see instead.

0 Kudos
Message 37 of 48
(1,149 Views)

So, i printed screen of two acquisitions. Both them were executed in 8 min. First image grafico10min, the x-scale has 10 min interval. Second image has 60 min interval. How you seen i changed the x-scale, but the graphics plot the points equally, indifferent of the scale in x.

Icaro Kossmann
LabVIEW 8.6 Newbie.
Brazil
Download All
0 Kudos
Message 38 of 48
(1,139 Views)

Did you change the xaxis.multiplier accordingly?

 

How did you "change" the x-scale? You need to give more details! Whenever you change the rate, you should probably clear the graph. Do you?

0 Kudos
Message 39 of 48
(1,132 Views)

Yes, i changed the scale.multiplier in both cases. But i cleared the chart in each acquisition.

 

But  same changes the x-scale and cleaning the chart. The points continues how there no alterations.

Icaro Kossmann
LabVIEW 8.6 Newbie.
Brazil
0 Kudos
Message 40 of 48
(1,126 Views)