LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Chart X axis jumping when started

I place a Waveform Chart, then set the start to 0 and the finish to 5. I then set the X scale formatting to decimal and floating point. I want the chart to start at 0 and count up but it immedialty jumps to 3160503804 and starts counting up. I think this number has something to do with the time stamp. How do I fix this?
0 Kudos
Message 1 of 4
(3,042 Views)
It sounds like your data source is a dynamic data type which includes time stamp information in addition to the data itself.

To display the data by itself without the time stamp (updating the X axis), you should extract the Y data from the waveform data type and then pass it to the chart. You can extract the Y data using the Get Waveform Components function on the diagram. (see the attached example)

Christian L
NI Consulting Services
authored by
Christian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX


  
0 Kudos
Message 2 of 4
(3,041 Views)

Hi,,

 

I seem to have the same problem. I'm measuring voltage against time with a BNC-2110 DAQ box and 6036i DAQ card. I tried getting the y component from the aquired signal but it's not possible for some reason. I want the X-axis to have t0 of zero and finish at 5. My sampling rate is 500 Hz. I tried converting the dynmaic data to a 1-D waveform and to a 1-D scalar quantities but it doesnt work as well.

 

Can anyone help me please?  

0 Kudos
Message 3 of 4
(2,866 Views)

Hi,

My name is Dominic L. from Applications Engineering at National Instruments. The reason why this isn't working well for you is most likely because you aren't selecting the correct resulting data type. I suggest you select single waveform rather than 1-D waveform in the convert data type. Below is an attached example using a simple sine wave.

I hope this helps.

Have a wonderful day!

Best Regards,

Dominic L.
0 Kudos
Message 4 of 4
(2,818 Views)