LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bundle by name and build waveform

See attached vi for reference.  Basically I am monitoring a DI and timestamping each point.  All of that is working.  I can't figure out how to bundle the two data types(sting-time and number-DI data) and display this as a waveform/graph.  Any help would be appreciated.  Thanks in advance.

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

When you tell as waveform graph you will have time in x axis and data in y axis.

if you want to display a single plot,wire1D array of data to graph.if you wire 2D array,it is multiplot.

If u want to format time in xaxis means use bundle waveform function wherein you have to give

x0[Starting time], dt and Y array. Before doing this you have to convert string to timestamp.

In front panel, change the display format to absolute time and also make sure you disable Ignore timestamp in waveform graph

to display your time.

I could not able to open your vi since i have labview 2010. 

Aarthi
0 Kudos
Message 2 of 4
(3,745 Views)

Hi jootbox,

 

don't know why you expect a numeric indicator (like your graph) to display string data...

Simply use the timestamp itself (without converting to string) - and using an XY graph eases the creation of a plot when non-uniform sampling is possible...

Best regards,
GerdW


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

Thanks to both of you for replies.

 

I used your modified vi Gerd and it does exactly as I wanted.  Thanks very much for taking the time to help.

0 Kudos
Message 4 of 4
(3,713 Views)