LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Actual timestamp in waveform graph.vi

Solved!
Go to solution

HI All,

 

  Thank you all for your time. I'm writing another program that need to be a 2-D array and I wrote this part as an reference plus I'm very fresh programmer and labVIEW software so I'm still self learning my self. GredW I know you suggest this to me and I tried it but the problem it did not working with the 2-D array .

0 Kudos
Message 11 of 14
(2,030 Views)

Thank you so much.

0 Kudos
Message 12 of 14
(2,028 Views)

Hi Ziad,

 

but the problem it did not working with the 2-D array .

You create a single waveform from a 1D array of samples.

With a 2D array of samples you create an array of waveforms…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 14
(2,020 Views)

Let me please try and back up GerdW's point that a Waveform data type graph and chart are the right tool for the job. I often think the Waveform Data type graph/chart must be one of the oldest unappreciated feature that LV can offer. It has been around since LV 6.1 at least and provided it is used properly, it is the easiest way to display data where the samples are not periodic nor have a common sample rate for multiple plots. It also brings with an extra feature in that the Waveform Attribute "NI_Channel_Name" (check the help for WF data, I may have the syntax wrong) will automatically adapt the displayed channel name in the chart legend.

 

So please take some time to learn how to wield the WF data type. It will make you a more powerful developer.

 

Ben 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 14 of 14
(2,012 Views)