LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get x-axis values from Waveform Chart?

I am making some algorithms for time-relay. All I want is to get exact values from x-axis (time) when the relay switches on.

0 Kudos
Message 1 of 4
(1,125 Views)

Hi Shamie,

 


@Shamie wrote:

All I want is to get exact values from x-axis (time) when the relay switches on.


And how is this connected to a "Waveform Chart" as indicated in the thread topic?

 

Hint: Using waveforms (a special LabVIEW datatype) will help to determine timestamps or time intervals…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(1,122 Views)

I am using simple NI-CRIO Analog Input (without using DQmx or FPGA) to show curve on Waveform Chart.

I want some specific values on x-axis against the highest values from the coaxial relay on y-axis.

0 Kudos
Message 3 of 4
(1,101 Views)

A chart has a fixed history size and older data will get discarded. You should not care about cosmetic displays and rely on indicators for data storage. You can easily accumulate your data in appropriate structures on the diagram and calculate the index position of any value based on your timing information.

 

Can you show us some simplified code so we get a better idea what's this all about? Thanks!

0 Kudos
Message 4 of 4
(1,091 Views)