02-12-2025 06:58 AM
Hi everyone,
I can not get time in X axes. X axes maximum show always same number with 'samples to read'
I asked chat gpt and read old forums in ni communty. Based on that I have added an empty array to chart history node of waveform chart and added "build waveform". But this did not worked.
I just want to see time in x axes, which should run as normal seconds. I changed chart history to 30 because I just need to see what happened in last 30 seconds.
Also I am not sure about all the sample rate, sample to read, there is also sample per channel in timing vi, and number of samples per channel in read vi. I just need 2 sample in a second to see in write to measurement file later.
Solved! Go to Solution.
02-12-2025 07:22 AM
Hi Natig,
@Natig wrote:
I just want to see time in x axes, which should run as normal seconds. I changed chart history to 30 because I just need to see what happened in last 30 seconds.
You are using a chart, not a graph…
You can display waveforms in the chart and it will display time on X axis! It would help to get rid of ExpressVIs and DDT wires…
Do you want to see absolute timestamps or relative time intervals?
@Natig wrote:
Also I am not sure about all the sample rate, sample to read, there is also sample per channel in timing vi, and number of samples per channel in read vi. I just need 2 sample in a second to see in write to measurement file later.
Right now you set a sample rate of 500S/s and read 200 samples. This will need 200/500 s = 0.4s.
Additionally there is a 500ms wait inside the loop - which should be DELETED!
When you need just 2S/s then you should set a samplerate of 2 (instead of 500)…
02-13-2025 04:38 AM
Hello Sir and all labview folk,
I have removed Express vis and DDTs but still I see high numbers in X axes. I want to have time start from 0 and continue. I have unchecked autoscale as well.
02-13-2025 04:56 AM - edited 02-13-2025 04:57 AM
02-13-2025 06:00 AM
Hi, I think that is what you meant. But It does not start from 0 still.
02-13-2025 06:07 AM - edited 02-13-2025 06:08 AM
Hi Natig,
@Natig wrote:
Hi, I think that is what you meant.
No, this is not what I suggested…