LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time and date to 3d graph

Dear,

 

I'm trying to create a 3D graph from a excel sheet which contains date/dime, wavelenghts and spectral data. The graph is now created but i can't get the date/time into the graph. Converting the string to number isn't working because it can't format the number into date and time. The array size is now used where the date/time should be.

 

Does anyone has a solution for this?

 

Using Labview 2009 with SP1.

 

Thank you. Best regards,

 

Wilco

 

P.S. please change fp excel file path before running the program.

Download All
0 Kudos
Message 1 of 6
(2,666 Views)

Hi Wilco,

 

don't know where you want to put those timestamps into the graph, but finished the conversion for you...

 

Why do you call this an "Excel" file when it is a simple tsv-file with a wrong extension?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(2,657 Views)

Hi Wilco,

 

now plotting the timestamps as X axis values. I doubt you like this...

Best regards,
GerdW


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

Hello GerdW,

 

Thank for you effort and quick reply!

I did not know it was a .csv file. It came out of an other program as a .fp file but NI does not accept uploading a .fp file so i changed it to .xls.

Yes the timestamps please as X axis value. I see you are also struggeling.....Smiley Indifferent The timestamp to double value wasn't quite what i had in mint Smiley Wink

 

Regards,

 

Wilco

0 Kudos
Message 4 of 6
(2,641 Views)

Hi WIlco,

 

as said before: I doubt you like it Smiley Wink

 

I didn't find a way to set the format of the x axis (haven't worked so much with 3d graphs). Maybe Ben can take over this topic?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 6
(2,635 Views)

I only have tow changes to recomend

 

Sutract the first time stamp from all to just look at the time of the test...

 

Divide by 60 to plot in minutes.

 

Ben

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