05-21-2013 11:20 PM
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.
05-21-2013 11:29 PM - edited 05-21-2013 11:30 PM
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
05-22-2013 12:14 AM - edited 05-22-2013 12:16 AM
@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)
05-22-2013 12:52 AM
Sir altenbach,
Looks like I am making some mistake. Can you modify my VI. That will be good learning for me.
05-22-2013 01:18 AM
Ranjeet_Singh wrote:Looks like I am making some mistake. Can you modify my VI. That will be good learning for me.
05-22-2013 09:52 AM
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 😕
05-22-2013 10:04 AM
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.
05-22-2013 12:47 PM
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.
05-22-2013 12:54 PM
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?
05-22-2013 12:59 PM - edited 05-22-2013 01:04 PM
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.