ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving to .csv file

Okay I understand, but i have problems with read this .csv file and show it on my graph. How i am supposed to do this?

0 Kudos
Message 11 of 14
(667 Views)

Hi Matipa,

 


@Matipa wrote:

Okay I understand, but i have problems with read this .csv file and show it on my graph. How i am supposed to do this?


You can use ScanFromString with the very same format string to convert the time/date string into a timestamp…

Basically you reverse the string formatting to get back your original data (more or less).

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 14
(653 Views)

Did you use a comma or a tab to deliminate your values?  Looking at your result, I don't think you put in any deliminator between your values.  Please repost your code so we can see what you currently have.  For instance, I didn't see where your first value is coming from in your previous code.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 13 of 14
(651 Views)

Here i upload the latest version of my program. 

I know that in the very first code i didn't have first value, now should be okay.

0 Kudos
Message 14 of 14
(643 Views)