04-27-2007 10:20 AM
04-27-2007 11:44 AM
What kid of data are you sending to the waveform graph? If it is e.g. waveform data, the x-scaling is known and you don't need to do anything unless it is wrong for some reason.
If you are just graphing a plain array, there is no x-information and you need to set the scaling between the x-values and the array indices. This is done via the offset and multiplier property. Offset determines the x-value for the first element and multiplier defines the x-increment between adjacent array elements.
The properties for x-max and x-min just define what part of the data is plotted in the visible region of the graph.
04-28-2007 06:51 AM
04-28-2007 12:05 PM - edited 04-28-2007 12:05 PM
@James P martin wrote:
...but I am not able to get the spacing between the major X axis of 1 minute , which comes out to be of 50 sec. always, I also tried the X increment property also and gave it a value of 60 , but it didnt worked.
OK, you completely lost me there. Can you attach an image or some code? If you say "major x-axis", what do you mean? Is ther also a minor axis????
Are you possible talking about the axis markers? Here you would turn off uniform marker spacing and set the markers to anywhere you want using a property node "Xscale.markervals[]". See image for a simple example.
Message Edited by altenbach on 04-28-2007 10:06 AM
05-01-2007 09:15 AM
Hello....Thanks for your response
I am attaching the VI , I am using DAQ PCI 6221 , just simulate the card from MAX and run the VI, you will see the spacing I am getting between X axis.
Thanks
james
05-03-2007 06:59 AM
05-03-2007 01:15 PM
05-05-2007 11:08 AM
Hello Altenbach
Actually I am acquiring several analog inputs and alongwith that I have to check several DIs and update Digital outputs, and analog outputs. So I have different states for these and I am continuously scanning to these states.
In my chart I want to show a continuous display of the analog inputs which I am acquiring, and the same runs for many hours.
Replace the Analog inputs with the random no. generators and please run the VI, and please suggest some advice so that I can do in a better way.
Thanks & Regards
James